Werk #22642: hr_cpu: Don't crash on empty processor load
| Component | Checks & agents | ||||||
| Title | hr_cpu: Don't crash on empty processor load | ||||||
| Date | Oct 14, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
If a device reported an empty processor load in the HOST-RESOURCES-MIB
(hrProcessorLoad) for one of its processors, the CPU utilization
service crashed with
ValueError: invalid literal for int() with base 10: ''.
The service now goes to UNKNOWN and names the processor whose load could not be read, together with the value received. The utilization of the remaining processors is still reported.