Notification with email copy

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
opensys
Posts: 17
Joined: Fri Sep 27, 2013 7:58 am

Notification with email copy

Post by opensys »

Hi.
We'd like to send notification to a contact with a copy to a few emails. We found that in Nagios XI in configuration of contacts exist fields named Addon Address 1 until 6. I wonder if these fields are for this purpose, or how to accomplish this task.

Best Regards

Ronaldo
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notification with email copy

Post by abrist »

Out of the box, the addon emails do nothing. You would need to create a custom script, pass the script the addon email macros, and then send to those addresses.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
opensys
Posts: 17
Joined: Fri Sep 27, 2013 7:58 am

Re: Notification with email copy

Post by opensys »

And you can give me a direction to start ? I'll have to customize?
abrist wrote:Out of the box, the addon emails do nothing. You would need to create a custom script, pass the script the addon email macros, and then send to those addresses.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Notification with email copy

Post by sreinhardt »

Your best bet would probably be to start with the XI notification script /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php. You would then also either need to modify or copy and modify the XI notification handlers in core config manager.
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.
Locked