CPU Usage showing as 21 digit number

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

CPU Usage showing as 21 digit number

Postby stevmorr » Fri Jun 08, 2018 10:14 am

Hi,

I have recently set up Nagios Core v4.3.4 which is great so far however I have noticed that the critical warnings for CPU usage are showing as weird numbers like 18446744072952762141% usage

I don't have an example screenshot as it is not happening right now however the alert history shows the below:

Code: Select all
[06-08-2018 15:29:49] SERVICE ALERT: SERVERNAME;CPU Load;CRITICAL;HARD;3;CPU Load 18446744072952762141% (5 min average)


in terms of the service defined it is just the default check_nt command

Code: Select all
check_command      check_nt!CPULOAD!-l 5,80,90


Has anyone else encountered this problem and if so, how to correct it?
thanks
stevmorr
 
Posts: 3
Joined: Fri Jun 08, 2018 9:36 am

Re: CPU Usage showing as 21 digit number

Postby mcapra » Fri Jun 08, 2018 10:27 am

Do you know which version of NSClient++ is installed on the remote machine(s)? That's often a very important piece of information when troubleshooting NSClient++ problems.

You might try resetting the Windows performance counters on the remote machine(s) as a first step.
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3291
Joined: Thu May 05, 2016 3:54 pm

Re: CPU Usage showing as 21 digit number

Postby stevmorr » Fri Jun 08, 2018 10:44 am

Hi,

thanks for the quick response. all my clients are running the latest version of NSClient++- NSCP-0.5.2.35-x64

v0.5.2.35

thanks
stevmorr
 
Posts: 3
Joined: Fri Jun 08, 2018 9:36 am

Re: CPU Usage showing as 21 digit number

Postby npolovenko » Fri Jun 08, 2018 1:52 pm

@stevmorr, You may need to rebuild system performance counters on your server.
https://support.microsoft.com/en-us/help/2554336/how-to-manually-rebuild-performance-counters-for-windows-server-2008-6
Otherwise, you can look for an alternative CPU plugin on the nagios exchange:
https://exchange.nagios.org/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
npolovenko
Support Tech
 
Posts: 1787
Joined: Mon May 15, 2017 5:00 pm

Re: CPU Usage showing as 21 digit number

Postby stevmorr » Mon Jun 11, 2018 3:47 am

Thanks for your suggestions. I will try a reset of the counters on the most recently affected server however I think this is more widespread and more likely to be a replacement for the CPU check.

thanks
stevmorr
 
Posts: 3
Joined: Fri Jun 08, 2018 9:36 am

Re: CPU Usage showing as 21 digit number

Postby mcapra » Mon Jun 11, 2018 6:45 am

That's certainly an option, but I'm pretty sure all of the common Windows-based CPU checks (psutil/NCPA as well I believe) leverage the exact same performance counters that NSClient++ is using in this case. I say that not to discourage you from doing your own investigation (because I could be wrong), but just as as heads-up if you get similar results with different plugins.
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3291
Joined: Thu May 05, 2016 3:54 pm

Re: CPU Usage showing as 21 digit number

Postby scottwilkerson » Mon Jun 11, 2018 3:29 pm

stevmorr wrote:Thanks for your suggestions. I will try a reset of the counters on the most recently affected server however I think this is more widespread and more likely to be a replacement for the CPU check.

thanks


Let us know if that doesn't resolve the problem
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9816
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 42 guests