Multiple events created for the same alert.
Re: Multiple events created for the same alert.
198.140.134.10 is an external address (probably Office 365). The Nagios server can't reach port 25 (firewall). I need to go through the gateway: mail.saq.qc.ca to reach it.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multiple events created for the same alert.
The settings for these would be found at Admin -> Email Settings and can be adjusted there, however if you have a firewall blocking, that would have to be taken care of by your firewall team
Re: Multiple events created for the same alert.
Why do you want me to change my email gateway to: 198.140.134.10. Because from the log, you can clearly see that Nagios is sending multiple emails.
[08-10-2020 09:11:30] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:31] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:33] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:33] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:33] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:34] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:34] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:34] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:39] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:39] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:39] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:40] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:30] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:31] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:32] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:33] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:33] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:33] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:34] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:34] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:34] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:35] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:39] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:39] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:39] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[08-10-2020 09:11:40] Message sent! (method=smtp;host=mail.saq.qc.ca;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multiple events created for the same alert.
You posted the below previously:
Your most recent post shows the mail going out properly and being accepted by mail.saq.qc.ca
This was where I got 198.140.134.10 from.typer100 wrote:Hi! Emails are not going out. This is what I got from the /usr/local/nagiosxi/tmp/phpmailer.log.
[08-07-2020 08:47:02] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=198.140.134.10;port=25;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
Your most recent post shows the mail going out properly and being accepted by mail.saq.qc.ca
Re: Multiple events created for the same alert.
This IP was a suggestion by someone in your team, not me. Check the post : Postby tgriep » Thu Aug 06, 2020 3:29 pm
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multiple events created for the same alert.
I apologies for that, I missed that tgriep suggested that, talking to him it sounds like he saw 2 sources in the header your provided and was trying to see if that would be a potential work around.typer100 wrote:This IP was a suggestion by someone in your team, not me. Check the post : Postby tgriep » Thu Aug 06, 2020 3:29 pm
Looking through the profile, the only thing that I see could cause what you showed from the Nagios server side would be if one of the email that you are using for the contacts in the xi_unix_contact_group was a mailing list that also included this same contact.
An additional possibility would be in you had specified Global Event Handler
Admin -> Manage Components -> Global Event Handlers -> Edit Setting
Re: Multiple events created for the same alert.
I have other contact groups for differents alerts that are getting multiple emails. As for the Global Event Handlers extensions, we didn't modify the config.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Multiple events created for the same alert.
Hi @typer,
Appreciate your continued patience. We'll have to troubleshoot this issue further in a remote session, please open a ticket and reference this post.
https://support.nagios.com/tickets/
Thanks,
Benjamin
Appreciate your continued patience. We'll have to troubleshoot this issue further in a remote session, please open a ticket and reference this post.
https://support.nagios.com/tickets/
Thanks,
Benjamin
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!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multiple events created for the same alert.
Moved to ticketbenjaminsmith wrote:Hi @typer,
Appreciate your continued patience. We'll have to troubleshoot this issue further in a remote session, please open a ticket and reference this post.
https://support.nagios.com/tickets/
Thanks,
Benjamin
Locking thread