Werk #6116: mk_db2.linux: major refactoring of the plugin to solve different issues
Component | Checks & agents | ||||
Title | mk_db2.linux: major refactoring of the plugin to solve different issues | ||||
Date | Jun 27, 2018 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Incompatible - Manual interaction might be required | ||||
Checkmk versions & editions |
|
The refactoring solves the following known issues:
- Here documents are avoided which should resolve wrong output due to quoting problems.
- Fix the calculation of the number of database connections.
- Use a more accurate method to calculate the latency for a database connection.
- The structure of the plugin was improved for better maintainability.
- The plugin now ignores inactive databases, i.e. it will only collect data for databases which are in the "LIST ACTIVE DATABASES" command.
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.