Branch: refs/heads/2.2.0
Home:
https://github.com/tribe29/checkmk
Commit: 813bb1d58ca41f3dbaf5de7461499044c254c1ce
https://github.com/tribe29/checkmk/commit/813bb1d58ca41f3dbaf5de7461499044c…
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