Hello,
We currently have NagiosXI configured such as in the event of an issue if alerts 3 teams. However, all 3 teams receive emails individually. This makes multiple resources jump into an issue where TeamA doesn't know whether TeamB is going to work on that or not. The mails flow as below:
Each of the circle represent a team and our mail reads as:
And this is all good as it is supposed to be received by us. However, I am wondering if there is a way of instead 3 different mails to 3 teams, can it do something like:
To: Team1
CC: Team2; Team3
In that way, all the teams would be receiving the alerts and everyone is aware that other teams are also notified.
Note: I am not talking about service escalation here, where an alert gets routed to Team2 and as such, when Team1 doesnt take an action.
NagiosXI to send one mail to multiple teams as CC
NagiosXI to send one mail to multiple teams as CC
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI to send one mail to multiple teams as CC
Hi,
Which method are you currently using to send notifications, SMTP or Sendmail? If you are using the later, the following thread shows how you can modify the notification command to include the CC option.
Send email with Subject and CC list in nagios Core
If you using STMP, this would likely require some code changes to work, but I can look into this further.
Benjamin
Reference:
https://linux.die.net/man/8/sendmail.sendmail
Which method are you currently using to send notifications, SMTP or Sendmail? If you are using the later, the following thread shows how you can modify the notification command to include the CC option.
Send email with Subject and CC list in nagios Core
If you using STMP, this would likely require some code changes to work, but I can look into this further.
Benjamin
Reference:
https://linux.die.net/man/8/sendmail.sendmail
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI to send one mail to multiple teams as CC
Hello,
We use SMTP option.
Regards,
Amitabh
We use SMTP option.
Regards,
Amitabh
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI to send one mail to multiple teams as CC
HI Amitabh,
We use phpmailer to handle the SMTP messages, and while this certainly can be done, it's not built into the existing notification scripts that pass the notification variables to phpmailer.
Not sure if this would work for you, but one option would be to combine these teams into one main contact group for notifications.
We use phpmailer to handle the SMTP messages, and while this certainly can be done, it's not built into the existing notification scripts that pass the notification variables to phpmailer.
Not sure if this would work for you, but one option would be to combine these teams into one main contact group for notifications.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI to send one mail to multiple teams as CC
Hi Benjamin,
The current setup is:
Team1 {User11, User12, User13} => Nagios_Contact1
Team2 {User21, User22, User23} => Nagios_Contact2
Team3 {User31, User32, User33} => Nagios_Contact3
Nagios_Contact1, Nagios_Contact2, Nagios_Contact3 => Nagios_ContactGroup.
Are you suggesting the same thing? If yes, it is already in place, however, mails are being recieved by inidividual teams. The issue is Team1 doesn't know if Team2 and Team3 has received the email and taking any action, as there has been situations where all 3 teams were working on the same issue, breaking it more than fixing it
You referenced something about code change, could you please explain further about this?
The current setup is:
Team1 {User11, User12, User13} => Nagios_Contact1
Team2 {User21, User22, User23} => Nagios_Contact2
Team3 {User31, User32, User33} => Nagios_Contact3
Nagios_Contact1, Nagios_Contact2, Nagios_Contact3 => Nagios_ContactGroup.
Are you suggesting the same thing? If yes, it is already in place, however, mails are being recieved by inidividual teams. The issue is Team1 doesn't know if Team2 and Team3 has received the email and taking any action, as there has been situations where all 3 teams were working on the same issue, breaking it more than fixing it
You referenced something about code change, could you please explain further about this?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI to send one mail to multiple teams as CC
Hi,
This would really require me to submit a feature request. For the time being, then there really isn't a better workaround that I can think of that what you have already implemented here.You referenced something about code change, could you please explain further about this?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI to send one mail to multiple teams as CC
Can you put in a feature request please?
Re: NagiosXI to send one mail to multiple teams as CC
I have submitted the request with a link back to this forum post:
Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.FR: XI - Add some sort of CC functionality (to send a single email showing all contacts notified) or an option to see show all contacts the notification was sent to so the contact receiving the email knows who all was notified