Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: e14e3b3c320bf0d5d179c0e6418150435e0bef7b
https://github.com/tribe29/checkmk/commit/e14e3b3c320bf0d5d179c0e6418150435…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
A .werks/15154
M cmk/base/plugins/agent_based/utils/fileinfo.py
M tests/unit/cmk/base/plugins/agent_based/test_fileinfo_check.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_fileinfo.py
Log Message:
-----------
15154 FIX fileinfo: Show size in a human readable format
With a migration to the new check API in version 2.1,
fileinfo and fileinfo_group check plugin started showing
size exclusively in bytes.
Before the file size was shown in scaled units (e.g. KiB, MiB, GiB, ...).
With this werk, file size is shown in a human readable format again.
SUP-13474
Change-Id: I1668c8bec0aff3a0958f9f79b8cc4f870207eea9