Module: check_mk
Branch: master
Commit: de6d8dea81383f1c847092ad64217d66356f31d9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=de6d8dea81383f…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Dec 13 16:20:23 2017 +0100
6116 FIX mk_db2.linux: major refactoring of the plugin to solve different issues
The refactoring solves the following known issues:
1. Here documents are avoided which should resolve wrong output due to quoting problems.
2. Fix the calculation of the number of database connections.
3. Use a more accurate method to calculate the latency for a database connection.
4. The structure of the plugin was improved for better maintainability.
To use the new version of the plugin it has to be deployed to to the affected hosts.
Futhermore, the script is now required to be accessible and executable by the
instance users to work properly.
Change-Id: If0027ac6044d49d9da23c45d797b424436b1b7dd
---
.werks/6116 | 19 +++
agents/plugins/mk_db2.linux | 321 ++++++++++++++++++--------------------------
checks/db2_connections | 11 +-
checks/db2_counters | 6 +-
4 files changed, 160 insertions(+), 197 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=de6d8dea81…