I'm running Nagios 2.9 and NRPE 2.8.1 on Ubuntu 7.10 Gutsy. On the box running NRPE, I have check_procs defined in /etc/nagios/nrpe.cfg as: command[check_procs]=i/usr/lib/nagios/plugins/check_procs -w 250 -c 400 and I'm running NRPE as a daemon via "/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d" as the user nagios.
When I run the check locally on the NRPE box it works just fine: [EMAIL PROTECTED]:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs PROCS OK: 78 processes [EMAIL PROTECTED]:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs -w 250 -c 400 PROCS OK: 78 processes On the Nagios box I have the service defined in /etc/nagios2/conf.d/box02_nagios2.cfg as: define service{ use generic-service host_name box02 service_description Total Processes check_command check_nrpe_1arg!check_procs } However, both the web interface and the command line show "Unable to read output": [EMAIL PROTECTED]:~# /usr/lib/nagios/plugins/check_nrpe -H box02.sub.dom.top -c check_procs NRPE: Unable to read output [EMAIL PROTECTED]:~# Most of the other NRPE checks defined for box02 work as expected. Any ideas? Jason Joines ================================= ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users@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