Werk #19809: dell_idrac_fans: Fix crash when device reports only partial thresholds
| Component | Checks & agents | ||||||
| Title | dell_idrac_fans: Fix crash when device reports only partial thresholds | ||||||
| Date | May 21, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, the Fan service of Dell iDRAC hosts crashed with ValueError: invalid literal for int() with base 10: '' whenever the iDRAC reported only a subset of its fan thresholds — for example only the upper warning level and the lower critical level, with the other two threshold columns left empty.
The check assumed that the device would either report all four thresholds (warning/critical, lower/upper) or none. Real iDRAC firmware however can report any subset and leave the remaining columns as empty strings.
Each empty threshold column is now treated as "not configured" on the device. Thresholds that are present are still applied; missing ones are silently ignored. Services that previously crashed are now monitored normally and use the subset of thresholds the device exposes.
Configurations made via the corresponding fan-speed ruleset are unaffected: rule-provided parameters continue to take precedence over the thresholds reported by the device.