Werk #17878: apc_symmetra_test: Fix crash when "Time since last UPS selftest" is configured

Component Checks & agents
Title apc_symmetra_test: Fix crash when "Time since last UPS selftest" is configured
Date Apr 7, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

If the "Time since last UPS selftest" under "Setup > Services > Service monitoring rules > UPS selftest" option is configured and used for the apc_symmetra_test service, it crashes with the error

TypeError ('>=' not supported between instances of 'int' and 'str')

This has been fixed.

To the list of all Werks