Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UOM KB vs KiB #26

Open
LFrank2021 opened this issue Jul 21, 2022 · 0 comments
Open

UOM KB vs KiB #26

LFrank2021 opened this issue Jul 21, 2022 · 0 comments

Comments

@LFrank2021
Copy link

Hello,

I am currently facing a strange issue with the UOM of the performance data.
The perl script currently returns the values with the KB unit.
The Icingaweb is showing them correctly as 512GB while the Grafana rendering is showing them either as 500GB (bytes(IEC)) or 537GB (bytes(SI)).
For Grafana I was able to generate a workaround when changing the UOM to KiB (SI).
But Icingaweb now shows the performance data as 536,870,912.00 kib and does not convert it to MiB or GiB anymore.

Example output (just change KiB to KB and vice versa):

# check_mem.pl -w 95 -c 98 -u -C
OK - 51.6% (276939100 kB) used.|TOTAL=536870912KiB;;;; USED=276939100KiB;510027366;526133493;; FREE=259931812KiB;;;; CACHES=259714116KiB;;;;

Any ideas, on how to get the correct 512G(i)B for Icingaweb AND Grafana?
Can we get an option for the UOM?

Kind regards
Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant