In the SERVER_005 check, the text correctly identifies that a server is using over 90% of the configured storage; however, it shows the reserved storage instead of max storage. This results in confusing output, such as below.
store usage: 208 GiB of 1.0 GiB
|
examples.Add("%s store usage: %s of %s", serverTag, humanize.IBytes(jsz.Data.Store), humanize.IBytes(jsz.Data.ReservedStore)) |
Is currently using ReservedStore
examples.Add("%s store usage: %s of %s", serverTag, humanize.IBytes(jsz.Data.Store), humanize.IBytes(jsz.Data.ReservedStore))
It should use MaxStore instead
examples.Add("%s store usage: %s of %s", serverTag, humanize.IBytes(jsz.Data.Store), humanize.IBytes(jsz.Data.Config.MaxStore))