Werk #22642 · Oct 14, 26
hr_cpu: Don't crash on empty processor load
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p18All Editions
- 2.4.0p39All Editions