failed to performance counters

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
linux4force
Posts: 3
Joined: Fri Jan 06, 2017 11:10 am

failed to performance counters

Post by linux4force »

/usr/local/nagios/libexec/check_nrpe -H 10.10.10.10 -c CheckCounter -a 'Counter=\PhysicalDisk(_Total)\% Idle Time' ShowAll MaxWarn=300 MaxCrit=400
Failed to poll counter: \PhysicalDisk(_Total)\% Idle Time Failed to poll counter \PhysicalDisk(_Total)\% Idle Time: 800007d8: A counter with a negative value was detected.

Agent version = I (0.4.4.23 2016-04-05)
Server = Windows Server 2003
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: failed to performance counters

Post by scottwilkerson »

According to our posted doc here
https://support.nagios.com/kb/article.php?id=779
the following should work

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H 10.10.10.10 -c check_pdh -a "counter=\PhysicalDisk(_Total)\% Idle Time" 'warn=value>300' 'crit=value>400' 'perf-config=*(suffix:none)'
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
linux4force
Posts: 3
Joined: Fri Jan 06, 2017 11:10 am

Re: failed to performance counters

Post by linux4force »

It's work!

Thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: failed to performance counters

Post by scottwilkerson »

linux4force wrote:It's work!

Thank you
glad your issue is resolved.

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked