Multiple alerts per test

Need new test, action, option? Post request here.
Post Reply
avery_larry
Posts: 25
Joined: Thu Sep 11, 2008 11:06 am

Multiple alerts per test

Post by avery_larry »

I basically have 8 different alerts that I use for most of my tests:

Email address 1, immediate
Email address 1, delayed
Email address 2, immediate
Email address 2, delayed
etc. for 4 differenet email addresses.

In general, each test will send an email to 2 different email addresses either immediately or delayed. Thus I end up with 16 additional tests which really are just combinations of the 8 basic tests. I'd like to be able to define just the 8 basic tests and then assign multiple alerts to each test.

An alternative would be to create a table of "Bad actions" and a table of "good actions" that could be selected from for each test. At least then I wouldn't have to create the exact same actions for multiple action profiles.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Looks like you really need to read the manual.
You need just 1 alert profile and 2 actions. That's it

On the other hand, may be I misunderstand term "delayed"? What exactly this means? Start action after 2nd consecutive failure of the test item?

Regards
Alex
avery_larry
Posts: 25
Joined: Thu Sep 11, 2008 11:06 am

Post by avery_larry »

I know how to setup multiple actions for a single action profile. What I want to do is avoid entering the exact same single action that is appropriate for multiple action profiles.

Example: I have a variety of different types of tests. I want ALL tests that fail to send an email to admin@mydomain.com. In addition, for all disk space checks I want to send an email to diskspace@mydomain.com. For all my login failure alerts I want an email sent to admin@mydomain.com and an email to myboss@mydomain.com and an email to theowner@mydomain.com and an email to logins@mydomain.com

Continue that out for, say, 8 different types of tests and 4 (or more)different email addresses. I could end up with 32 different action profiles--and every one of them contains the exact same single action (send an email to admin@mydomain.com). Several of them would have email to myboss@mydomain.com etc. I end up entering that single action 32 times. I know it's just busywork, but it would be nice to have those individual actions have a table (just like you can have multiple action profiles, or multiple schedules to choose from, etc.)

Or perhaps ideally -- just setup the following action profiles (for example):
email me
email my boss
email the owner
email a customer

And then for each test, just check which of those I want to happen instead of creating 14 different action profiles based on the combinations of those 4 actions.

ps -- in specific, for my setup, I either send an email after 1 failure (immediate) or I send an email after 3 consecutive failures (delayed).
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Thank you for explanation. Now I understand.
Yes, you need many profiles... unless you specify target addresses as lines of test (or folder) comments and use %CommentLine1% (or %CommentLine2%, %CommentLine3%, etc) as parameter of the action.
In such case you will need 1 alert profile with 2 "send e-mail" actions.

Regards
Alex
Post Reply