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:
[EMAIL PROTECTED]:/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
[email protected]
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