Page 1 of 1
Duplicate servervice notification
Posted: Wed Nov 13, 2019 7:00 am
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.
Re: Duplicate server vice notification
Posted: Wed Nov 13, 2019 3:47 pm
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
Re: Duplicate servervice notification
Posted: Thu Nov 14, 2019 8:33 am
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
Re: Duplicate servervice notification
Posted: Thu Nov 14, 2019 8:39 am
by sandeepatil
which cfg's are you want check.
Re: Duplicate servervice notification
Posted: Thu Nov 14, 2019 2:51 pm
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.
Re: Duplicate servervice notification
Posted: Tue Nov 19, 2019 12:27 pm
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
Re: Duplicate servervice notification
Posted: Tue Nov 19, 2019 12:37 pm
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!
Re: Duplicate servervice notification
Posted: Tue Nov 19, 2019 12:39 pm
by sandeepatil
Ok, Thanks for help