CPU load is measured accurately?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cabryk
Posts: 12
Joined: Fri Dec 30, 2016 8:45 am

CPU load is measured accurately?

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: CPU load is measured accurately?

Post 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.
Former Nagios Employee
cabryk
Posts: 12
Joined: Fri Dec 30, 2016 8:45 am

Re: CPU load is measured accurately?

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: CPU load is measured accurately?

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked