Werk #6116

KomponenteChecks & Agents
Titelmk_db2.linux: major refactoring of the plugin to solve different issues
Datum2018-06-27 10:30:03
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.5.0i2,1.5.0b8
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätIncompatible - Manual interaction might be required

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.