Werk #13479: Commandlets of active checks and special agents may be passed None as IP address

Komponente Checks & agents
Titel Commandlets of active checks and special agents may be passed None as IP address
Datum 18.12.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

This werk only affects users who have implemented their own plugins for active checks or special agents (the ones commonly named checks/check_* and checks/agent_*).

The functions implemented in those plugins have to a accept the IP address of the host as an argument. For hosts without an IP address they used to get passed "0.0.0.0" or "::0". This has been changed to None. Since most of these functions simply pass it on in a list, this should not make any difference.

Zur Liste aller Werks