Werk #16813: Changed aborting behavior for overrunning cached agent plugins
Component | Checks & agents | ||
Title | Changed aborting behavior for overrunning cached agent plugins | ||
Date | May 3, 2024 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
This Werk changes the exact condition under which the Unix agents kill long running cached agent plugins.
Affected are the Checkmk agent plugins for Linux, AIX, Solaris, OpenWrt and FreeBSD.
Previous behavior
Any agent plugin that ran for more that twice its caching interval without generating output was killed by the agent. The agent checked for this every minute.
New behavior
Any agent plugin running for more than twice its caching interval will be killed. It is no longer relevant wether the plugin produces output during that time. The killing is done from within the asynchronous process itself, eliminating any potential danger of inadvertently killing the wrong process.