Werk #17112: ICMP Echo Request (Ping): Off-by-one error in active check

Component Checks & agents
Title ICMP Echo Request (Ping): Off-by-one error in active check
Date Jun 26, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This fixes a regression in Checkmk version 2.3. When using the setting "Ping IP address identified by its index" of the plugin ICMP Echo Request (Ping), the used address was off by one.

The fix is incompatible for users that have accounted for this error and changed their rule.

To avoid mistakes in the future, we've added a hint to the rule, and validate that the configured index is equal to or larger than 1.

To the list of all Werks