Regular schedule/test every feature
We have ping tests setup and have created regular schedules. However, we have varying "test every" requirements and it seems that we need to create a new schedule and duplicate the test to accomodate these changes. Is there an easier way? For example, we ping the same set of servers every 5 minutes M-F 9 to 5 and then we ping them every 30 minutes at all other times. It doesn't let you add multiple schedules to one test, and therefore our screen gets crowded by the same things repeated, just at differing "test every" intervals.
Yes, you can do it. You can create two sets of tests with different test intervals, e.g. workday.hml and weekend.hml.
Create 2 scripts those will change current list of test, like
friday.hms
SaveTestList
LoadTestList weekend.hml
monday.hms
SaveTestList
LoadTestList workday.hml
Create 2 alert profiles those will start scripts, e.g.
- alert profile "load weekend tests"; add "Execute HMScript" action to start friday.hml script
- alert profile "load workday tests"; add "Execute HMScript" action to start monday.hml script
Use "Repeat: until status changes" option in the Action Properties dialog
Also you need to create 2 tests with irregular schedules to start action profiles in Friday evening and in Monday morning, e.g.
- 1st test: ping 127.0.0.1; irregular schedule: start test one time per week (Friday at 18:00); alert profile: "load weekend tests"
- 2st test: ping 127.0.0.1; irregular schedule: start test one time per week (Monday at 9:00); alert profile: "load workday tests"
Ping 127.0.0.1 always will return "Host is alive" status, and HostMonitor will start "Good" actions. If you created "Bad" actions, to start scripts use "Reverse alert" option in the Test Properties dialog.
Regards
Alex
Create 2 scripts those will change current list of test, like
friday.hms
SaveTestList
LoadTestList weekend.hml
monday.hms
SaveTestList
LoadTestList workday.hml
Create 2 alert profiles those will start scripts, e.g.
- alert profile "load weekend tests"; add "Execute HMScript" action to start friday.hml script
- alert profile "load workday tests"; add "Execute HMScript" action to start monday.hml script
Use "Repeat: until status changes" option in the Action Properties dialog
Also you need to create 2 tests with irregular schedules to start action profiles in Friday evening and in Monday morning, e.g.
- 1st test: ping 127.0.0.1; irregular schedule: start test one time per week (Friday at 18:00); alert profile: "load weekend tests"
- 2st test: ping 127.0.0.1; irregular schedule: start test one time per week (Monday at 9:00); alert profile: "load workday tests"
Ping 127.0.0.1 always will return "Host is alive" status, and HostMonitor will start "Good" actions. If you created "Bad" actions, to start scripts use "Reverse alert" option in the Test Properties dialog.
Regards
Alex