Is there a way to get only one notification for a trigger, instead of a Problem/Ok pair? For some triggers they just don't make sense, e.g. "Server was rebooted" or "DSL connection resynched" - all I need for these is a single notification.
Ad Widget
Collapse
Trigger: Single notification only
Collapse
X
-
Hi,
In your configuration of actions, you should:- add condition Trigger value = "PROBLEM"
- uncheck "recovery message"
If you have only one action scenario for all your triggers, you may have to create a new scenario and add conditions to select the triggers you want to manage in each scenario.
regards,
Alixen -
Greetings,
Sure. It's not simple, but there are a couple different ways to do it. Personally, the way I prefer to do it is have an action for problem with fairly generic limiters, then a more strict one for recoveries.
For example, my problem action doesn't care what host group or application the trigger is coming from, but my recovery will not notify on alerts in the '__SILENT__' host group.
And before you ask, I use the '__' to help ensure that when I look at the list of host groups, it shows up near the bottom of the list.
Comment
-
Solved
The problem with doing it by host group is that it's specific to certain triggers, not to certain hosts. So for example if the host is a DSL router, it has a trigger for "Router restarted" which I just want a single notification for. It also has a couple other triggers such as "DSL down" for which I want the regular PROBLEM/OK notification pairs. So I can't really filter them by a host group, I need to filter by trigger.
I've found a solution that works, by setting actions and triggers up like so:- One action for Trigger value = PROBLEM
- One action for Trigger value = OK, except if the trigger name contains my keyword "SINGLENOTIFY" (trigger description -> not like)
- Append my keyword "SINGLENOTIFY" to all Triggers where I just want a PROBLEM and no OK notification.
Screenshot to illustrate Action config.Comment
Comment