Duplicate servervice notification

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Duplicate servervice notification

Postby sandeepatil » Wed Nov 13, 2019 7:00 am

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.
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate server vice notification

Postby benjaminsmith » Wed Nov 13, 2019 3:47 pm

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!
User avatar
benjaminsmith
 
Posts: 1955
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate servervice notification

Postby sandeepatil » Thu Nov 14, 2019 8:33 am

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: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Postby sandeepatil » Thu Nov 14, 2019 8:39 am

which cfg's are you want check.
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Postby benjaminsmith » Thu Nov 14, 2019 2:51 pm

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!
User avatar
benjaminsmith
 
Posts: 1955
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate servervice notification

Postby sandeepatil » Tue Nov 19, 2019 12:27 pm

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
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: Duplicate servervice notification

Postby benjaminsmith » Tue Nov 19, 2019 12:37 pm

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!
User avatar
benjaminsmith
 
Posts: 1955
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Duplicate servervice notification

Postby sandeepatil » Tue Nov 19, 2019 12:39 pm

Ok, Thanks for help
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am


Return to Nagios Core

Who is online

Users browsing this forum: mbellerue and 16 guests