Werk #5038

KomponenteCore & Setup
TitelDatasource programs: Prevent zombie processes in case of timeouts
Datum2017-07-24 16:52:05
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p9,1.5.0i1,1.2.8p26
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

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.