Werk #17529: apc_ats_status: Handle undefined power supply status
| Component | Checks & agents | ||||||
| Title | apc_ats_status: Handle undefined power supply status | ||||||
| Date | Mar 21, 2025 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions | 
 | 
When a "0" in the SNMP data indicates the absence of a power supply (e.g. because the unit does not support this) a ValueError got raised during parsing.
Now this value gets handled without a crash or warning. The absense of the power supply gets noted as "xV power supply not available".
SUP-22815