Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: b510bcb985880b9cb7782227e7ca5b69c626e58c
https://github.com/Checkmk/checkmk/commit/b510bcb985880b9cb7782227e7ca5b69c…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
A .werks/15768
M cmk/base/legacy_checks/siemens_plc.py
M cmk/gui/plugins/wato/check_parameters/siemens_plc_duration.py
Log Message:
-----------
15768 siemens_plc_duration: Fix crash if duration is smaller than a second
Previously, siemens_plc_duration check would crash if duration was smaller
than a second with an error:
C+:
ValueError (invalid literal for int() with base 10: '0.05000000074505806')
C-:
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.
SUP-14553
Change-Id: I203a589e718b1a0471f471843d85bb20b959902e