Skip to content

Audit checks max storage output shows the reserved storage instead of max storage #743

@jarretlavallee

Description

@jarretlavallee

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions