Commit Graph

3 Commits

Author SHA1 Message Date
Per von Zweigbergk 30f9a1e393 Fixed precision for percentage calculations with large units
The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.

fixes #10497

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:47:19 +01:00
Gunnar Beutner c544c686a8 Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
Jean Flach 56f92f7846 Refactor plugin code 2015-03-23 13:07:02 +01:00