Werk #6116: mk_db2.linux: major refactoring of the plugin to solve different issues

Komponente Checks & agents
Titel mk_db2.linux: major refactoring of the plugin to solve different issues
Datum 27.06.2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.5.0b8 1.5.0i2
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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.

Zur Liste aller Werks