View previous topic :: View next topic |
Author |
Message |
argis
Joined: 06 May 2019 Posts: 31
|
Posted: Thu Mar 05, 2020 1:11 pm Post subject: Another alert question |
|
|
I've been asked to set up an alert for when the CPU usage on a certain server is at 100% for 5 minutes.
I can't see how to do this without setting the warning threshold to 100%, but I don't want to do that as it messes with our normal reporting.
Is it possible to do this some other way? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12798 Location: USA
|
Posted: Thu Mar 05, 2020 4:27 pm Post subject: |
|
|
Depends on what exactly means "certain server".
Some systems support SNMP protocol and may provide average CPU usage over 5sec, 1min, 5minutes.
Regards
Alex |
|
Back to top |
|
|
argis
Joined: 06 May 2019 Posts: 31
|
Posted: Sun Mar 08, 2020 7:19 pm Post subject: |
|
|
It's a Windows 2019 server. Is it possible to do?
Otherwise I could script a solution, saving the results of the scheduled CPU test to a text file and processing that. It's a messy solution though. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12798 Location: USA
|
Posted: Mon Mar 09, 2020 9:55 am Post subject: |
|
|
Sorry, there is no such counter on Windows systems.
Quote: | I can't see how to do this without setting the warning threshold to 100%, but I don't want to do that as it messes with our normal reporting. |
I think you may setup 2 CPU tests
- one for reporting (using your "normal" threshold)
- another for this specific alert ("bad" threshold 99%, start "bad" action after 5th consecutive result (if test performed avery 60 sec))
Regards
Alex |
|
Back to top |
|
|
argis
Joined: 06 May 2019 Posts: 31
|
Posted: Mon Mar 09, 2020 1:18 pm Post subject: |
|
|
Well I guess that would be the easiest solution.
Thanks Alex. |
|
Back to top |
|
|
|