Werk #23133: cmcdump: Fix parents with -C and -p
| Component | The Checkmk Micro Core | ||
| Title | cmcdump: Fix parents with -C and -p | ||
| Date | Nov 16, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Incompatible - Manual interaction might be required | ||
| Checkmk versions & editions |
|
cmcdump -C -p PREFIX didn't add the prefix to the parents of the dumped
hosts, so the importing site looked them up among its own hosts. The parents
now get the prefix, too.
This is incompatible if the importing site has a host named like a parent: It
is no longer the parent. To keep it, adjust shadow_hosts in a conf.d file
loaded after the dump. If you added the prefix to the parents yourself, remove
that.