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

Komponente Checks & agents
Titel agent plugin mk_db2.linux: fix timeout
Datum 16.07.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.6.0p25 2.0.0p9 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks