Event Handler not firing
Martin, Stanley G [CC]
Stanley.G.Martin at mail.sprint.com
Wed Oct 15 18:51:55 CEST 2003
BINGO!!!
The file permissions on the logfile wasn't keeping the script from running, it only allowed me to see what was really going wrong. I needed to put quotes around the $SERVICEDESC$ macro in the command definition because the description had spaces in it. I wouldn't have found that without your help. Thanks. Just needed someone else's eyes to look at it.
Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence
Stanley.G.Martin at mail.sprint.com
-----Original Message-----
From: Marc Powell [mailto:mpowell at ena.com]
Sent: Wednesday, October 15, 2003 11:27 AM
To: Martin, Stanley G [CC]; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Event Handler not firing
Can you run the script _as the nagios user_? It could be that the script you wrote is using some external program or file that isn't accessible by the nagios user either because of permissions or path issues.
Just a thought.
--
Marc
________________________________________
From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com]
Sent: Wednesday, October 15, 2003 9:23 AM
To: nagios-users at lists.sourceforge.net
I finally got an event setup to fire when a service on a Win2K boxes stops running. However, when the service goes CRITICAL and HARD, the job is not being run. The nagios.log file says it is, but my script is written in Perl with outputs to a logfile that isn't getting touched. I can run the script manually just fine.
[snip by Marc]
Any ideas why this isn't actually running the script? Is there another logfile I could look at that might tell me something?
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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