Restart Service - Win2k3

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Campy
Posts: 2
Joined: Mon Feb 07, 2011 3:11 pm

Restart Service - Win2k3

Post by Campy »

I have a need to restart a service on a Win2k3 server every hour (due to a software bug). I'm using the "Check Service" test in Hostmon with an Alert Profile that has "restart service" set for both good and bad action. This worked once, the first time only. Every hour after that it just seems to see the service as up and does nothing. Any ideas as to why this would fail or perhaps another way to do it?

Thanks
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Restart Service - Win2k3

Post by KS-Soft Europe »

If you need just restart Service every hour, you may setup simple "ping 127.0.0.1" test with one hour period, then setup "Good" alert profile with option: Repeat until ststus changes
Please check for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Repeat
Last edited by KS-Soft Europe on Mon Feb 07, 2011 3:25 pm, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you want to start action after each test execution, you should use "Repeat until status changes" option for this action.
What "Repeat" option do you use?

Regards
Alex
Campy
Posts: 2
Joined: Mon Feb 07, 2011 3:11 pm

Post by Campy »

Thanks for the super quick response and answer - works fine now. All I changed was selecting "until status changes".

Thanks!!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome :)

Regards
Alex
Post Reply