Multiple event handlers

Marc Powell marc at ena.com
Mon Jul 18 23:40:26 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Ruiz, Francisco
> Sent: Monday, July 18, 2005 3:21 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Multiple event handlers
> 
> 
> Hi,
> 
> Does anyone know if I can have more than 1 event handler specified in
> the service definition?
> 
> Something like:
> 
> define service {
> 
> 	  service_def_stuff		    xxxxxxxxxxxxxxxxx
> 
>         event_handler                   handler1,handler2
> 
> 	  service_def_stuff		    xxxxxxxxxxxxxxxxx
> }


I'll take a stab. Oddly enough, it's not documented in either 1.x or
2.x... Looking at the code for 1.x seems to indicate to me that only one
is allowed but it should be easily testable if you have event handlers
configured already. If it works then great =)

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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