Hi,
I've still the problem that HM want to send old good-alert messages of scheduled deferred-action profiles.
it is able to de/activate the deferred-funktion by a scheduled job? or it is able to clear the todo-actions after deferred action is activated.
Option to de/activate deferred-function or todo-list
Not sure I undestand the problem
Its the purpose of deferred actions - HostMonitor starts action when schedule allows and test status is the same as one that triggered action within restricted time interval.
What is the reason to mark "Deferred action" option and then try to stop these actions? If you do not want to receive such "good alert messages", why do you use "Deferred action" option?
I think you may disable this option for "good" action and keep for "bad" one...
Am I wrong?
Regards
Alex

Its the purpose of deferred actions - HostMonitor starts action when schedule allows and test status is the same as one that triggered action within restricted time interval.
What is the reason to mark "Deferred action" option and then try to stop these actions? If you do not want to receive such "good alert messages", why do you use "Deferred action" option?
I think you may disable this option for "good" action and keep for "bad" one...
Am I wrong?
Regards
Alex
Hi
look at this: http://www.ks-soft.net/cgi-bin/phpBB/vi ... highlight=
i want to receive all bad-alerts thats happened in the evening and midnight at 6am. but i don't need the good-alerts of them at 6pm if the deferred schedule is activated.
look at this: http://www.ks-soft.net/cgi-bin/phpBB/vi ... highlight=
i want to receive all bad-alerts thats happened in the evening and midnight at 6am. but i don't need the good-alerts of them at 6pm if the deferred schedule is activated.
I think its better to use the same thread for the same question...
The same is about "good" alerts. How you can receive "good" alerts at 18:00 if you have disabled action execution between 18:00 and 22:00?
Probably I misunderstand the problem?
May be you receive "bad" alert at 5:59 because test status changed before 6:00, then test status changes to "good" between 6:00 and 7:00 so you receive "good" alert at 7:00 (not 18:00 as you said)? Then this is correct behavior. Don't see anything wrong in such case.
What version of HostMonitor do you use?
Regards
Alex
I re-read this several times and got confused... How you can get "bad" alerts at 6:00am if you setup schedule that restricts action execution from 6:00 to 7:00? You may get some "bad" alerts at 7:00. Also you cannot get these "bad" alerts at 7:00 unless test status is "bad".I use deffered Action-Alerts between 6-7am and 6-10 pm but if i receive at 6am bad-alerts that are cleaned, then i receive at 6pm all good-alerts for this
The same is about "good" alerts. How you can receive "good" alerts at 18:00 if you have disabled action execution between 18:00 and 22:00?
Probably I misunderstand the problem?
May be you receive "bad" alert at 5:59 because test status changed before 6:00, then test status changes to "good" between 6:00 and 7:00 so you receive "good" alert at 7:00 (not 18:00 as you said)? Then this is correct behavior. Don't see anything wrong in such case.
What version of HostMonitor do you use?
Regards
Alex
Hi,
Sorry i wrote the wrong times.
I use scheduled actions that send sms between 6-7am and 6-10pm beween 10:01pm and 5:59 am i use deffered actions.
if there are exist some deferred bad alerts so i get this between 6-7am and receive the good-alerts of them at 6-10pm but i dont need the good-alerts of them.
so i look for a such option that clear all waiting good alerts for example at 5:59 pm because between 6-7am and 6-10pm i need bad and good alerts via sms.
I hope i have explain it better now.
Sorry i wrote the wrong times.
I use scheduled actions that send sms between 6-7am and 6-10pm beween 10:01pm and 5:59 am i use deffered actions.
if there are exist some deferred bad alerts so i get this between 6-7am and receive the good-alerts of them at 6-10pm but i dont need the good-alerts of them.
so i look for a such option that clear all waiting good alerts for example at 5:59 pm because between 6-7am and 6-10pm i need bad and good alerts via sms.
I hope i have explain it better now.
So you want to receive "bad" deferred action but not "good"?if there are exist some deferred bad alerts so i get this between 6-7am and receive the good-alerts of them at 6-10pm but i dont need the good-alerts of them
so i look for a such option that clear all waiting good alerts for example at 5:59 pm because between 6-7am and 6-10pm i need bad and good alerts via sms
Then keep "Deferred alert" option for "bad" action and disable this option for "good" action.
Regards
Alex
Quote from the manual
===============
Deferred action
"Time restriction" option allows you to suppress action execution depending on time of the day and/or day of the week. Additional "Deferred action" option tells HostMonitor to delay action execution if specified schedule does not allow immediate execution of the action. HostMonitor will execute action at the beginning of "allowed" time frame on condition that status of the test is identical to status that triggered alert (see Note #3).
Note 1: If the same test triggers the same action several times within "restricted" time frame, HostMonitor will execute action just once at the beginning of "allowed" time frame.
===============
This means: if you set "bad" and "good" deferred actions with some time restrictions and test fails within this restricted time interval and test keeps its "bad" status until end of restricted time interval, then HostMonitor will start "bad" deferred action.
If test fails within this restricted time interval but restores "good" status later, then HostMonitor will start "good" deferred action.
Is this your concern? You do not want to receive "good" messages if tests fails and then restores good status within restricted time interval? However you want to receive both "bad" and "good" actions when test fails and then restores good status within unrestricted time interval?
Then I have answered your question - you just need to unmark "deferred action" option for "good" action.
While you may easily add 2 different actions with different time restrictions into the same alert profile assigned to the test(s). E.g. you may send e-mail during business hours and send SMS during weekend.
Please check "Action profiles" and "Action properties" sections of the manual.
Regards
Alex
===============
Deferred action
"Time restriction" option allows you to suppress action execution depending on time of the day and/or day of the week. Additional "Deferred action" option tells HostMonitor to delay action execution if specified schedule does not allow immediate execution of the action. HostMonitor will execute action at the beginning of "allowed" time frame on condition that status of the test is identical to status that triggered alert (see Note #3).
Note 1: If the same test triggers the same action several times within "restricted" time frame, HostMonitor will execute action just once at the beginning of "allowed" time frame.
===============
This means: if you set "bad" and "good" deferred actions with some time restrictions and test fails within this restricted time interval and test keeps its "bad" status until end of restricted time interval, then HostMonitor will start "bad" deferred action.
If test fails within this restricted time interval but restores "good" status later, then HostMonitor will start "good" deferred action.
Is this your concern? You do not want to receive "good" messages if tests fails and then restores good status within restricted time interval? However you want to receive both "bad" and "good" actions when test fails and then restores good status within unrestricted time interval?
Then I have answered your question - you just need to unmark "deferred action" option for "good" action.
Of course you cannot assign 2 different schedules to the same test item. But you don't need this.i'm not sure if i can use different schedules for one test
While you may easily add 2 different actions with different time restrictions into the same alert profile assigned to the test(s). E.g. you may send e-mail during business hours and send SMS during weekend.
Please check "Action profiles" and "Action properties" sections of the manual.
Regards
Alex