Hi All,
At our Icinga2 setup updating host IP address by API reflects at the Icinga2 Web, however, the host configuration file is not updated with the IP address. May I know is there anywhere else where Icinga keep the updated IP address? It is a little bit strange that the device got different IP at backend config file and at the web.
By running icinga2 object list --type host --name HOSTNAME, I get the old IP not the updated one.
Update:
Hi All,
I’ve found the update at file /var/lib/icinga2/modified-attributes.conf.
I guess Icinga should load that file also if I restart the service or the server? Can anyone please confirm me?
Update:
I’ve tested this and all good. Icinga load the file /var/lib/icinga2/modified-attributes.conf at service restart, server restart. Thanks.