Incorrect results of the "icinga" check

Hello,

I’ve Icinga2 2.15.1 setup with 2x Masters and multiple satellites zones running Ubuntu 24.04. I’ve setup “icinga” check for all nodes. However the result of the check doesn’t seem right to me. It reports incorrect time of the icinga service being up. It time doesn’t match with the “systemctl status icinga2” status. Moreover inadvertently a host got this check assigned and it wasn’t running “icinga2” service. In spite of that, the check is reported it the service has been up and running since … and icinga2 version info. I’ve had a satellites host ( running icinga2 2.10 ) added in this cluser and the check reports the version as 2.15.1

Any idea what could be wrong? Thank

are you running the check correctly?

If you run it as an agent service with the command_endpoint set correctly it will return the values from the agent otherwise it will return the values from the master or satellite from the zone above.

for director you need to set Run on agent=Yes and the host also needs the attribute Icinga2 Agent = Yes

systemctl status icinga2 no longer restarts on reload as the top process is now a wrapper that manages the config reload. Because of this the icinga check uptime changes on config reload but the service runtime isn’t resetting.

1 Like

Yeah maybe the check isn’t setup correctly I guess. There is no icinga agent or director in this setup.I’ve setup this check in the master zone for all both masters and satellites. How do I ensure it is setup correctly? Do I need to move satellites check in their respective zones?

Thanks

If you don’t setup agents and configure the command_endpoint your checks will always run on the master or on the satellite