2009/4/18 Lacayo, Luis F <lflac...@cps.k12.il.us>: > Good Morning all... > > I have a question, that someone out there might be able to help me with. > > > I want to setup an event handler, to restart a windows service if a > service changes to an "UNKNOW" Status. I am not sure of how to set this > up on the services.cfg side. > > Any help is greatly appreciated. > > Thanks, > > Luis
Hopefully the documentation page explains it well enough - http://nagios.sourceforge.net/docs/3_0/eventhandlers.html If you look at the example script there, I guess you pretty much need to swap CRITICAL and UNKNOWN in the "case" statement to achieve what you're after, and it shows what you need in your service definition too. hth, Jim ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ 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