Werk #10184: mtr mk_jolokia apache_status mk_mongodb: Fixed Python 2.5 compatibility of agent plugins

Component Checks & agents
Title mtr mk_jolokia apache_status mk_mongodb: Fixed Python 2.5 compatibility of agent plugins
Date Sep 26, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p2 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The agent plugins need to be executed on older Linux systems which may have very old Python versions available. For this reason we need to use old Python 2 syntax here.

Python plugins that are incompatible to 2.5, for example because some 3rd party library is not available with 2.5, need to be syntax compatible with 2.5 for the moment, but are allowed to terminate with a helpful error message about this incompatibility.

To the list of all Werks