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
1.5.0i2
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i2
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i2
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i2
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i2
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.
  5. 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.

To the list of all Werks