I set up the following Action:
--ACTION--
Name: Generic Email
Event Source: Trigger
Enable Escalations: checked
Period 3600 seconds
Subject: blah
Message: blah
Recovery Message: checked
Recovery Subject: blah
Recovery Message: blah
Status: Enabled
--CONDITIONS--
Trigger Value = Problem
--ACTION OPERATIONS--
Step: From 1 to 0
Period: 0
Operation Type: Send message
Send Message to: User group, Some group (7 members)
Default message: checked
Conditions: Event acknowledged = Not Ack
Sometimes when the recovery message gets sent, rather than sending 1 recovery message to each of the people in the user group, something goes wrong and it sends a lot extra. The one case I am looking at sent 195 emails across 7 people (27.8 each).
In the debugging logs, I see the process_escalations function start. For some reason, it gets mixed up and inserts the extra messages into the actions table. I'm not too great with C, so I'm having a hard time figuring out where the problem lies.
This is an intermittent issue which only appears to happen for the recovery messages (that I've seen so far). I would guess this occurs roughly 10% of the time or so. After the proccess_escalations completed, it said it took over full second to process everything. Normally the times are around .002 seconds
A section of the debug log (up to a second message going to person1 for the same event) is attached. I had to rename it to a .patch file to be able to attach it.
Even after removing the escalation (and making it a normal action), I had one time where this problem presented itself. As a result, I unchecked the escalation part, and removed the condition. It happened pretty close to when I had only disabled the escalation, so I'm not sure if this problem is limited down to being the trigger status = problem part or not.
Thanks for any help,
DF
--ACTION--
Name: Generic Email
Event Source: Trigger
Enable Escalations: checked
Period 3600 seconds
Subject: blah
Message: blah
Recovery Message: checked
Recovery Subject: blah
Recovery Message: blah
Status: Enabled
--CONDITIONS--
Trigger Value = Problem
--ACTION OPERATIONS--
Step: From 1 to 0
Period: 0
Operation Type: Send message
Send Message to: User group, Some group (7 members)
Default message: checked
Conditions: Event acknowledged = Not Ack
Sometimes when the recovery message gets sent, rather than sending 1 recovery message to each of the people in the user group, something goes wrong and it sends a lot extra. The one case I am looking at sent 195 emails across 7 people (27.8 each).
In the debugging logs, I see the process_escalations function start. For some reason, it gets mixed up and inserts the extra messages into the actions table. I'm not too great with C, so I'm having a hard time figuring out where the problem lies.
This is an intermittent issue which only appears to happen for the recovery messages (that I've seen so far). I would guess this occurs roughly 10% of the time or so. After the proccess_escalations completed, it said it took over full second to process everything. Normally the times are around .002 seconds
A section of the debug log (up to a second message going to person1 for the same event) is attached. I had to rename it to a .patch file to be able to attach it.
Even after removing the escalation (and making it a normal action), I had one time where this problem presented itself. As a result, I unchecked the escalation part, and removed the condition. It happened pretty close to when I had only disabled the escalation, so I'm not sure if this problem is limited down to being the trigger status = problem part or not.
Thanks for any help,
DF
Comment