eventhandle not being executed. bug?

Morris, Patrick patrick.morris at hp.com
Wed Jun 6 18:24:18 CEST 2007


> I'm trying to setup an eventhandler but it seems that it is 
> never being called/executed.  I have been over my configs 
> with a fine-tooth comb, and I just can't figure this out.  
> Here are my configs:

[snip]

> at this point, all I have in restart_test.sh is this (I 
> cannot get any output from this script into restart_test.log 
> which is leading me to believe that its not being called):
> 
> #!/bin/sh
> 
> echo "$1" "$2" "$3" "$4" >>./restart_test.log
> 
> exit 0

If the logs state it's being run, it probably is.  Is there a reason you
don't give an absolute path for the log? Maybe you're just not looking
in the right place for it, or it's trying to write it somewhere the
Nagios user doesn't have write permissions.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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