Page 2 of 4

Re: Multiple email notifications

Posted: Fri Oct 05, 2012 2:51 am
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

Re: Multiple email notifications

Posted: Fri Oct 05, 2012 7:46 am
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

Re: Multiple email notifications

Posted: Fri Oct 05, 2012 9:48 am
by aap
Thanks for that.

I have ran those commands but unfortunately, it did not make a difference.

Re: Multiple email notifications

Posted: Fri Oct 05, 2012 3:37 pm
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....

Re: Multiple email notifications

Posted: Mon Oct 08, 2012 6:10 am
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.

Re: Multiple email notifications

Posted: Mon Oct 08, 2012 11:33 am
by scottwilkerson
Are the email addresses distribution lists?

If so, does everyone get duplicates?

Re: Multiple email notifications

Posted: Tue Oct 09, 2012 3:43 am
by aap
Thnaks for your reply.

Yes they are distribution lists and every one gets the duplicates.

Re: Multiple email notifications

Posted: Tue Oct 09, 2012 11:13 am
by scottwilkerson
Can you run the following and report the output

Code: Select all

ps -ef|grep bin/nagios

Re: Multiple email notifications

Posted: Wed Oct 10, 2012 2:32 am
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

Re: Multiple email notifications

Posted: Wed Oct 10, 2012 2:56 am
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?