Page 1 of 1

Real time CPU Usage

Posted: Thu Sep 05, 2013 1:54 pm
by 00_kl250
All,

I'm wondering if it's possible to monitor CPU usage real time instead of a 5 minute average. In my windows.cfg folder I have the following configuration for cpu load:

define service{
use generic-service
hostgroup_name tt-servers,windows-servers
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90


It's set to warn at 80% and critical at 90% for 5 min average but I want real time so I can catch CPU spikes. Can anyone help?

Thanks!

Re: Real time CPU Usage

Posted: Thu Sep 05, 2013 2:14 pm
by sreinhardt
Likely the best way to do this would actually be snmptraps, as they would be generated via the remote system and indexed at all times. Even if you were to monitor every 1 minute or take the exact rate at 5 minute intervals you are likely to miss spikes. The only other option would be another passive check of some sort, however most, like nagios core, run on schedules and not realtime.