Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19854: rmon_stats: treat empty SNMP counters as zero

Component Checks & agents
Title rmon_stats: treat empty SNMP counters as zero
Date Apr 23, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The rmon_stats section parser crashed with ValueError: invalid literal for int() with base 10: '' if the SNMP agent returned an empty value for any of the eight packet-size counters. A single empty counter aborted parsing for the whole device, so no RMON services could be monitored.

Empty counter values are now treated as zero, keeping the rest of the counters intact.

To the list of all Werks