event handler script not executing

Stuart Browne stuart.browne at ausregistry.com.au
Wed Mar 10 23:53:10 CET 2010


> -----Original Message-----
> From: Rick Garland [mailto:Rick.Garland at quantum.com]
> >On Mar 10, 2010, at 11:29 AM, Rick Garland wrote:
> >> Hi Marc:
> >>
> >> In the script I have it doing a couple of arcane things for testing.
> >> I have it touch a file called 'test' and I have it echo the macro
> >> values to a file as well.
> >> These are successful.
> >
> >> When trying to launch from nagios these files are not present.
> >


<snip>

> Many thanks. The issue was the requiretty. This is a new issue on RH
> and
> CentOS 5 and above.
> I have done the cleanup on event_handler definition. Didn't matter
> either way, did make the log entries cleaner.
> 
> The tip from Stuart was the key to helping me resolve.
> 
> Again, my apologies for the extraneous posts.

#
# From /etc/sudoers on our Nagios server:
#
Defaults:nagios !requiretty

:)

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