I can't get my event handler to fire!
D'Ausilio, John
John.DAusilio at mlp.com
Tue Feb 12 19:29:51 CET 2008
I've got a 3.0rc2 instance running, and I'm trying to implement a
service-based event handler. I've added an event_handler entry to the
service check:
define service{
use generic-service
host_name p5prod0
service_description PING
check_command check_ping!100.0,20%!500.0,60%
notifications_enabled 1
contacts jdausilio
event_handler notify-login-server
}
The notify-login-server command:
# 'notify the login server' command definition
define command{
command_name notify-login-server
command_line
/opt/apache/nagios/libexec/eventhandlers/notify-login-server.sh
$HOSTALIAS$ $SERVICESTATE$
}
/opt/apache/nagios/libexec/eventhandlers/notify-login-server.sh is
executable by the nagios users, and all parent directories as well.
I enabled debug, and do not any references to event handler firing.
Am I misunderstanding something here? Event handlers are enabled
system-wide.
jd
######################################################################
The information contained in this communication is confidential and
may contain information that is privileged or exempt from disclosure
under applicable law. If you are not a named addressee, please notify
the sender immediately and delete this email from your system.
If you have received this communication, and are not a named
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
######################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080212/97cd664a/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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