Re: Nagios check to monitor individual process memory,cpu
Posted: Wed Apr 02, 2014 2:07 am
Modified the below line from 0 to 1 and it worked..
# COMMAND ALLOW NASTY META CHARS
; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow_nasty_meta_chars=1
/usr/local/nagios/libexec# ./check_nrpe -n -H hostname -p 5666 -t 60 -c CheckCounter -a "Counter:explorermemusage=\Process(explorer)\Private bytes" ShowAll
OK: explorermemusage: 9.19962e+006|'explorermemusage'=9199616
# COMMAND ALLOW NASTY META CHARS
; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow_nasty_meta_chars=1
/usr/local/nagios/libexec# ./check_nrpe -n -H hostname -p 5666 -t 60 -c CheckCounter -a "Counter:explorermemusage=\Process(explorer)\Private bytes" ShowAll
OK: explorermemusage: 9.19962e+006|'explorermemusage'=9199616