Werk #19875 · May 7, 26
aruba_sw_temp: tolerate additional MIB sensor states
Aruba CX switches can report sensor states beyond the four (fault, normal, emergency, absent) that the temperature check modeled.
On firmware that returns warning (and similar states such as min, max, low_critical, critical, not_present, not_applicable), the Check_MK Discovery service crashed with KeyError: 'warning' and the Temperature services on the affected switches went stale.
With this fix the check tolerates these additional states.
The warning state is now recognized and reflected as WARN in the temperature service.
Any other unknown state the device might report is reported as UNKNOWN with the raw vendor string in the summary, instead of crashing the discovery.
No user action is required.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p3All Editions
- 2.4.0p30All Editions