Commit Graph

3 Commits

Author SHA1 Message Date
Per von Zweigbergk 5c18c1ed2d 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-19 11:30:12 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Jean Flach 56f92f7846 Refactor plugin code 2015-03-23 13:07:02 +01:00