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

Comparing 2 ODBC tests

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Vincent



Joined: 27 Jun 2006
Posts: 1

PostPosted: Tue Jun 27, 2006 2:33 pm    Post subject: Comparing 2 ODBC tests Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Jun 27, 2006 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting 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