> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Miguel Angel > Sent: Friday, April 11, 2008 1:58 PM > To: Arno Lehmann > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Problem with Event Handler
> When I launch a backup from console for client "scliente", I use: > $ echo "run scliente yes" | bconsole We've said several times this won't work in your event handler script. Did you change it? > When I execute "tail -f /var/log/nagios/nagios.log" in console, show this: > [1207936526] HOST EVENT HANDLER: scliente;DOWN;SOFT;1;launch-bacula-jobs > [1207936526] HOST ALERT: scliente;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = > 2.41 ms Does your event handler get executed? Add debugging to echo text to a file to verify. Make sure you're getting the values you expect you're getting. Make sure you're capturing errors from your call to bconsole and logging those. > The route of Event handler is: "/usr/lib/nagios/plugins/eventhandlers" > $ ls -lt > -rwxr-xr-x 1 root root 568 abr 10 20:00 launch-bacula-jobs Does this match the command{} definition for the event handler? > Please help! We have been but you don't appear to be listening. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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