RES: RES: RES: Parameters not passed to eventhandler'sscript

Joerg Linge pitchfork at ederdrom.de
Wed Mar 5 19:46:16 CET 2008


Bráulio H. Soares schrieb:
> I'm using to tests purposes the script attached.
> It's only send a e-mail when a change status occurs, based on the parameters $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$.
> 
> I'm thinking by the following way:
> The conditions to the "cases" are not being matched.

Hi,
please use the complete path to your printf and mail binaray.
$PATH is not set when nagios execute commands

Joerg



-------------------------------------------------------------------------
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