Icinga2 distributed monitoring not working properly in icinga2 setup

Hi all,

I am using 2 master with 2 icingaweb2 and 2 satellite 2 db

service checks are not regularly running on master

also Secondary Master does not publish any data from primary master

means if we delete something in Primary Master it is not reflecting to secondary
master

cheers,
Kawhi

Hi,

to help you we need more information:

  • your installed icinga2 version
  • the output of icinga2 feature list
  • your configuration from /etc/icinga2/zones.conf
  • are thre errors in your icinga2.log and the debug.log (if enabled)

take also a look into: https://icinga.com/docs/icinga2/latest/doc/15-troubleshooting/

2 Likes

Hi,

sorry I don’t know what exactly your idea is. Maybe you can make a sketch what you imagine.

Do you mean? two diffrent database systems? icinga should use two diffrent databases?

Maybe this chapter from the docs helps: https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/#high-availability-with-db-ido

Hi Kawhi,

There’s a few things we’d want to see here, can we see the zones.conf from both masters, as well, on the secondary master make sure that:

  • include_recursive "conf.d" is commented out (//) in /etc/icinga2/icinga2.conf
  • /etc/icinga2/features-available/api.conf should look like this:
object ApiListener "api" {
  accept_config = true
  accept_commands = true
}