Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 348c5fa755051edeeae12a226587a7c72def84a8
https://github.com/Checkmk/checkmk/commit/348c5fa755051edeeae12a226587a7c72…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A .werks/16890
M cmk/base/plugins/agent_based/ewon.py
Log Message:
-----------
16890 FIX check_ewon: ValueError (incomplete format)
Formatting a value with unit `%` would result in an invalid format-string making
`check_ewon`
crash with an exception `ValueError (incomplete format)`.
This change makes `check_ewon` use f-formatting instead of `%`-formatting.
Change-Id: I3d84261c0884dca01db641f41f83a664eca5d8ee
Commit: 1cfe62689b7f7a7b1043db35473923eeba00f18d
https://github.com/Checkmk/checkmk/commit/1cfe62689b7f7a7b1043db35473923eeb…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A .werks/16889
M cmk/base/plugins/agent_based/ewon.py
Log Message:
-----------
16889 FIX ewon: KeyError (device)
An existing rule for `check_ewon` without the mandatory key `device` would result in an
exception
`KeyError (device)`.
This change makes the check function use a default, if `device` is not set.
Change-Id: I6fa4155b4bfd7ad99652716ab7b0b6df41a407c5
Commit: 30f2c20dad119fd6c26418e243a3685aca94231b
https://github.com/Checkmk/checkmk/commit/30f2c20dad119fd6c26418e243a3685ac…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A .werks/16891
M cmk/base/plugins/agent_based/ewon.py
Log Message:
-----------
16891 FIX check_ewon: TypeError ('NoneType' object is not subscriptable) raised
if values for levels are missing
In case values for `levels` are missing and `None` taken instead, running the check
function would
crash with `TypeError ('NoneType' object is not subscriptable)`.
This change hard codes some default values in case no values could be extracted.
Change-Id: Icbdf141d746bb36531b4ad30269019c3748f3eed
Compare:
https://github.com/Checkmk/checkmk/compare/aa75c95dea5c...30f2c20dad11
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications