|
View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Fri Jan 24, 2003 12:19 pm Post subject: |
|
|
hey now
I have an action for running a batch file as an external program when a test for a remote web service fails. The batch file restarts w3svc (among other things) on the remote machine - this takes about 15-30sec or so.
I'm wondering how HM handles the "untill status changes" option for this. I mean, does HM fire off another batch file when the previous one closes or is there some wait before it runs it again (for example, the next check interval)?
I think the remote box is in the process of starting but HM still thinks it's down and runs it again.
thanks for the help muchachos1 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12819 Location: USA
|
Posted: Fri Jan 24, 2003 1:31 pm Post subject: |
|
|
>I mean, does HM fire off another batch file when the previous one closes or is there some wait before it runs it again (for example, the next check interval)?
"Repeat: until status changes" does not mean HostMonitor will start action every second. It means HostMonitor will start action every time test returns "Bad" status (or "Good" status if you use "Good" action). So, if HostMonitor checks your web server every 5 min, it will not start bat file more often than every 5 minutes.
>I think the remote box is in the process of starting but HM still thinks it's down and runs it again.
Probably you use too small interval between tests. Set it to 1 or 2 min. BTW HostMonitor can use different time intervals for the same test. See "Change test interval" action.
Regards
Alex |
|
Back to top |
|
|
Guest
|
Posted: Fri Jan 24, 2003 2:05 pm Post subject: |
|
|
yeah! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|