Depends on expression.

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
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Depends on expression.

Post by Dubolomov »

Hi.
I upgraded HM to 7.72 version and after this have trouble with depends on expression. There are any tests that depend from expression like

Code: Select all

('%::TestName One::SimpleStatus%'=='UP') or ('%::TestName Two::SimpleStatus%'=='UP')
. Sometimes these tests go to "Wait for Master" status but "TestName One" and "TestName Two" always in "Host is Alive" status.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1) Could you please check if you have just 1 test named "TestName One" in the list and just 1 test named "TestName Two"?

2) if these names are unique, could you please select this dependant test, open Test Properties dialog, move mouse over expression and check HostMonitor status line. You should see expression where test names where replaced with TestID. Please write down these ID, then close Test Properties dialog, select "TestName One" and click Ctrl+I to open Test Info dialog. Then compare TestID that was used in expression with ID displayed by Test Info dialog. Check "TestName Two" as well.
What do you see?

or you may send HML file with tests to support@ks-soft.net, we will check it for errors

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

KS-Soft wrote: 2) if these names are unique, could you please select this dependant test, open Test Properties dialog, move mouse over expression and check HostMonitor status line.
Great feature. :)
Test IDs are the same.
I tryed to change parameters of "Consider status of the master test obsolete after" in Options menu and "Synchronize counters" of wrong tests properties but with the same result.
Sorry, i can't send HML files for you now.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you launch Auditing Tool (menu View)? Any errors detected by this tool?

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

No errors except two in Actions menu in Auditing tool. Now there are 69 tests per seconds in the system. I set depends of problem tests to "another test(s)" option and don't see any trouble with theirs statuses. But in my configuration i must use operator "or" for check depend.
I can miss about version of HM. May be this problem happened earlier but i found it after upgrading to 7.72.
Unfortunally it's hard to restore previous version from backup because there are much changes were introduced after upgrade. I have 3547 tests with hard structure. So i would like don't do this.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We checked code but did not find any error so far...
Is this exactly how your expression looks "('%::TestName One::SimpleStatus%'=='UP') or ('%::TestName Two::SimpleStatus%'=='UP')"?
What do you see in status bar when put mouse cursor over this field in Test Properties dialog?

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

Really one of the test's depend looks like
('%::VR - VR-Core::SimpleStatus%'=='UP') or ('%::VR - VR-Core2::SimpleStatus%'=='UP')
In status bar i see

Code: Select all

('%::6672::SimpleStatus%'=='UP') or ('%::6673::SimpleStatus%'=='UP')
There are those ID-numbers for tests "VR - VR-Core" and "VR - VR-Core2".
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Such expressions look pretty normal. I though may be there are some veraiables that may contain qutation marks or undetermined variables...
H'm... :roll:

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

Log for test with depends on expression. Only "Wait for Master statuses filtered:

Code: Select all

2008-11-26 10:13:02 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:13:50 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:15:25 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:16:14 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:34:21 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:37:31 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:39:21 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:40:36 | VR - VR-Core-Common | Wait for Master
 2008-11-26 10:41:24 | VR - VR-Core-Common | Wait for Master
 2008-11-26 11:08:59 | VR - VR-Core-Common | Wait for Master
 2008-11-26 11:26:51 | VR - VR-Core-Common | Wait for Master
 2008-11-26 11:30:32 | VR - VR-Core-Common | Wait for Master
 2008-11-26 11:52:10 | VR - VR-Core-Common | Wait for Master
 2008-11-26 11:54:17 | VR - VR-Core-Common | Wait for Master
 2008-11-26 12:22:12 | VR - VR-Core-Common | Wait for Master
 2008-11-26 13:37:59 | VR - VR-Core-Common | Wait for Master
 2008-11-26 13:39:50 | VR - VR-Core-Common | Wait for Master
 2008-11-26 14:55:13 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:18:13 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:22:15 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:35:57 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:41:46 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:42:50 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:45:43 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:52:51 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:56:02 | VR - VR-Core-Common | Wait for Master
 2008-11-26 15:56:50 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:06:41 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:15:45 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:16:18 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:33:40 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:35:16 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:41:23 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:43:18 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:44:09 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:45:19 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:46:28 | VR - VR-Core-Common | Wait for Master
 2008-11-26 16:50:28 | VR - VR-Core-Common | Wait for Master
This test's depends expression:

Code: Select all

('%::VR - VR-Core::SimpleStatus%'=='UP') or ('%::VR - VR-Core2::SimpleStatus%'=='UP')
But status of "VR - VR-Core" and "VR - VR-Core2" was not changed still 2008-10-09.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you export at least these 3 tests and send test settings to support@ks-soft.net?

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

I sent them.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Thank you. Problem confirmed, related to version 7.70 and 7.72 only.
Patch available at www.ks-soft.net/download/hm773.zip

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

Your support is great.
Thank you! :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome :)
BTW: If you have time, you can post your opinion in the following forum http://www.ks-soft.net/cgi-bin/phpBB/viewforum.php?f=12
:wink:

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

Got it. ;)
Post Reply