Werk #5444: SNMP commands: Prevent zombie processes in case of timeouts

Component Core & setup
Title SNMP commands: Prevent zombie processes in case of timeouts
Date Nov 13, 2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.4.0p19 1.5.0i2
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

This concerns the RAW edition or users which use CEE/CME edition of Check_MK with deactivated inline SNMP.

When executing SNMP commands like get, getnext, walk or bulkwalk to get agent data from hosts it may happen that these commands remain open as zombie processes. Check_MK has been extended to deal with this situation and clean up these processes.

Details: When the command execution takes too long Check_MK sends a SIGTERM to the process group of the executed program. After sending the signal Check_MK is now waiting for the process to finish.

To the list of all Werks