Werk #13026: agent plugin mk_db2.linux: fix timeout
| Component | Checks & agents | ||||||
| Title | agent plugin mk_db2.linux: fix timeout | ||||||
| Date | Jul 16, 2021 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.