I want to run my test every 5 minutes all day all time 24/7.
But only if last status is down/bad.
First time a test return ok/up, it must not run again before 06:00 next day.
//Flemming
Test must not run again before 06:00 next day?
You may assign HM Script action ("Good" action) to the test and use DisableTest %TestName% command to disable the item
www.ks-soft.net/hostmon.eng/mframe.htm# ... #actScript
In order to enable test at 06:00 you should do the following:
- create auxiliary alert profile
- add "on the schedule" HMScript action, use "EnableTest <specific name of the test>" command in the script
- setup schedule using built-in Scheduler (see Options dialog) to start this profile
http://www.ks-soft.net/hostmon.eng/mfra ... #SchedPage
Regards
Alex
www.ks-soft.net/hostmon.eng/mframe.htm# ... #actScript
In order to enable test at 06:00 you should do the following:
- create auxiliary alert profile
- add "on the schedule" HMScript action, use "EnableTest <specific name of the test>" command in the script
- setup schedule using built-in Scheduler (see Options dialog) to start this profile
http://www.ks-soft.net/hostmon.eng/mfra ... #SchedPage
Regards
Alex
Nope. "Schedule" and "Scheduler" are different things. Could you please check Scheduler page in the Options dialog and read the manual (I have posted link to on-line help in my 1st reply)? This one http://www.ks-soft.net/hostmon.eng/mfra ... #SchedPage
Regards
Alex
Regards
Alex
Hi
Thanks but it's a bit complicated.
Okay I found the "event timer" schedule and try making 1 minuts event.
I still little confused,
In the menu Action properties I had selected use schedule as you suggest.
In the Option menu i had 1 minutes event but the right most dropdown I select do nothing.
In the test itself I had a action to disable and it working.
Another action is to enable but it dosent work? I had selected "on the schedule"
Sorry Flemming
Thanks but it's a bit complicated.
Okay I found the "event timer" schedule and try making 1 minuts event.
I still little confused,
In the menu Action properties I had selected use schedule as you suggest.
In the Option menu i had 1 minutes event but the right most dropdown I select do nothing.
In the test itself I had a action to disable and it working.
Another action is to enable but it dosent work? I had selected "on the schedule"
Sorry Flemming
Lets start from begining:
1) create test file, e.g. enablescript1.hms, add "EnableTest name_of_the_test" line into file
2) click menu Profiles -> Action profiles
3) click "New", enter name of the profile (e.g. "EnableProfile")
4) click "Add" (either in good or bad columns), choose "Run HMScript" action
5) set "Condition to start action" to "on the schedule"
6) specify path to enablescript1.hms file
7) click Ok to save action
8. click Ok to save action profiles
9) click menu Option, go to "Scheduler" page
10) add "Daily at 06:00" task, choose "EnableProfile" alert profile
11) click Ok to save changes
Regards
Alex
1) create test file, e.g. enablescript1.hms, add "EnableTest name_of_the_test" line into file
2) click menu Profiles -> Action profiles
3) click "New", enter name of the profile (e.g. "EnableProfile")
4) click "Add" (either in good or bad columns), choose "Run HMScript" action
5) set "Condition to start action" to "on the schedule"
6) specify path to enablescript1.hms file
7) click Ok to save action
8. click Ok to save action profiles
9) click menu Option, go to "Scheduler" page
10) add "Daily at 06:00" task, choose "EnableProfile" alert profile
11) click Ok to save changes
Regards
Alex