Windows Server CPU Monitoring

Started by Senri, June 30, 2016, 11:09:56 PM

Previous topic - Next topic

Senri

Hi,

Coming from PRTG which has this function built in as a "Threshold Trigger", is it possible to monitor CPU usage and alert/log when CPU usage is 80% for at least 30 seconds?

Right now I have DCC parameter System.CPU.Usage running every second, in the threshold I do an average of 30 polls and see if it's > 80%.

Am I on the right track? The param System.CPU.Usage description says average cpu in the last minute. What would happen if I set it to run every second?

Thanks.

Victor Kirhenshtein

Hi,

agent already calculates average for one minute, so you receive average value. If you collect it every second, you'll get it as sliding window, but still it will be average for last 60 seconds.  It is done that way because usually data collection do not happen every second to avoid excessive network traffic and load on the systems involved. Currently it is not possible to get 30 seconds average or momentary CPU usage values from agent.

Best regards,
Victor

Victor Kirhenshtein

P.S. Actually, for Windows servers you can use performance counters to get momentary CPU usage - select "Windows performance counter" as DCI source and configure appropriate counter.