Checkmk 2.0 is here! See what's new.

Werk #1564: check_mk_agent.linux: fix situation where async plugin is not executed after crash

Component Checks & Agents
Title check_mk_agent.linux: fix situation where async plugin is not executed after crash
Date Dec 3, 2014
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 1.2.6b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When executing asynchronous sections or plugins the Check_MK Agent uses run_cached() for putting them in the background. This function creates a cachefile with the extension .new and removes that suffix when the actual plugin has finished. If due to a server crash the file keeps lying around the the plugin would not be executed anymore.

We now remove that file if it is older then twice the cache age and we kill any process that still has open that file. That way we avoid overlapping plugins in case of a real hanger.

To the list of all Werks