Synchronisation pb

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
boxy
Posts: 10
Joined: Wed Aug 07, 2002 6:00 pm
Location: France
Contact:

Post by boxy »

Hi,

I'm using HM for testing my switchs (10) and my NT server (13) by ping test (every 5sec.) I've got a master switch so that it is declarate in the "depend windows" of the other switch.
the problem is: if this "master switch" is down, some of the other are testing until the new test of the master is made. so instead of receive 1 mail that inform me that the master is down, I receive about 3 or 5 mail for the other one.
How can I synchronise my tests ?

Thanks and excuse me for my poor english.
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

I use "alert when 2 consecutive bad results occur". Then you are always sure that the master test is run before the slave test bad-action is fired. (as long as the interval time of the master test is smaller or equal than the slave test)

Regards,
Gdvl
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you set test interval to 5 sec, you can decrease "Consider status of the master test obsolete after N seconds" counter. This option located on Behavior page in the Options dialog. It determines whether the Master test status is up-to-date.
There are quote from documentation:
Consider status of the master test obsolete after N seconds
This parameter is used by the program to determine whether the Master test status is up-to-date. Before starting a dependent test HostMonitor checks the status values of the Master tests defined on it. The parameter mandates for how long a Master test status is considered to be current.
Regards
Alex

<font size=-1>[ This Message was edited by: KS-Soft on 2002-08-08 08:41 ]</font>
boxy
Posts: 10
Joined: Wed Aug 07, 2002 6:00 pm
Location: France
Contact:

Post by boxy »

I do that. but It's the same....
Maybe could you put a new action in alert profil call "check master test" so that if the test is bad, it test the "master" and if master is good do the second action or if master is bad wait for master test....

thanks
Cédric.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Cédric,

I think new test is not necessary. You can set "Consider status of the master test obsolete after N seconds" to 1 second. In this case HostMonitor will always perform master test before dependant test.
H'm, I just saw HostMonitor does not allow you to set this option to 1 second, minimum value is 5 sec.
Ok, corrected. There are update http://www.ks-soft.net/download/hm323a.zip

Regards
Alex
boxy
Posts: 10
Joined: Wed Aug 07, 2002 6:00 pm
Location: France
Contact:

Post by boxy »

thanks for your patch, but it didn't work.
I can only put 2 sec or 62 sec...
can you send me an other one?

thanks a lot.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, minimum value is 2 sec, but why it doesn't work? I think If you set "Consider status of the master test obsolete after N seconds" to 2 second, everything will work correctly. Am I wrong?

Regards
Alex
Locked