Werk #15736: check_traceroute: Report correct number of hops

Component Checks & agents
Title check_traceroute: Report correct number of hops
Date May 10, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p36 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The active check check_traceroute, configurable via the ruleset Check current routing, always reported one hop too many when outputting the number of hops. This affected both the textual result and the recorded metric.

To the list of all Werks