Page 1 of 1

CPU load is measured accurately?

Posted: Wed Jan 25, 2017 8:55 am
by cabryk
Hello,
I would like to ask how is obtained value of the CPU load.
I tried "challenging task" for the CPU and I received values ​​less than ten percent. CPU performance on the monitored machine was over 60 percent. The duration was over 10 minutes. This would exclude average of measuring values.
Thank you for answer

Re: CPU load is measured accurately?

Posted: Wed Jan 25, 2017 11:12 am
by rkennedy
What plugin are you using to check the CPU? It will really vary based on this.

Some aggregate an average between all CPU's, while some report on each core. We'll need a bit of information, as well as the data from your testing as this will help to visualize what you're noticing.

Re: CPU load is measured accurately?

Posted: Thu Jan 26, 2017 1:16 am
by cabryk
Plugin is

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.1.12 -p 12489  -v CPULOAD -l 5,80,90')
5 min average
Monitored machine have 4 logical processors

Re: CPU load is measured accurately?

Posted: Thu Jan 26, 2017 5:12 pm
by tgriep
The check_nt command is polling the NSClient++ agent that is install on your Windows server.
If you are using a older version of the NSCLient++ try upgrading it to at lease the latest stable 0.4.x version and see if that fixes the issue.
You can get the NSClient++ from www.nsclient.org