Werk #20254 · Aug 7, 26
innovaphone_licenses: fix division by zero error
The Licenses service on Innovaphone devices went UNKNOWN with a crash report when a device reported a total of 0 licenses (for example a misconfigured or not-yet-licensed system), since the utilization percentage was computed as a division by zero.
A total of 0 no longer crashes the check; the service instead reports state UNKNOWN with "Utilization: n/a", while still showing the used and total counts.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p12All Editions
- 2.4.0p36All Editions