Closed cite closed 7 years ago
Verify the package structure as mentioned in https://github.com/Icinga/icinga2/issues/3668#issuecomment-282549005 and post your findings here please.
Performing the steps mentioned in your link fixed the problem for the primary configuration master -
thanks a lot. Our installation was missing any files in /var/lib/icinga2/api/packages/_api
, and also had an extraneous conf.d
directory containing comments and downtimes. This is now fixed on the primary configuration master, and the downtimes are visible again.
What would be the easiest way to fix this across the other members of the master zone, our 22 satellites and all clients (it it needs fixing), and how do we prevent this from happening again?
EDIT: As for the first question, I just realized that was a dumb thing to ask: Delete folder, restart Icinga 2 on satellites.
This should be addressed by #5620 which ensures that the activestage name is always set and a package creation is atomoc. In terms of fixing the package - deleting it on the secondary master/satellites should be sufficient. Or you'll manually rsync the stage content, if the sync takes too long.
Ok, thank you for your help. Closing this issue.
After restarting Icinga 2, downtimes for services are lost.
JSON output (
/v1/objects/services?service=muc1pro-ite-1!child-health
) for servicemuc1pro-ite-1!child-health
before restart:And after restarting (even WITHOUT any configuration change):
What other data would you need me to provide?
Your Environment
icinga2 --version
): happens with stock 2.7.1 as well as a 2.7.1 where we included https://github.com/Icinga/icinga2/commit/ef5013b9038b07afc228122bade44dac52396a46 and https://github.com/Icinga/icinga2/commit/1cb39994a565c59df0ebffd424e80e5f898a4181icinga2 feature list
): debuglog gelf graphite livestatus opentsdb perfdata syslogicinga2 daemon -C
):