Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 5136f621b54dae519dcd662e096aabd27c4abdee
https://github.com/tribe29/checkmk/commit/5136f621b54dae519dcd662e096aabd27…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
A .werks/12706
M cmk/base/plugins/agent_based/ps_section.py
Log Message:
-----------
12706 FIX ps section parser: crash on KeyError() when host is using busybox' ps
implementation
Busybox' ps implementation does not provide the columns needed for the ps check, so
the section
parser crashes on missing colums (of which the first is 'user', resulting in
KeyError(user).
This change checks for the existence of all needed columns and aborts otherwise.
Change-Id: I7b40568f27f273aeb2b3de8578d8becf5d136f4f
Commit: 5ed8b94303dbaadd70b84983a2a7aacb89d2ac9d
https://github.com/tribe29/checkmk/commit/5ed8b94303dbaadd70b84983a2a7aacb8…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
A .werks/12707
M checks/md
Log Message:
-----------
12707 FIX `md` check: crashes with IndexError (list index out of range) on invalid
input
Fed with input different from what the `df` check is made for it tries to access
non-existent
input elements and crashes with unhandled IndexError exception.
This change makes `md` check for the minimum number of expected elements before accessing
them.
Change-Id: I4edb9e6b8e3e6774e94af22bf92793bde124d585
Compare:
https://github.com/tribe29/checkmk/compare/46eb61466994...5ed8b94303db