Werk #5038: Datasource programs: Prevent zombie processes in case of timeouts

Component Core & setup
Title Datasource programs: Prevent zombie processes in case of timeouts
Date Jul 24, 2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8p26 1.4.0p9 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When using datasource programs (like e.g. special agents or SSH command line calls) to get agent data from hosts it may happen that these programs remain open as zombie processes. Check_MK has been extended to deal with this situation and clean up these processes.

Details: When the program 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