Werk #11979: apache_status: HTTPS support for Python 2.6, 3.0, 3.1, 3.2, 3.3, 3.4
Komponente | Checks & agents |
Titel | apache_status: HTTPS support for Python 2.6, 3.0, 3.1, 3.2, 3.3, 3.4 |
Datum | 24.02.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0b8 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
In some python versions (2.6, 3.0, 3.1, 3.2, 3.3, 3.4) the agent plugin 'apache_status' crashed with the error message: "Exception (...: urlopen() got an unexpected keyword argument 'context'". This happens only if an HTTPS connection is established. The reason for this is that in previous Python versions "urllib.urlopen" did not support the 'context' parameter. This werk introduces an alternative handling of "urllib.urlopen" for affected python versions. If you want to use this feature you have to redeploy this agent plugin.