Re: [Nagios-devel] "combining" notification emails?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] "combining" notification emails?

Post by Guest »

=20

> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Ethan Galstad
> Sent: Monday, October 09, 2006 6:32 AM
> To: Nagios-Devel
> Subject: Re: [Nagios-devel] "combining" notification emails?
>=20
> Rob Brown wrote:
> > Currently, as I understand it: the notification logic works=20
> 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=20
> in the contact group.
> > I would love to see a configuration option in Nagios that=20
> would allow
> > ONE message to be sent for each notification with ALL of=20
> the contacts
> > listed in the To: header. This would allow contacts to=20
> "see" who else
> > was notified about this problem and use the "reply to all"=20
> 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=3D0/1
> > 0 =3D default method: seperate message to each contact
> > 1 =3D 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=20
> cannot think of
> > or there is a good reason why not to do it.
> >=20
>=20
> This might be a bit tougher to accomplish than would first=20
> appear. The=20
> reason is that notifications don't necessarily have to be via email -=20
> they are performed by external commands which can do=20
> arbitrary things.=20
> Nagios could be designed to understand combining multiple=20
> messages into=20
> one using multiple To: addresses, but email is just one of=20
> many possible=20
> notification methods (albeit a common one).
>=20
> Another option would be to have Nagios send notifications to=20
> an external=20
> app, which is responsible for grouping notifications together as you=20
> mentioned. Sounds like a good addon project if you ask me. :-)

There are already some available. E.g.:
http://www.nagiosexchange.org/Notificat ... nagext_pi1[
p_view]=3D309
http://www.nagiosexchange.org/Notificat ... nagext_pi1[
p_view]=3D186

Julian





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked