Werk #2859: Check_MK Discovery/Inventory and HW/SW Inventory services are now always using caches (if available)

Komponente Checks & agents
Titel Check_MK Discovery/Inventory and HW/SW Inventory services are now always using caches (if available)
Datum 03.12.2015
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.8b1 1.2.7i4
Level Bedeutende Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The Check_MK services "Check_MK Discovery", "Check_MK Inventory" and "Check_MK HW/SW Inventory" need data from the Check_MK agent on agent based hosts. These check were contacting the agent on their own on every execution which could lead to logwatch messages not being processed by the agent because they were already processed by the discovery/inventory checks.

We now set these checks to use the agent cache (if available and if recent enough). This makes the checks only contact the agent when neccessary. This should never happen when the host is being monitored regularly because the regular monitoring ensures that the cache is available and up-to-date.

Zur Liste aller Werks