Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #15768: siemens_plc_duration: Fix crash if duration is smaller than a second

Component Checks & agents
Title siemens_plc_duration: Fix crash if duration is smaller than a second
Date Jun 28, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p6 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p31 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Previously, siemens_plc_duration check would crash if duration was smaller than a second with an error:

ValueError (invalid literal for int() with base 10: '0.05000000074505806')

Now, the check doesn't crash anymore and it's possible to input thresholds smaller than a second in the "Siemens PLC Duration" monitoring rule.

To the list of all Werks