KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

"untill status changes" option and external program

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Jan 24, 2003 12:19 pm    Post subject: Reply with quote

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: 12801
Location: USA

PostPosted: Fri Jan 24, 2003 1:31 pm    Post subject: Reply with quote

>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
View user's profile Send private message Visit poster's website
Guest






PostPosted: Fri Jan 24, 2003 2:05 pm    Post subject: Reply with quote

yeah!
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index