Is there a way to compare 2 tests by their reply?
Is there a way to compare 2 tests by their reply?
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
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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
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