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

Lars Michelsen lm at mathias-kettner.de
Wed Feb 22 11:11:28 CET 2017


ID:          8155
Title:       Fix detection of inactive hosts when using Pages feature of PNP4Nagios
Component:   cmc
Level:       1
Class:       Bug fix
Version:     1.2.7i1

The <i>Pages</i> 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 <tt>.xml.new</tt>
file frist and then renaming this to <tt>.xml</tt>. This also avoids very
short times where the file is empty.



More information about the checkmk-werks-lvl1 mailing list