Werk #19527: Fix topology data files deleted on remote sites during activation
| Component | Setup | ||||||
| Title | Fix topology data files deleted on remote sites during activation | ||||||
| Date | Mar 24, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
In distributed monitoring setups, activating configuration changes from the
central site deleted topology data files on remote sites. Files stored under
var/check_mk/topology/data/<site>/ were removed on every activation and had
to be regenerated before the network topology view became available again.
The root cause was that the config sync treated the entire
var/check_mk/topology/ directory as centrally managed. Any file present on
a remote site but absent on the central site was considered obsolete and
deleted — including topology data files generated locally by agents or
third-party extensions.
The sync now only covers the configuration parts of the topology directory
(configs/ and topology_settings). The data/ subdirectory is no longer
touched during activation, so locally generated topology data persists across
configuration changes.