"combining" notification emails?

Julian Hein jhein at netways.de
Wed Oct 18 23:33:57 CEST 2006


 

> -----Original Message-----
> From: nagios-devel-bounces at lists.sourceforge.net 
> [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf 
> Of Ethan Galstad
> Sent: Monday, October 09, 2006 6:32 AM
> To: Nagios-Devel
> Subject: Re: [Nagios-devel] "combining" notification emails?
> 
> Rob Brown wrote:
> > Currently, as I understand it: the notification logic works 
> roughly as
> > follows: (i know i'm leaving out a lot)
> > 1) service/host goes down.
> > 2) Determine whether or not to send notification
> > 2) If so, iterate through contact group(s) listed for that
> > host/service and run notification command for each user.
> > In this case, a seperate email is sent to each user who is 
> in the contact group.
> > I would love to see a configuration option in Nagios that 
> would allow
> > ONE message to be sent for each notification with ALL of 
> the contacts
> > listed in the To: header. This would allow contacts to 
> "see" who else
> > was notified about this problem and use the "reply to all" 
> feature to
> > generate discussion threads.
> > If it would be possible to "flip" the logic this way via a
> > configuration option, that would rock.
> > aggregate_notifications=0/1
> > 0 = default method: seperate message to each contact
> > 1 = aggregate method: one message to all contacts
> > Currently the notification command is assigned to each contact: I
> > assume this would need to move to the contact group definition.
> > I would interested to hear others' opinions on the topic.
> > Perhaps there is another way to accomplish this that I 
> cannot think of
> > or there is a good reason why not to do it.
> > 
> 
> This might be a bit tougher to accomplish than would first 
> appear.  The 
> reason is that notifications don't necessarily have to be via email - 
> they are performed by external commands which can do 
> arbitrary things. 
> Nagios could be designed to understand combining multiple 
> messages into 
> one using multiple To: addresses, but email is just one of 
> many possible 
> notification methods (albeit a common one).
> 
> Another option would be to have Nagios send notifications to 
> an external 
> app, which is responsible for grouping notifications together as you 
> mentioned.  Sounds like a good addon project if you ask me. :-)

There are already some available. E.g.:
http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[
p_view]=309
http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[
p_view]=186

Julian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list