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
Notification with email copy
Re: Notification with email copy
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.
"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.
Re: Notification with email copy
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
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.