Alert time restriction

Need new test, action, option? Post request here.
Post Reply
Guest

Alert time restriction

Post by Guest »

Alex,

I set a time restriction on an alert. (in my case: SMS message)
When the test goes bad within that time restriction, the SMS is NOT send. (that's ok of course) I will receive the SMS at the end of the time restriction.

Now, alerts are only fired when the test goes bad out of the time restriction.
Can this be solved in next releases ?

(I don't like recieve SMS messages at night, but in the morning I will know what happens at night)

Regards,
Gert
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

OK, I know. It isn't that simple.
Because, during a normal office-day, I don't want the SMS messages too, because the helpdesk hears the sound-alert. And after the office hours, I don't want receive SMS message of problems during the day ... (which are solved I hope)

So, in the alert time-restriction it should be possible to select 3 values: "alert", "no alert" or "delay alert" (or something like that).
In that case, "test schedules" will be different from "alert schedules".
How many results should be delayed ? I don't know. Only the first ?
It's more complex than I thought.

Someone any suggestions ?

Regards,
Gert
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Alerts can have a different schedule than the test itself. So the thing you need is a delayed alert.

And a delayed alert is needed only once, unless it should not be delayed anymore. Otherwise a delay makes no sence. So only the first alert should be kept until the delay period is passed.

Another question is what to do when a test fails, generates a delayed alert and at the next test cycle the test reports OK. Remove or Keep the delayed alert?
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

Marcus,

I think, remove the delayed alert when the test returns to good before the end of the alert time-restriction.
Thus, in fact, only the status at the moment the alert time-restriction ends, is important.

So, it should be a setting of the alert itself (not of the schedule) to fire alert only if the test is bad at the end of a time restriction, and not at the moment the test changes from good to bad.

Maybe that's the best definition of what I need.
In that case, there's no problem with restricted alerts during the office hours which are solved before a time restriction ends.

Is this clear ?

Regards,
Gert
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

It's clear. But then you will miss any alert during the delayed time. This could be OK, but it could prevent you from seeing problems which start during the delayed time. Most of the time you will not be interested in the alert after a 'good' test. But most of the time is not always. There will be conditions, you want to know it did happen.

Most ideal would be a way to see there were alerts, but not being alert :wink: Only I can't think of a way how to implement this in HostMonitor, besides spitting through the log files......
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

Most ideal would be a way to see there were alerts, but not being alert Only I can't think of a way how to implement this in HostMonitor, besides spitting through the log files......
Hmm, In my situation: I e-mail every alert (when it happens, no time restriction). So I can use that mailbox to have an overview of what happens when. But, I send only a SMS out of a time restriction. (and I want to know the current status at the end of that time restriction, if it's bad.)

Regards,
Gert
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

I want to know the current status at the end of that time restriction
This is already possible, you should create two tests:

1. Test outside the time restriction, e-mail and pager alert
2. Test inside the time restriction, e-mail alert only

So don't think time restriction, think test schedule.

1. Test with e-mail and pager alert, with test schedule A
2. Test with e-mail alert only, with test schedule B

When the A and B schedules together have 24 hours, you have the desired behaviour. When schedule B stops and Schedule A starts, the test will start as soon as possible because when a test comes out it's "Out of Schedule" time, a test is started.
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

Ok, but I will not make 2 tests for each test ...

Regards,
Gert
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Ok, but I will not make 2 tests for each test ...
In that case you have to wait for Alex, if he can find another solution for this problem......

btw: It isn't the work that should hold you back. Using the 'copy' and 'edit' features of HM it can be done relatively fast (and it is a one time only change).
Post Reply