Using CheckCounter to get PerfMon metrics always zero
Posted: Tue Oct 14, 2014 7:12 am
I'm trying to get Nagios to monitor some perfmon counters, and am having a problem getting non-zero values out of it in some cases.
My first requirement was for IIS Current Connections, which was pretty straight forward and works as I hoped:
But the same thing for IIS Requests per second always returns zero:
I have tried with Averages=true and Averages=false.
NSClient++ is version 0.4.2.88 2014-03-16
My first requirement was for IIS Current Connections, which was pretty straight forward and works as I hoped:
Code: Select all
[root@localhost libexec]# ./check_nrpe -H servername -c CheckCounter -a "Counter:con=\\Web Service(_total)\\Current Connections" ShowAll
OK: \Web Service(_total)\Current Connections = 412|'con_value'=412;0;0
Code: Select all
[root@localhost libexec]# ./check_nrpe -H servername -c CheckCounter -a "Counter:con=\\Web Service(_total)\\Total Method Requests/sec" ShowAll
OK: \Web Service(_total)\Total Method Requests/sec = 0|'con_value'=0;0;0
NSClient++ is version 0.4.2.88 2014-03-16