Branch: refs/heads/2.1.0
Home:
https://github.com/Checkmk/checkmk
Commit: 960d8e4b3a105b6fa8a6bb82101db6ab743657fa
https://github.com/Checkmk/checkmk/commit/960d8e4b3a105b6fa8a6bb82101db6ab7…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A .werks/15768
M checks/siemens_plc
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