Werk #7214: Interface checks: Introduce scan function API

Component Checks & agents
Title Interface checks: Introduce scan function API
Date Mar 8, 2019
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In the past conflicting check plugins with services called Interface <ITEM> could lead to a "duplicate services" warning on the discovery page.

To avoid this issue in the future, an API is now provided:

If you add a new Interface <ITEM>- service, please add register the scan function by decorating it with the line @network_interface_scan_registry.register. The matching devices will then be automatically excluded from the generic if and if64 check plugins.

To the list of all Werks