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 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
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.