|
View previous topic :: View next topic |
Author |
Message |
clocktowertx
Joined: 13 Oct 2009 Posts: 5 Location: Houston, TX
|
Posted: Fri Nov 05, 2010 1:33 am Post subject: "Normal" status based on another test status |
|
|
Can someone give me an example of the expression that would have a test return a normal status as long as another test is normal?
We have two tests that need to be dependent on each other. First test checks the file age on a certain log file, and the other test counts files in this particular hot folder. If the first test's file age is more than 15 minutes, the second test will check file count and if it's 0, everything is fine. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Nov 05, 2010 11:39 am Post subject: |
|
|
If you need such dependant test, you don't need any expressions. Just use "This test depends on another test(s)" option
Please check the manual or visit our web site for more information
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#Master
If you need to set "Use Normal status if" test option for some other purpose, expression may look like '%::MasterTestName::Status%'=='Normal'
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
|