Hi,
I've had a look at the main RFC for actions (http://www.zabbix.com/forum/showthread.php?t=11433), however I'm struggling to get the action (step) condition 'Event acknowledged = "ACK"' to work.
All I want to do is create an action that, when a trigger is acknowledged, sends an e-mail.
I've tried embedding this step within an existing action - for example, after step 1, execute the acknowledgement step. This doesn't (and probably shouldn't work) because it's a one time thing i.e.
Step 1-1 - send initial "problem" e-mail (if Event acknowledged = "Not Ack")
Step 2-2 - send "acknowledged" e-mail (if Event acknowledged = "Ack")
Step 3-3 - send a "problem reminder" e-mail (if Event acknowledged = "Not Ack")
I did try to use "Step 2-0" (to infinity) however this doesn't work for some reason? i.e.
Step 1-1 - send initial "problem" e-mail (if Event acknowledged = "Not Ack")
Step 2-0 - send "acknowledged" e-mail (if Event acknowledged = "Ack")
Step 3-0 - send a "problem reminder" e-mail (if Event acknowledged = "Not Ack")
I need to get an acknowledgement shortly after the event was acknowledged, ideally. Period delays make this difficult when I need several steps to execute based on the step condition Event - acknowledged (if they work?).
I then experimented with a completely seperate action - but this doesn't work (maybe because the action that sends out the initial problem e-mail is somehow taking ownership of the Event acknowledged functionality?). I just don't know whether having multiple actions for the same trigger applies to the Step conditions - I know that you can have multiple actions based on the same trigger because I've used it.
My only thought is that perhaps instead of the Event acknowledged being a step condition, perhaps there could be a new action condition instead? That way, the action would be evaluated for all my triggers (and so I wouldn't need a step for this in each individual action (more efficient?).
Hope someone can help,
Danny.
I've had a look at the main RFC for actions (http://www.zabbix.com/forum/showthread.php?t=11433), however I'm struggling to get the action (step) condition 'Event acknowledged = "ACK"' to work.
All I want to do is create an action that, when a trigger is acknowledged, sends an e-mail.
I've tried embedding this step within an existing action - for example, after step 1, execute the acknowledgement step. This doesn't (and probably shouldn't work) because it's a one time thing i.e.
Step 1-1 - send initial "problem" e-mail (if Event acknowledged = "Not Ack")
Step 2-2 - send "acknowledged" e-mail (if Event acknowledged = "Ack")
Step 3-3 - send a "problem reminder" e-mail (if Event acknowledged = "Not Ack")
I did try to use "Step 2-0" (to infinity) however this doesn't work for some reason? i.e.
Step 1-1 - send initial "problem" e-mail (if Event acknowledged = "Not Ack")
Step 2-0 - send "acknowledged" e-mail (if Event acknowledged = "Ack")
Step 3-0 - send a "problem reminder" e-mail (if Event acknowledged = "Not Ack")
I need to get an acknowledgement shortly after the event was acknowledged, ideally. Period delays make this difficult when I need several steps to execute based on the step condition Event - acknowledged (if they work?).
I then experimented with a completely seperate action - but this doesn't work (maybe because the action that sends out the initial problem e-mail is somehow taking ownership of the Event acknowledged functionality?). I just don't know whether having multiple actions for the same trigger applies to the Step conditions - I know that you can have multiple actions based on the same trigger because I've used it.
My only thought is that perhaps instead of the Event acknowledged being a step condition, perhaps there could be a new action condition instead? That way, the action would be evaluated for all my triggers (and so I wouldn't need a step for this in each individual action (more efficient?).
Hope someone can help,
Danny.

Comment