Werk #22426 · Sep 29, 26
Redfish: discovery no longer crashes on numeric resource IDs
Some Redfish devices, for example certain rack PDUs, report the ID of
a resource as a number instead of text. On such hosts the
Check_MK Discovery service crashed with TypeError: 'item' must be a
non empty string or ommited entirely, got 1, and the resource was not
discovered.
These resources are now discovered and monitored as usual, e.g. a PDU with the ID 1 as PDU 1. Run a service discovery on affected hosts to add them.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p16All Editions
- 2.4.0p39All Editions