nrpe oddity

Ugo Bellavance ugob at lubik.ca
Fri Feb 29 21:01:05 CET 2008


Hi,

	I'm trying to use a nagios plugin to monitor sendmail instances.

When I run the plugin locally, using user nagios, I get the right result:

nagios at server1:/var/log> 
/usr/local/nagios/libexec/check_sendmail_instances --sender
[OK sender]

However, if I run it via nrpe, I get another result.

-sh-3.00$ /usr/lib/nagios/plugins/check_nrpe -c check_sendmail_out -H 
gandalf.selection-services.net
[CRIT sender not running]

The target host is a Suse system.  I don't see this problem on Centos 
systems.  I did a chown nagios:nagios on the check_sendmail

Here are the nrpe logs on the Suse system (debug enabled):

Feb 29 17:37:45 server1 nrpe[10971]: Running command: 
/usr/local/nagios/libexec/check_sendmail_instances --sender
Feb 29 17:37:45 server1 nrpe[10971]: Command completed with return code 
2 and output: [CRIT sender not running]
Feb 29 17:37:45 server1 nrpe[10971]: Return Code: 2, Output: [CRIT 
sender not running]

Any ideas of what could be doing that?

Thanks,

Ugo


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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