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