Duplicate email notifiations

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tomchattle
Posts: 2
Joined: Wed Jul 12, 2017 12:53 pm

Duplicate email notifiations

Post by tomchattle »

Hello,
We're currently migrating to a new build of NagiosXI and when enabling notifications we get 10 emails for every notification that is shown in the Notifications page in the web console.
Sending a test email to the XI account in question only sends a single email as expected.
The contact in CCM has no additional notification commands, just the ones it pulls from the xi_contact_generic template.
Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate email notifiations

Post by benjaminsmith »

Hi Tom,

Welcome to the Nagios Support Forum! That's quite a few duplicates, have you searched through CCM to make sure you don't have multiple copies of the same contacts?

Also, do you have multiple Nagios processes running?

Code: Select all

 ps -ef | grep nagios.cfg
Please send over the system profile and the contacts receiving duplicates, and I can review your configuration settings. Thanks.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
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!
tomchattle
Posts: 2
Joined: Wed Jul 12, 2017 12:53 pm

Re: Duplicate email notifiations

Post by tomchattle »

We only have 5 contacts total in CCB, only the one of which has the email address that is receiving the duplicate alerts.

Here's a copy of the ps output on the box:

Code: Select all

 ps -ef | grep nagios.cfg
nagios    9298     1  1 11:33 ?        00:01:09 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    9393  9298  0 11:33 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root     21324  6378  0 13:18 pts/0    00:00:00 grep --color=auto nagios.cfg
I tried to send you the profile.zip in a private message but it says I am not authorised to use that feature.

Edit: Sent you the profile in a private message
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate email notifiations

Post by benjaminsmith »

Hi Tom,

Since you are new you need a post count of 2 or higher to send a PM. Sorry about that, but I did get the profile. Unfortunately, a few logs were missing from the profile.

Which contacts are receiving duplicate messages?

Can you attach or PM the following:

1. Nagios Log

Code: Select all

/usr/local/nagios/var/nagios.log
2. Phpmailer log. Turn on debugging in the system settings, Admin > System Config > Email Settings > Logging

Code: Select all

/usr/local/nagiosxi/tmp/phpmailer.log
3. Database log

Code: Select all

/var/log/mariadb/mariadb.log
I noticed some of your contacts (see PM) are using the xi notification command and others are using the Core notification commands. Since you are using SMTP, configure all the contacts to send via xi notification handlers by following the guide below:

Configuring Core Contacts to Use Nagios XI PHPMailer SMTP Settings

4. It looks like you are sending notifications to sns as well. I'm not that familiar with the service but could that be causing additional emails?
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!
Locked