From noreply@github.com Thu Jul 15 16:52:13 2021 From: =?utf-8?q?J=C3=B6rg?= Herbel To: checkmk-commits@lists.checkmk.com Subject: [checkmk-commits] [tribe29/checkmk] c8e202: 12985 FIX Local Checks: Make Min/Max Values Truly ... Date: Thu, 15 Jul 2021 07:52:11 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2291086272514302175==" --===============2291086272514302175== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Branch: refs/heads/2.0.0 Home: https://github.com/tribe29/checkmk Commit: c8e202d416699a1e5b557050581d67d7a94ad445 https://github.com/tribe29/checkmk/commit/c8e202d416699a1e5b557050581d6= 7d7a94ad445 Author: Joerg Herbel 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 --===============2291086272514302175==--