Werk #19854 · Apr 23, 26
rmon_stats: treat empty SNMP counters as zero
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p1All Editions