I am fairly new to Host Monitor and have been trying to figure out a way to schedule a maintenance window on specific tests. The situation I am facing:
I have a device that is being monitored that will be unavailable for one hour every month. This outage happens on the 3rd Friday from 22:00-23:00 each month.
Is there some way to disable the test automatically each month during this outage window? I have looked at setting a schedule "By expression" as well as "Use Normal status if" and have been unable to get the right combination of variables to make that happen.
Any advice would be greatly appreciated!
Maintenance Window At Test Level Needed
Sorry, there is no such option.
Looks like you need to setup additional test (TestP) that will Pause "regular" test (TestA).
You may set TestP using "by expression" schedule mode and expression like * Fri#3 22:00
Then assign HMScript action to TestP, script may look like PauseTest TestA 60
or you may use PauseTestByID command, like PauseTestByID 555 60
(use ID of TestA instead of 555)
Regards
Tom
Looks like you need to setup additional test (TestP) that will Pause "regular" test (TestA).
You may set TestP using "by expression" schedule mode and expression like * Fri#3 22:00
Then assign HMScript action to TestP, script may look like PauseTest TestA 60
or you may use PauseTestByID command, like PauseTestByID 555 60
(use ID of TestA instead of 555)
Regards
Tom