Werk #19136: Aruba PSU: Don't calculate load percentage for powered off PSU
| Component | Checks & agents | ||||||
| Title | Aruba PSU: Don't calculate load percentage for powered off PSU | ||||||
| Date | Mar 5, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
The PSU check previously crashed when calculating the load percentage if the device reported a max wattage of 0, resulting in a division by zero error. This issue occurred when powering off an already discovered PSU, potentially disrupting monitoring.
With this fix, the check now verifies whether the device reports a max wattage higher than 0 before attempting the load percentage calculation. If the max wattage is 0 or less, the calculation is safely skipped, preventing crashes and improving overall stability.
No user action is required.