I had lot of test and many of them i running in a scheduler.
But when a test is exit and the result is OK, I want the test to be disable until beginning of the next timescheduler.
Ex:
Schedule 10-13 test every 30min.
Then the test willl be done every 30 min. in the time 10-13!
BUT I want the test to stop if it teturn with status OK, and then wait for the time to be 10:00(=beginning of next schedule).
Hope you understand.
Is it possible. maybe with Expression???
Only test until exit with OK
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Not sure I inderstand you properly. Ok. I understand, that your test is running every 30 minutes between 10 and 13 o'clock. Do you mean you want to perform a test if its status becomes "Bad" only? Lets consider the situation, when HostMonitor should perform a test at 10:30. So, if the test status becomes "Good", HostMontor should stop performing the test until 10:00 next day and if status becomes "Bad", HostMonitor should perform it every 30 minutes until its status becomes "Good" up to 13:00, right?
In this case I would suggest you to assign an alert profile with two "Change test interval" actions.
http://www.ks-soft.net/hostmon.eng/mfra ... etInterval
First "Change test interval" action should be placed into "Good status actions" area and should set test interval to 4 hours (04:00:00). Second action should be placed into "Bad status sctions" area with "Restore original value" option.
Regards,
Max
In this case I would suggest you to assign an alert profile with two "Change test interval" actions.
http://www.ks-soft.net/hostmon.eng/mfra ... etInterval
First "Change test interval" action should be placed into "Good status actions" area and should set test interval to 4 hours (04:00:00). Second action should be placed into "Bad status sctions" area with "Restore original value" option.
Regards,
Max