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

Component Checks & agents
Title Commandlets of active checks and special agents may be passed None as IP address
Date Dec 18, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0b1
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required

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.

To the list of all Werks