Multiple email notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: Multiple email notifications

Post by aap »

See attached. This might explain it further. I am a member of only one of the email groups.

Moderator Note: File deleted at user request
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Multiple email notifications

Post by scottwilkerson »

I'm starting to wonder if multiple nagios process are running.

Lets run

Code: Select all

service nagios stop
killall -9 nagios
service nagios start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: Multiple email notifications

Post by aap »

Thanks for that.

I have ran those commands but unfortunately, it did not make a difference.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Multiple email notifications

Post by scottwilkerson »

I would look at the APS & Infrastructure Users by masquerading as them, then clicking on the username in the top right corner and checking the email address. Verify that the addresses that are listed are not the same OR aren't for distribution lists that you are a part of both of....
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: Multiple email notifications

Post by aap »

Thanks for your reply.

I have checked these settings and the addresses are correct. It seems all the more confusing in that not all the servers atht have this configration (2 contact groups) exhibit the problem. Some of them report notifications correctly.

I also tried removing the hosts totally from the database but it does not seem to work everytime. Not certain what else to check.

Server has also been rebooted but that has not fixed it either.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Multiple email notifications

Post by scottwilkerson »

Are the email addresses distribution lists?

If so, does everyone get duplicates?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: Multiple email notifications

Post by aap »

Thnaks for your reply.

Yes they are distribution lists and every one gets the duplicates.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Multiple email notifications

Post by scottwilkerson »

Can you run the following and report the output

Code: Select all

ps -ef|grep bin/nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: Multiple email notifications

Post by aap »

Please see results below:

nagios 6212 1 4 Oct09 ? 00:52:39 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 27300 6212 0 08:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 27407 6212 0 08:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 27817 26159 0 08:28 pts/0 00:00:00 grep bin/nagios
aap
Posts: 180
Joined: Wed Oct 12, 2011 4:01 am

Re: Multiple email notifications

Post by aap »

After running service nagios stop the output is:

nagios 8698 1 5 08:33 ? 00:00:13 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 22608 26159 0 08:37 pts/0 00:00:00 grep bin/nagios

Does this look better?
Locked