Hi Team,
We have a requirement to send an email alert to multiple people in a single email.
Current state: 3 emails ids have been associated to receive alert email. 3 different emails are being sent to three ids separately. Here one person does not know if the email has been sent to other two or not. To confirm we will have to log on to the Nagios and check.
Required State: Single email to be sent with all the email ids in "To" so that every one knows who are alerted.
Is there a way to get this done.
Regards,
RIDS_I2MP.
Alert email with multiple recepients
Alert email with multiple recepients
Thanks & Regards,
I2MP Team.
I2MP Team.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Alert email with multiple recepients
Probably the only real way to do this would be to modify the notification commands for contacts or users, depending on which you have configured. Then add a custom macro to the host, service, or template definition for additional addresses, and use the new macros to cc or also to: the other recipients. The only other way I could think of would be similar with multiple custom macros, but a newly written script to handle this.
One other notable exception would be to send to a distribution group or other logical group within your mail system so that the users knew who was also included in that group.
Otherwise it is not directly possible within nagios, as it sends one notification per user per issue, and does not send the notifications to all users with one message.
One other notable exception would be to send to a distribution group or other logical group within your mail system so that the users knew who was also included in that group.
Otherwise it is not directly possible within nagios, as it sends one notification per user per issue, and does not send the notifications to all users with one message.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.