From noreply@github.com Thu Jul 15 16:42:37 2021 From: dsrink To: checkmk-commits@lists.checkmk.com Subject: [checkmk-commits] [tribe29/checkmk] c8ad76: 12985 FIX Local Checks: Make Min/Max Values Truly ... Date: Thu, 15 Jul 2021 07:42:35 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0728834771302240389==" --===============0728834771302240389== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/tribe29/checkmk Commit: c8ad7664e19461d97d0dfb3f15bb0b070c5e1c82 https://github.com/tribe29/checkmk/commit/c8ad7664e19461d97d0dfb3f15bb0= b070c5e1c82 Author: dsrink Date: 2021-07-15 (Thu, 15 Jul 2021) Changed paths: A .werks/12985 M cmk/base/plugins/agent_based/local.py Log Message: ----------- 12985 FIX Local Checks: Make Min/Max Values Truly Optional As stated in the documentation, min/max values are optional in the output of local checks. However, this was not fully implemented. Omitting min/max values in the output, i.e. a=3D5;3:7;2:8, worked, but empty values such as a=3D5;3:7;2:8;;, resulted in ValueError: could not convert string to float: '' on the Checkmk server. This has been fixed. Closes #382 Change-Id: I69e4a72c8afa6391dcb3947c026088aabd77fdb0 --===============0728834771302240389==--