Delay alerts when created in the middle of the night.

Need new test, action, option? Post request here.
Post Reply
emccance
Posts: 2
Joined: Fri Jun 16, 2006 2:42 pm

Delay alerts when created in the middle of the night.

Post by emccance »

Hi there,

I just bought the enterprise version of Host Monitor for work and discovered I can't do something I was hoping for. Our office monitors systems 24x7 but we don't want to be notified at 3am. If a schedule is setup around an alert to notify admins only between 8am and 10pm but a failure occurs at 3am.. I'd really like to have the 3am alert delayed until the schedule opens at 8am. That way, the admin can see there was a problem last night and take appropriate action first thing in the morning.

The searches I did through the forum came up with a similar discussion but it didn't seem to have any good answers? What do you think? Is there a way to do what I want and I just don't know it?

post found through searching:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=1018
Yoorix
Posts: 177
Joined: Wed Dec 14, 2005 8:28 am

Re: Delay alerts when created in the middle of the night.

Post by Yoorix »

emccance wrote:Our office monitors systems 24x7 but we don't want to be notified at 3am. If a schedule is setup around an alert to notify admins only between 8am and 10pm but a failure occurs at 3am.. I'd really like to have the 3am alert delayed until the schedule opens at 8am. That way, the admin can see there was a problem last night and take appropriate action first thing in the morning.

The searches I did through the forum came up with a similar discussion but it didn't seem to have any good answers? What do you think? Is there a way to do what I want and I just don't know it?
I think, you should create two actions in you action profile for such test. You should setup first action to notify admins between 8am and 10pm using Time restriction - http://www.ks-soft.net/hostmon.eng/mfra ... #TimeRestr
Second action would be triggered between 10pm and 8am, but will not notify admin directly. You may set this action up to write to log file, or Log Event, or something like that.

Regards,
Yoorix
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are right, "delayed" alerts is not implemented.
As Yoorix said you need 2 actions: one to alert admins at day time, another to set some "alert" flag. I think you may use "Record HM log" action for this purpose.
Then setup "File Availability" test method to check for that log file at 8am and start alert (e.g. send failure log by e-mail) if file is exists. Then remove the file (using second action with "Start when 2 consecutive Bad results occur" option)

Regards
Alex
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Post by Kapz »

Alex,

> You are right, "delayed" alerts is not implemented.
... but it could sound like "delayed" alerts are on a to-do list ?

We usually do these things like Yoorix suggests but these setups tends to be a little too "creative" sometimes considering (from the users point of view) the simplicity in what one want to achieve.

Kasper :O)
emccance
Posts: 2
Joined: Fri Jun 16, 2006 2:42 pm

Re: Delay alerts when created in the middle of the night.

Post by emccance »

Thanks for the suggestions guys.

This method should work at least for sending email alerts which is better than what I could think of before :) The trouble I still see with "creating a log file check if it exists then send an alert at 8am" is that this would only be suitable for sending an email alert if you needed specific info from the alert. I don't think I'd be able to send an SMS or alpha numeric page like:
Server ATLAS is over heating at 38 degrees.

Regards,
Eric
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, we do not have another solution yet.

Regards
Alex
Post Reply