NSClient++ Counters
Steve Shipway
s.shipway at auckland.ac.nz
Wed Feb 22 21:40:23 CET 2006
Brian Huffman:
> I'm trying to setup counters with NSClient++ and I am having
> trouble with counters that have an instance. For example,
> Processor->%Processor Usage has either an instance of
> "_Total" or "0" for the machine that I'm using, but I can't
> get either of these to work. No matter what I use, this is
> the response that I get back:
>
> [root at xyz libexec]# ./check_nrpe -H a.b.c.d -p 5666 -c
> checkCounter -a "Counter:processor=\\Processor\\% Processor
> Time" ShowAll MaxWarn=80 MaxCrit=90 The specified instance of
> the performance object was not found.
You need to specify the instance:
"\\Processor\\% Processor Time(_Total)"
This works with pNSclient, which I believe uses the same syntax as
NSClient++. However, check the NSClient++ docs...
Steve
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list