Werk #5204: Host rename: Fixed broken rename of hosts in rrdcached journal

Component Core & setup
Title Host rename: Fixed broken rename of hosts in rrdcached journal
Date Sep 11, 2017
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When using the new Check_MK rrd format (single value per RRD), the host rename feature was not renaming host specific entries in the journal of the rrdcached.

This resulted in lost RRD values that have not been written to the RRDs yet.

Manual fix: You could stop the rrdcached (or the whole site), go to var/rrdcached and rename the host in the journal files manually, e.g. using sed.

To the list of all Werks