Werk #15768: siemens_plc_duration: Fix crash if duration is smaller than a second
Komponente | Checks & agents |
Titel | siemens_plc_duration: Fix crash if duration is smaller than a second |
Datum | 28.06.2023 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.1.0p31 2.2.0p6 2.3.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.