I am trying to find a network/server monitoring tool that enables me to do the following:
Windows Server: When CPU goes over x% for more than x seconds, send a report/alert/notifications listing the top x processes at the time of the incident.
Out of the box PRTG does this most of what I want. Awesome.
The remaining requirements is:
In the report/alert:
1) List top processes (culprit) of that prolong high CPU usage. We are developing and testing software. We want to catch misbehaving processes during the deed.
It would be useful if the alert/report would say "CPU is over 80% for 5 minutes at x h:x m:x s, the following are the top processes at the time alert was triggered: .......".
2) List Windows Event Logs (Applications) inside the very same alert/report. Would be nice if we could specify a time period as well but not necessary.
Is this all possible?
Can someone please point me to the right direction. Based on a similar thread, I have set the CPU sensor to run an exe (ps1 script) in certain conditions. What I haven't been able to figure out is how to use the output of the script inside prtg (as text only is fine) to use for alerting/reporting.
Can I have some examples if you don't mind.