View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Wed Jul 03, 2002 11:10 am Post subject: |
|
|
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. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Jul 03, 2002 4:35 pm Post subject: |
|
|
Sorry, there no easier way. Current version of HostMonitor supports only one schedule/interval per test. Probably in future versions schedules will be completely redesigned, but it will be in September-October or late.
Regards
Alex |
|
Back to top |
|
|
jricha34
Joined: 07 Jul 2002 Posts: 59 Location: USA
|
Posted: Wed Jul 10, 2002 3:07 pm Post subject: |
|
|
Could you copy the hml file and then have one file for the weekdays and one for the weekends. Once you have made the copy change the one schedule setting and then have a script that switches you between the two. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Jul 10, 2002 4:23 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|