Werk #3672: Agent sections cached by the agent could cause stale services

Component Checks & agents
Title Agent sections cached by the agent could cause stale services
Date Jul 18, 2016
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8p6 1.4.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

There are situations, when the agent is caching sections and the check interval of a check is configured to a special value, that services will become stale even when the agent could still send cached information.

For example the ntp section which is cached for 30 seconds, wen using a check interval of 120 seconds, could become stale after 180 seconds when the update of the agent cache takes more than 60 seconds. The agent would then throw away the cache which is currently updated and return no ntp section which results in a stale service then.

The fix is now, that in such a situation the agent is processing the old, already cached, section and restarting the cache update immediately (instead of the last run as it was before).

To the list of all Werks