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

disk-usage: Verbosity parameter which includes only FS in an error state. #782

Open
drapiti opened this issue Oct 7, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@drapiti
Copy link

drapiti commented Oct 7, 2024

Describe the solution you'd like

Please allow the disk-usage plugin a verbosity parameter which when set to 0 for example only outputs FS which are effectively in an error state. (warning or critical). At them momento all FS which are checked are included in the output with no possibility to filter them.
This is a standard feature which is normally present in most checks. We have systems with hundreds of FS and when we publish an alert on to an event console for example this creates issues with the output length.

Additional context

No response

@drapiti drapiti added the enhancement New feature or request label Oct 7, 2024
@markuslf
Copy link
Member

markuslf commented Oct 7, 2024

In other checks we use the --lengthy switch to explicitly show more information. In this check we could introduce the opposite, a --brief switch, as for most systems a full output makes sense.

@markuslf markuslf changed the title [disk-usage] Verbosity parameter which includes only FS in an error state. disk-usage: Verbosity parameter which includes only FS in an error state. Oct 7, 2024
@markuslf markuslf added this to the M006 milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants