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

Komponente Core & setup
Titel Datasource programs: Prevent zombie processes in case of timeouts
Datum 24.07.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.8p26 1.4.0p9 1.5.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein 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.

Zur Liste aller Werks