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

Werk #19677: Hardware/software inventory: tolerate textual ifAdminStatus values

Component HW/SW inventory
Title Hardware/software inventory: tolerate textual ifAdminStatus values
Date Apr 13, 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.0b5
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Some SNMP devices report ifAdminStatus and ifOperStatus as textual labels (for example up, down, notPresent) instead of the numeric states defined in the IF-MIB. When the hardware/software inventory parser tried to convert the textual value to an integer it crashed with ValueError: invalid literal for int() with base 10.

The parser now maps the known IF-MIB text labels back to their numeric state values, so inventory is collected correctly for these devices.

To the list of all Werks