Unknown check_spamd.pl plugin status

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Dec 29 21:11:58 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28/12/07 06:59 PM, joseph blase wrote:
> Hi List,
> 
>  I have this simple plugin that check for spamd availability on my
> mailservers, but apparently the service status on webui is always
> unknown.Running it manually on CLI return success.
> nagios:/usr/lib/nagios/plugins# ./check_spamd.pl mailgw
> OK

1. Make sure running it as the nagios user works. This is often caused
by permission errors. Also explicitly export the PATH environment
variable for the commands you run without using the full path.

2. Make sure you don't use the ePN. You can do this by prepending
"/usr/bin/perl " to the command definition. Since it will call the Perl
binary instead of a Perl script the ePN will be skipped is active.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHdqoO6dZ+Kt5BchYRAlUaAKDjd49KweP1fnUK+ety8C+ojciawwCgh+UA
RBDVSQI6tG1fX3x+hLudfpM=
=xls+
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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