Werk #18972: apc_netbotz_drycontact: Use configured sensor state as base instead of static states

Component Checks & agents
Title apc_netbotz_drycontact: Use configured sensor state as base instead of static states
Date Nov 4, 2025
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p16
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p41
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Checkmk did not alert when normally closed contacts opened because the open state was always considered OK.

Checkmk now respects each sensor’s configured state settings. The Checkmk state for a sensor depends directly on the configuration defined within that sensor.

For example, if a sensor’s normal state is set to "closed", an "open" state will be reported as invalid, and vice versa. This ensures alerts accurately reflect the sensor’s intended behavior, reducing false positives and false negatives.

Additionally, Checkmk now uses the severity defined in the sensor configuration instead of a static default severity.

Review sensor configurations and alert rules to ensure alignment; no manual action is required unless alert patterns change unexpectedly.

To the list of all Werks