Werk #13026: agent plugin mk_db2.linux: fix timeout

Component Checks & agents
Title agent plugin mk_db2.linux: fix timeout
Date Jul 16, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0b1 2.0.0p9 1.6.0p25
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When the db2 queries take longer than 10 seconds, the command is terminated.

Before this fix the termination did not work out as expected: Only the currently running command was terminated, but the script was still running in the background. This lead to a very confusing output: The output of the terminated script was interleaved with the output of the remaining script. The sections where mixed up and various other db2 checks crashed with strange error messages.

To the list of all Werks