Hi,
So we have a setup with 2x master 2x satelite. all worked fine untill last week when in noticed the icinga service on the 2nd master stopped. I restarted the service and all was honkydory, for some time, but in the night the second master started to send out notifications for services and host that was already acknowledged. this was only from the 2nd master.
To explain, most service checks are done by the 2x satelites, but all notifications are done by the 2x masters, in a “loadbalenced” way. so i stopped the service on master2 and all is fine.
Read a bit, looked at logs, and noticed something, so i decided to upgrade from 2.11 -> r2.12.1-1.
all looked fine, but after some time same started to happen.
grep “information/Api” from master02 log
[2020-11-24 09:33:04 +0100] information/ApiListener: 'api' started.
[2020-11-24 09:33:04 +0100] information/ApiListener: Started new listener on '[0.0.0.0]:5665'
[2020-11-24 09:33:04 +0100] information/ApiListener: Reconnecting to endpoint 'icingag01.cnt.int' via host 'icingag01.cnt.int' and port '5665'
[2020-11-24 09:33:04 +0100] information/ApiListener: Reconnecting to endpoint 'icingam01.cnt.int' via host 'icingam01.cnt.int' and port '5665'
[2020-11-24 09:33:04 +0100] information/ApiListener: Reconnecting to endpoint 'monitoringvmdb01.cnt.int' via host 'monitoringvmdb01.cnt.int' and port '5665'
[2020-11-24 09:33:04 +0100] information/ApiListener: Reconnecting to endpoint 'icingas01.cnt.int' via host 'icingas01.cnt.int' and port '5665'
[2020-11-24 09:33:04 +0100] information/ApiListener: Reconnecting to endpoint 'icingas02.cnt.int' via host 'icingas02.cnt.int' and port '5665'
[2020-11-24 09:33:04 +0100] information/ApiListener: New client connection for identity 'icingas02.cnt.int' to [10.222.220.62]:5665
[2020-11-24 09:33:04 +0100] information/ApiListener: Sending config updates for endpoint 'icingas02.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'global-templates' to endpoint 'icingas02.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: New client connection for identity 'icingas01.cnt.int' to [10.222.220.61]:5665
[2020-11-24 09:33:04 +0100] information/ApiListener: Sending config updates for endpoint 'icingas01.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'global-templates' to endpoint 'icingas01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'icingas02.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'icingas01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for zone 'zone_bk' to endpoint 'icingas02.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for zone 'zone_bk' to endpoint 'icingas01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: New client connection for identity 'monitoringvmdb01.cnt.int' to [10.222.220.40]:5665
[2020-11-24 09:33:04 +0100] information/ApiListener: Sending config updates for endpoint 'monitoringvmdb01.cnt.int' in zone 'zone_db'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'global-templates' to endpoint 'monitoringvmdb01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'monitoringvmdb01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Finished sending config file updates for endpoint 'monitoringvmdb01.cnt.int' in zone 'zone_db'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing runtime objects to endpoint 'monitoringvmdb01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: New client connection for identity 'icingag01.cnt.int' to [10.222.220.50]:5665
[2020-11-24 09:33:04 +0100] information/ApiListener: Sending config updates for endpoint 'icingag01.cnt.int' in zone 'zone_gr'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'global-templates' to endpoint 'icingag01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'icingag01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Finished sending config file updates for endpoint 'icingag01.cnt.int' in zone 'zone_gr'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing runtime objects to endpoint 'icingag01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: New client connection for identity 'icingam01.cnt.int' to [10.222.220.51]:5665
[2020-11-24 09:33:04 +0100] information/ApiListener: Sending config updates for endpoint 'icingam01.cnt.int' in zone 'master'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'global-templates' to endpoint 'icingam01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'icingam01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for zone 'master' to endpoint 'icingam01.cnt.int'.
[2020-11-24 09:33:04 +0100] information/ApiListener: Syncing configuration files for zone 'zone_bk' to endpoint 'icingam01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'icingag01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'icingag01.cnt.int' in zone 'zone_gr'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'monitoringvmdb01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Sending replay log for endpoint 'icingag01.cnt.int' in zone 'zone_gr'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'monitoringvmdb01.cnt.int' in zone 'zone_db'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Sending replay log for endpoint 'monitoringvmdb01.cnt.int' in zone 'zone_db'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending config file updates for endpoint 'icingas01.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Syncing runtime objects to endpoint 'icingas01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending config file updates for endpoint 'icingas02.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Syncing runtime objects to endpoint 'icingas02.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending config file updates for endpoint 'icingam01.cnt.int' in zone 'master'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Syncing runtime objects to endpoint 'icingam01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'icingam01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'icingam01.cnt.int' in zone 'master'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Sending replay log for endpoint 'icingam01.cnt.int' in zone 'master'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'icingas02.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'icingas02.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Sending replay log for endpoint 'icingas02.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'icingas01.cnt.int'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'icingas01.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Sending replay log for endpoint 'icingas01.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending replay log for endpoint 'monitoringvmdb01.cnt.int' in zone 'zone_db'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing endpoint 'monitoringvmdb01.cnt.int' in zone 'zone_db'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished reconnecting to endpoint 'monitoringvmdb01.cnt.int' via host 'monitoringvmdb01.cnt.int' and port '5665'
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending replay log for endpoint 'icingag01.cnt.int' in zone 'zone_gr'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing endpoint 'icingag01.cnt.int' in zone 'zone_gr'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished reconnecting to endpoint 'icingag01.cnt.int' via host 'icingag01.cnt.int' and port '5665'
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending replay log for endpoint 'icingas02.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing endpoint 'icingas02.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished reconnecting to endpoint 'icingas02.cnt.int' via host 'icingas02.cnt.int' and port '5665'
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending replay log for endpoint 'icingas01.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing endpoint 'icingas01.cnt.int' in zone 'zone_bk'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished reconnecting to endpoint 'icingas01.cnt.int' via host 'icingas01.cnt.int' and port '5665'
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished sending replay log for endpoint 'icingam01.cnt.int' in zone 'master'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished syncing endpoint 'icingam01.cnt.int' in zone 'master'.
[2020-11-24 09:33:05 +0100] information/ApiListener: Finished reconnecting to endpoint 'icingam01.cnt.int' via host 'icingam01.cnt.int' and port '5665'
[2020-11-24 09:33:17 +0100] information/ApiListener: Applying config update from endpoint 'icingam01.cnt.int' of zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Received configuration for zone 'director-global' from endpoint 'icingam01.cnt.int'. Comparing the timestamp and checksums.
[2020-11-24 09:33:17 +0100] information/ApiListener: Our production configuration is more recent than the received configuration update. Ignoring configuration file update for path '/var/lib/icinga2/api/zones-stage/director-global'. Current timestamp '2020-11-24 05:15:40 +0100' (1606191340.990582) >= received timestamp '2020-11-24 05:15:40 +0100' (1606191340.990582).
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/001-director-basics.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/commands.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/host_templates.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/hostgroups.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/service_apply.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/service_templates.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/director-global//director/user_templates.conf' for zone 'director-global'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Applying configuration file update for path '/var/lib/icinga2/api/zones-stage/director-global' (12796 Bytes).
[2020-11-24 09:33:17 +0100] information/ApiListener: Received configuration for zone 'global-templates' from endpoint 'icingam01.cnt.int'. Comparing the timestamp and checksums.
[2020-11-24 09:33:17 +0100] information/ApiListener: Our production configuration is more recent than the received configuration update. Ignoring configuration file update for path '/var/lib/icinga2/api/zones-stage/global-templates'. Current timestamp '2020-11-24 05:15:40 +0100' (1606191340.896365) >= received timestamp '2020-11-24 05:15:40 +0100' (1606191340.896365).
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/global-templates//_etc/commands.conf' for zone 'global-templates'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Applying configuration file update for path '/var/lib/icinga2/api/zones-stage/global-templates' (8591 Bytes).
[2020-11-24 09:33:17 +0100] information/ApiListener: Received configuration for zone 'master' from endpoint 'icingam01.cnt.int'. Comparing the timestamp and checksums.
[2020-11-24 09:33:17 +0100] information/ApiListener: Our production configuration is more recent than the received configuration update. Ignoring configuration file update for path '/var/lib/icinga2/api/zones-stage/master'. Current timestamp '2020-11-24 05:15:40 +0100' (1606191340.895572) >= received timestamp '2020-11-24 05:15:40 +0100' (1606191340.895572).
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/host_templates.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/hosts.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/notification_apply.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/notification_templates.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/services.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/usergroups.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/master//director/users.conf' for zone 'master'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Applying configuration file update for path '/var/lib/icinga2/api/zones-stage/master' (78811 Bytes).
[2020-11-24 09:33:17 +0100] information/ApiListener: Received configuration for zone 'zone_bk' from endpoint 'icingam01.cnt.int'. Comparing the timestamp and checksums.
[2020-11-24 09:33:17 +0100] information/ApiListener: Our production configuration is more recent than the received configuration update. Ignoring configuration file update for path '/var/lib/icinga2/api/zones-stage/zone_bk'. Current timestamp '2020-11-24 05:15:40 +0100' (1606191340.988809) >= received timestamp '2020-11-24 05:15:40 +0100' (1606191340.988809).
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/zone_bk//director/host_templates.conf' for zone 'zone_bk'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/zone_bk//director/hosts.conf' for zone 'zone_bk'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/zone_bk//director/service_apply.conf' for zone 'zone_bk'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/zone_bk//director/service_templates.conf' for zone 'zone_bk'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/zone_bk//director/services.conf' for zone 'zone_bk'.
[2020-11-24 09:33:17 +0100] information/ApiListener: Applying configuration file update for path '/var/lib/icinga2/api/zones-stage/zone_bk' (3852850 Bytes).
[2020-11-24 09:33:17 +0100] information/ApiListener: Received configuration updates (4) from endpoint 'icingam01.cnt.int' are equal to production, skipping validation and reload.