Option to de/activate deferred-function or todo-list

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Option to de/activate deferred-function or todo-list

Post by MirkoW »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Not sure I undestand the problem :roll:
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
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think its better to use the same thread for the same question...
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
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".
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
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
So you want to receive "bad" deferred action but not "good"?
Then keep "Deferred alert" option for "bad" action and disable this option for "good" action.

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

but then i receive good alerts in the midnight or not?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Of course not. You are allowed actions to be executed between 6-7am and 6-10pm so actions will not be started at midnight.
May be I still do not understand your needs?

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

hi,

i want to receive good-alerts between 6-7am and 6-10pm

so do i dont need deferred actions ? for example if there a bad-alert at the midnight and would be cleaned 5 minutes later so i receive a good-sms if i dont use deferred action?

i'm not sure if i can use different schedules for one test
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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.
i'm not sure if i can use different schedules for one test
Of course you cannot assign 2 different schedules to the same test item. But you don't need this.
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
Post Reply