Duplicate servervice notification

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Duplicate servervice notification

Post by sandeepatil »

We defined host group, contacts and contact group.

Contact groups having multiple contacts and critical notification of same service will send to all contacts defined in contact group, this is causing duplicate notification.

Please help on to avoid duplicate notification.
Last edited by sandeepatil on Thu Nov 14, 2019 10:17 am, edited 1 time in total.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate server vice notification

Post by benjaminsmith »

Hello @sandeepatil,

This is most likely a configuration setting. Can you post/PM your configuration files ( /usr/local/nagios/etc ) and the exact name of the host or service that is sending duplicates?

Another possibility is multiple Nagios processes running. You can run the following to stop Nagios, kill all the process and restart.

Code: Select all

systemctl stop nagios
pkill -9 -u nagios
systemctl start nagios
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!
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Post by sandeepatil »

benjaminsmith wrote:Hello @sandeepatil,

This is most likely a configuration setting. Can you post/PM your configuration files ( /usr/local/nagios/etc ) and the exact name of the host or service that is sending duplicates?

Another possibility is multiple Nagios processes running. You can run the following to stop Nagios, kill all the process and restart.

Code: Select all

systemctl stop nagios
pkill -9 -u nagios
systemctl start nagios
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Post by sandeepatil »

which cfg's are you want check.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate servervice notification

Post by benjaminsmith »

Hello @sandeepatil,

It would be helpful to have the whole directory but at a minimum, the cfg's for the services sending duplicates, contacts.cfg and the nagios.log.
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!
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Post by sandeepatil »

Duplicate notification Issue fixed, we have changed configuration in template.cfg for contact definition.

Now,

We having passive check and need to set active check for host.
Need your help to set below details. We 1000 host and 80k+ services with nagios core

Check Interval: 15min
Max Checks: 1 (i.e. send alert on the first error [Hard State])
Resend Interval: 30min
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate servervice notification

Post by benjaminsmith »

Hello,
Duplicate notification Issue fixed, we have changed configuration in template.cfg for contact definition.
Glad to hear that has been fixed.

Can you post a new thread for the other issue.? We like to keep it to one issue per post/ticket. Thanks!
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!
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Post by sandeepatil »

Ok, Thanks for help
Locked