Is there a way to compare 2 tests by their reply?

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
Danonino
Posts: 12
Joined: Tue Nov 05, 2013 3:17 pm

Is there a way to compare 2 tests by their reply?

Post by Danonino »

We are trying to use the Count Files method to count files in 2 different locations on different networks, which have to be the same value. However i dont see any way to do this using Master tests. Is there a way to do this? Thanks for your support
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may check reply value (or some other parameter) of some other test items using variable like %::TEST_NAME::Reply%
You have several options here:
1. Use Advanced mode action with expression like:
'%::TEST1::Reply%'<>'%::TEST2::Reply%'
2. Use "Use Warning status if" option for TEST1 with expression like: '%SuggestedReply%'<>'%::TEST2::Reply%'
3. Use Master test with expression (This test depends on Expression):
Perform test if: '%::TEST1::Reply%'<>'%::TEST2::Reply%'

Please check for details at:
Macro variables: http://www.ks-soft.net/hostmon.eng/mfra ... #specmacro
Advanced mode actions: http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
Use Warning status if option: http://www.ks-soft.net/hostmon.eng/mfra ... ningstatus
Master test (This test depends on expression): http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Post Reply