On Nov 14, 2008, at 9:34 PM, russ81 wrote:
> I am having a bit of an issue.  When an alert is triggered it is  
> sending multiple copies of the email.  The emails are exactly the  
> same and the Repeat Time is set to Does not repeat.  Has anyone had  
> this issue or know of a fix so only one email is sent per event?

Do you get about one per minute? If so it may be something to do with  
a malfunction in the alert_state mechanism.

When the zenaction daemon cycles through (once per minute) it sends  
alerts out for any events that match any of your enabled alerting  
rules. As it sends an email alert out it checks to see if the email  
was delivered successfully to your defined SMTP server. If the  
delivery was successful it adds a row to the alert_state table in the  
MySQL events database. However, if it determines for any reason that  
the email failed to be sent it does not add this row to the  
alert_state table. This will cause zenactions to try sending the same  
email alert again the next time it cycles through.

So there could be a couple things happening. Either zenactions thinks  
that the email delivery was unsuccessful when it actually did succeed,  
or there is something wrong with the alert_state table. I would  
recommend taking a look at your $ZENHOME/log/zenactions.log file to  
see if anything interesting pops up.

I'd also check to make sure that there is only one copy of the  
zenactions daemon running.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to