Werk #8155: Fix detection of inactive hosts when using Pages feature of PNP4Nagios

Komponente The Checkmk Micro Core
Titel Fix detection of inactive hosts when using Pages feature of PNP4Nagios
Datum 04.02.2015
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 1.2.7i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The Pages feature of PNP4Nagios ignores hosts where the performance data is not updated anymore. It does this by looking at the modification time of the directory where the host's RRDs are being stored. Since the Micro Core simply opened the existing XML files for writing when updating them, this modification time never changed and PNP thought that all hosts were dead. This has been fixed by now by always creating a .xml.new file frist and then renaming this to .xml. This also avoids very short times where the file is empty.

Zur Liste aller Werks