|
View previous topic :: View next topic |
Author |
Message |
Vincent
Joined: 27 Jun 2006 Posts: 1
|
Posted: Tue Jun 27, 2006 2:33 pm Post subject: Comparing 2 ODBC tests |
|
|
Hi,
I just downloaded the Host Monitor 6.02 Beta for testing.
There is one crucial test that I can not figure out.
I have two ODBC Query’s to compare.
Master has a reply of VF0625
Shop1 has a reply of VF0622
Shop2 has a reply of VF0625
How can I make the Shop 1 test go Bad and Shop 2 test go Ok.
Master, Shop1 and Shop2 only execute a SQL query
I made 2 extra tests:
Test1 is a copy of Shop1 with Expression
('%::Master::Status%'=='%::Shop1::Status%') and ('%::Master::Reply%'<>'%::Shop1::Reply%')
This gives a Ok result and should be Bad
Test2 is a copy of Shop2 with Expression
('%::Master::Status%'=='%::Shop2::Status%') and ('%::Master::Reply%'<>'%::Shop2::Reply%')
This gives a Wait for Master and should be Ok
I hope some one can help me.
Vincent |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Jun 27, 2006 3:18 pm Post subject: |
|
|
Quote: | '%::Master::Status%'=='%::Shop1::Status%') and ('%::Master::Reply%'<>'%::Shop1::Reply%')
This gives a Ok result and should be Bad |
This expression does not give you any result. Expression tells HostMonitor when test should be performed.
If a logical expression returns "false" value, HostMonitor will not perform the dependant test.
Quote: | This gives a Wait for Master and should be Ok |
If you do not want to see WaitForMaster status, use "Synchronize status & alerts" option.
See also: OtherwiseStatus option
Regards
Alex |
|
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
|