event handler command not executing

Stuart Browne stuart.browne at ausregistry.com.au
Tue Mar 9 04:37:38 CET 2010


> -----Original Message-----
> From: Marc Powell [mailto:marc at ena.com]
>
<snip>
> 
> Try adding a bit at the top of the script to touch a file or something
> to see if it really ran and is maybe failing further into the script
> (i.e. because of a potential sudo restriction).

exec > /tmp/$(/bin/basename $0).log 2>&1

One of my favourite pieces of bash trickery :P

Stuart

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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