I send results of checks from remote Nagios to local Nagios via send_gearman plugin. Remote Nagios performs active checks and notifications in own network. Local Nagios performs active checks, notifications in own network and displays services from remote nwtwork.
I need to exclude notification for remote services in local Nagios, because now I receive 2 messages (one from local nagios and one from remote).
Can samebody help me?
Exclude notifications
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Exclude notifications
Could you disable notifications on your local nagios server for the remote services?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Exclude notifications
How I can do it?Box293 wrote:Could you disable notifications on your local nagios server for the remote services?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Exclude notifications
You can just do it on a per service basis or setup a template to handle it:
http://nagios.sourceforge.net/docs/nagi ... ml#service
It may be simpler (if it works) to just disable notifications globally on the remote server within nagios.cfg?
http://nagios.sourceforge.net/docs/nagi ... ml#service
Code: Select all
notifications_enabled 0Re: Exclude notifications
=|jdalrymple wrote:You can just do it on a per service basis or setup a template to handle it:
http://nagios.sourceforge.net/docs/nagi ... ml#serviceIt may be simpler (if it works) to just disable notifications globally on the remote server within nagios.cfg?Code: Select all
notifications_enabled 0
Remote Nagios must notify own services only.
Local (central) Nagios must notify own services only.
Local (central) Nagios must display own and remote services on dashboard.
Therefore, I cannot disable notifications on remote Nagios =(
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Exclude notifications
So then the appropriate solution is to create a template disabling notifications and apply it to all of your remote services - you likely already have the template, just need to adjust the setting.