4th guess: is it executable?
Justin
--
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 Int
Rick Garland wrote:
> The script itself is very simple. At CRITICAL/SOFT/3 and
> CRITCAL/HARD/4 the script will execute. Running at command line as
> UID=nagios it runs fine.
> sudo is configured and nagios can mount NFS.
>
>
> The entry in the nagios.log
> [1268099555] SERVICE_EVENT_HANDLER:
> -Original Message-
> From: Marc Powell [mailto:m...@ena.com]
>
>
> 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
On Mar 8, 2010, at 7:58 PM, Rick Garland wrote:
> define command{
> command_nameremount-nfs
> command_line $USER1$/eventhandlers/remount-nfs
> $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
> }
>
> enable_event_handlers=1 in the nagios.cfg file
>
> The s
Hi all:
Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to
execute but it will not. My configs;
define service{
use local_service
host_namemy_host
service_description NFS Check
check_period