> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of D'Ausilio, John > Sent: Tuesday, February 12, 2008 12:30 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] I can't get my event handler to fire! > > 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 > > }
> Am I misunderstanding something here? Event handlers are enabled system- > wide. But not in the service{} definition unless it's referenced in the template. In addition to the program-wide setting, it must also be specifically enabled on a per-service basis. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service -- Marc ------------------------------------------------------------------------- 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/ _______________________________________________ Nagios-users mailing list Nagios-users@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