Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: ab2a6dac47f79fc022134b582406b52dfc1c6682
https://github.com/tribe29/checkmk/commit/ab2a6dac47f79fc022134b582406b52df…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
R tests/unit/checks/generictests/datasets/raritan_pdu_plugs_regression.py
A tests/unit/checks/test_raritan_pdu_plugs.py
A tests/unit/checks/test_sentry_pdu.py
Log Message:
-----------
Add unit tests for legacy plugins sentry_pdu and raritan_pdu_plugs
SUP-7169
Change-Id: I2a4015b1cffe11291b0eeef9e647c06149544e7b
Commit: 9d9a25d02241b538f8e54089f2f2426d4e8559dd
https://github.com/tribe29/checkmk/commit/9d9a25d02241b538f8e54089f2f2426d4…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M checks/sentry_pdu
A cmk/base/plugins/agent_based/sentry_pdu.py
M tests/unit/checks/test_sentry_pdu.py
Log Message:
-----------
Implement section sentry_pdu in new API
This commit temporarily breaks the compatibility of the legacy plugin
sentry_pdu with integers as discovered params. The following commits
will fix this.
SUP-7169
Change-Id: I323d1194fe6a769fb63dd556d01fa8e49cd7ca56
Commit: ae10176e1f363a541115db570a07f968e360955e
https://github.com/tribe29/checkmk/commit/ae10176e1f363a541115db570a07f968e…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M checks/raritan_pdu_plugs
M checks/sentry_pdu
M tests/unit/checks/test_raritan_pdu_plugs.py
M tests/unit/checks/test_sentry_pdu.py
Log Message:
-----------
sentry_pdu, raritan_pdu_plugins: fix discovered params + unknown states
Both plugins now use type-safe dicts as discovered params and handle
unknown states properly.
SUP-7169
Change-Id: I097a1bbb43557a25147c312da54b8d7cf0021dc8
Commit: 1efc69d678ab361eb5289023c5deecc7437fa9c9
https://github.com/tribe29/checkmk/commit/1efc69d678ab361eb5289023c5deecc74…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M cmk/gui/plugins/wato/check_parameters/plugs.py
Log Message:
-----------
checks_parameters/plugs.py: Improve formatting and typing
SUP-7169
Change-Id: I2b578a0318a717d530c088992cc7aa998deebf77
Commit: d81714284a818562b279d3b1909679a010920f0d
https://github.com/tribe29/checkmk/commit/d81714284a818562b279d3b1909679a01…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M cmk/gui/plugins/wato/check_parameters/plugs.py
Log Message:
-----------
checks_parameters/plugs.py: Fix transform + typo in ignored_keys
SUP-7169
Change-Id: Iebe314ed55fba913bb6f988ddb3992431c33523b
Commit: ff1c47a898db9e6bae585e230cf268d9ad93a98d
https://github.com/tribe29/checkmk/commit/ff1c47a898db9e6bae585e230cf268d9a…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
A .werks/13118
Log Message:
-----------
13118 FIX <tt>sentry_pdu, raritan_pdu_plugs</tt>: Fix parameter handling
The check plugins <tt>sentry_pdu</tt> and
<tt>raritan_pdu_plugs</tt> both
monitor the status of PDUs. In the discovery phase, both plugins store the
current states of the discovered PDUs. The subsequently computed check
results are based on a comparison of the discovered states with the current
states of the PDUs. Both plugins did not handle unknown states properly.
Furthermore, users have the option to explicitly configure target states for
the PDUs. In this case, the user-configured states are preferred over the
discovered states. This mechanism was broken for <tt>sentry_pdu</tt>.
Finally, when updating Checkmk from 1.6 to 2.0 and also during updates within
2.0, the states discovered by the plugin <tt>sentry_pdu</tt> were lost.
To fix these issues, users have to re-discover the corresponding services
"Plug ...". Note that for <tt>raritan_pdu_plugs</tt>, depending on
the
current configuration, a re-discovery might not be necessary, but we
recommend it preemptively.
SUP-7169
Change-Id: I94bca6f6e71e5e89b1f60376d8b9b2a3b251c295
Compare:
https://github.com/tribe29/checkmk/compare/d60adb11986a...ff1c47a898db