Werk #12892: mk_sap.py: Run Python2 version on hosts with Python2 and Python3

Component Checks & Agents
Title mk_sap.py: Run Python2 version on hosts with Python2 and Python3
Date May 18, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p5
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The agent plugin mk_sap.py ("SAP R/3 monitoring plugin") is not compatible with python 3, because the used third party library (`sapnwrfc`) is only available for Python2. This Werk ensures that the Python2 version is used on monitored hosts that provide both Python versions.

To the list of all Werks