Event Handlers

Chris Purcell nagios at cjp.us
Thu Jul 22 17:54:12 CEST 2004


>> Are you certain that you have full paths to mail/mailx and any other
>> required programs in your script?
>
> Yes, the script works fine from the command line.  Its a very simple
> script that is just being used to test how Nagios event handlers
> work....

I also tested this with a simple bash script that simply writes a short
message to a file in /home/nagios.  The handler never runs at all.

#!/bin/bash
echo "nagios event handler" > /home/nagios/nagiostest

Chris




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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