On 02/21/2013 09:16 PM, Travis Runyard wrote: > I'm trying to define multiple event handlers for a service but am getting > the error during preflight check: > Error: Event handler command 'update-nagex,reset-proc' specified in service > > I've tried two different ways to define it in the service: > > event_handler update-nagex,reset-proc > > and > > event_handler update-nagex > event_handler reset-proc > > When I define them on separate lines, Nagios seems to only pick up the last > event_handler defined which is reset-proc > > Any ideas?
Create a wrapper script that runs both handlers with their proper arguments. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ 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