Alternative notification method if email fails

Need new test, action, option? Post request here.
Post Reply
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Alternative notification method if email fails

Post by AntonyP »

Is it possible to use another notification method if the emailer fails to send the emails?

Maybe an option in the emailer settings .. ??
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

This can be a nice option but its not that easy to implement. I mean if we add such option for e-mail alert, we should add the same posibility to other action methods. It means HostMonitor should keep history of action results and provide some options to start actions in different order depending on previous action results... Probably we will need to create some script language and so on...
I have added your request into "to do" list but I am not sure when it will be implemented

Regards
Alex
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

I think it's quite possible for the emailer to have problems, thus there is really no monitoring at all, without even getting a notification from HM. How can a user monitor anything, if the software used for monitoring cannot inform the user that the email function is OFF?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may use several alert methods. E.g send e-mail notification after 1st failure; if problem is not fixed (and not acknowledged) after a while, send message to pager (e.g. after 5th failed probe).
Actually this method even better. Because HostMonitor knows that e-mail was received by mail server but it doesn't know have you received mail or have not. May be you are sleeping, may be mail server crashed, may be battery in your cell phone is discharged. There are no way to check this by HostMonitor.
So, better setup alerts based on status of the test item. If its not acknowledged and not fixed, then start another alert. Its how everybody work.

Regards
Alex
rs4u
Posts: 26
Joined: Thu Dec 22, 2005 11:45 pm

Post by rs4u »

We solved this by escalation.
First an error is mailed but after x consecutive occurences it is SMSed (via GSM, not internet :wink: ).

This might be even better:
Test your emailer in a separate test.
To the alert profile of all tests to be submitted by pager add a 'bad action' to page you with advanced mode start condition:
'%::EMailer::SimpleStatus%'<>'OK'


HTH, Rainer

P.S. My wish in this regard was to add the "Test depends on bad action" - feature of the "good action" in a slightly modified form:
Action executed if another test was (not) OK.
Post Reply