I have performed some additional checks by lowering the notification interval 
to 1 minute, these are the results from the last hour:
- 53 notifications in total
- 9 were sent from the satellite in the zone
- 44 were sent from the Icinga2 cluster master

Does anyone have any hints?

I'm running Icinga2.2.3-1 from the Ubuntu PPA.
Master is running Ubuntu 14.04, all satellites are running Ubuntu 12.04.

Regards,
Markus

-----Original message-----
From: Markus Joosten <markus.joos...@plumbe.de>
Sent: Thursday 22nd January 2015 13:50
To: icinga-users@lists.icinga.org
Subject: [icinga-users] Restrict notifications to one specific (satellite) 
endpoint

 


Hello list,

first of all i'd like to thank the Icinga2 guys for providing such an awesome 
piece of software!
I've been using legacy Nagios for many years now and i'm about to replace 
everything with Icinga2.

I'm currently running the following setup for testing and am not sure on how to 
achieve my goals:

- 1 master endpoint hosting the master zone + global configuration zone
- several satellite endpoints which are in separate child zones, each to their 
own (a zone only contains a single endpoint)
- several globally defined templates, notifications, and so on
- every satellite endpoint has the notification feature enabled, and i am 
required to have each endpoint send alert notifications for its own zone 
(that's my main issue so far)

Now when a host located in a child zone goes down i can see that the endpoint 
located in that zone and the global master endpoint take turns in sending the 
notifications.
- usually I receive one notification from the satellite, then one from the 
master endpoint, then one from the satellite again, and so on
- this behavior seems to be somewhat erratic (sometimes its 2-3 notifications 
from one endpoint before switching to the other).
- am pretty sure that i am not seeing duplicate notifications since the 
notification intervals are being met.

I have tried the following steps:
- define "command_endpoint" for host, service, notification and notification 
apply rule to explicitly use the satellite endpoint
- setting "enable_ha = false" in 
/etc/icinga2/features-available/notification.conf
- explicitly setting the variable "zone" for host, service and notification
- define notification, notification apply rule, users in the satellite zone

All this did not have any effect whatsoever.
Can anyone guide me in the right direction? What am i missing here?

Regards from Frankfurt,
Markus

_______________________________________________

icinga-users mailing list

icinga-users@lists.icinga.org

https://lists.icinga.org/mailman/listinfo/icinga-users



_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to