Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #18155: apache_status.py: TypeError: urlopen() got an unexpected keyword argument 'cafile'

Component Checks & agents
Title apache_status.py: TypeError: urlopen() got an unexpected keyword argument 'cafile'
Date Sep 10, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p14 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.3.0p37 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

In Python 3.13 the keyword cafile was removed. If this interpreter was used, the agent plug-in apache_status.py would terminate with the following traceback:

TypeError: urlopen() got an unexpected keyword argument 'cafile'

To the list of all Werks