Hi folks,
I’m looking for a possibility to rename hosts and services in Icinga 2 without losing their state history.
If I rename a host in my config files, a new one will be created with an empty state history.
I guess it would be pretty unsafe to modify the object_id
colum in the relevant tables (icinga_commenthistory
, icinga_comments
, icinga_downtimehistory
, icinga_flappinghistory
, icinga_statehistory
)?
Is there a preferred method to achieve this?
I know that there are other things to consider (e.g. naming of InfluxDB measurements), but as of now, I’m only concerned about the Icinga 2 side of things.
Cheers,
Markus