Page 1 of 1

failed to performance counters

Posted: Wed Aug 15, 2018 7:05 am
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

Re: failed to performance counters

Posted: Wed Aug 15, 2018 4:52 pm
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)'

Re: failed to performance counters

Posted: Fri Aug 17, 2018 7:31 am
by linux4force
It's work!

Thank you

Re: failed to performance counters

Posted: Fri Aug 17, 2018 7:48 am
by scottwilkerson
linux4force wrote:It's work!

Thank you
glad your issue is resolved.

Locking thread