Werk #19875: aruba_sw_temp: tolerate additional MIB sensor states
| Component | Checks & agents | ||||||
| Title | aruba_sw_temp: tolerate additional MIB sensor states | ||||||
| Date | May 7, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.