> Does anyone have a script that will monitor 1 named windows > service and restart only that one service if it fails?
I don't have such a script, but here's how I'd do it: Assuming you're using NRPE-NT: 1. Configure a check for the particular service you're wanting to monitor. 2. Write a quick little batch file that has something like this in it: net stop "service" net start "service" 3. Add a "check" into your NRPE-NT config that uses that batch script as the "check" script 4. Craft an event handler script that calls check_nrpe for the "check" script you just created when it is appropriate to do so. 5. Add your new service and eventhandler into services.cfg for the particular host(s) in question. And, that should do it. Just be sure you've got access to NRPE-NT nailed down tight so you don't have neerdowells restarting your service all day. :-) Andrew ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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