stop and start remote services in special order

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
wue
Posts: 13
Joined: Sun Jan 26, 2003 6:00 pm

Post by wue »

I need to stop and start remote services (2 or 3 services) when a URL-Check goes bad. Is there a possibility to stop and start 2 or 3 services in a special order width HM ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You can set different values for "Start when XX consecutive Bad results occur" parameter of the actions.
But I think more simple create small BAT file like:
--------------
NET STOP W3SVC
NET STOP MSFTPSVC
NET STOP IISADMIN
NET START IISADMIN
NET START MSFTPSVC
NET START W3SVC
--------------
and use "Execute external program" action to restart set of services

Regards
Alex
Locked