View previous topic :: View next topic |
Author |
Message |
luckieford
Joined: 17 May 2019 Posts: 3
|
Posted: Fri May 17, 2019 11:33 am Post subject: Maintenance Window At Test Level Needed |
|
|
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! |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri May 17, 2019 1:37 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
luckieford
Joined: 17 May 2019 Posts: 3
|
Posted: Fri May 17, 2019 1:58 pm Post subject: |
|
|
Thank you Tom for the quick response! |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri May 17, 2019 2:24 pm Post subject: |
|
|
You are welcome
Regards
Tom |
|
Back to top |
|
|
|