Werk #5205: Host rename: Fixed broken renaming when new name uses dots
Komponente | Core & setup |
Titel | Host rename: Fixed broken renaming when new name uses dots |
Datum | 11.09.2017 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.8p26 1.4.0p12 1.5.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
When using the host rename feature of WATO and setting a new name that contains a dot, for example myhost.domain, the rename failed to set a correct new name. Instead of setting the intended name, the name was set to "myhost[.]domain" in different places.
The affected files are:
- Nagios core: var/nagios/retention.dat
- NagVis maps: etc/nagvis/maps/*.cfg
- Monitoring history of all supported cores:
- var/check_mk/core/history
- var/check_mk/core/archive/*
- var/nagios/nagios.log
- var/nagios/archive/*
In case you did such a rename action, you can stop your site and fix the wrong names in the mentioned files on your own, e.g. by using sed.