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

Config for module specific arguments? #129

Open
tbauriedel opened this issue Aug 28, 2024 · 1 comment
Open

Config for module specific arguments? #129

tbauriedel opened this issue Aug 28, 2024 · 1 comment
Labels
feature New feature or request
Milestone

Comments

@tbauriedel
Copy link
Member

Describe the feature request

It would be an idea to remove module specific arguments (like --icinga2-api-user, ...) and replace with config files that can be loaded into the tool.

@tbauriedel tbauriedel added the to-be-discussed to be discussed label Aug 28, 2024
@tbauriedel tbauriedel changed the title Config for module arguments? Config for module specific arguments? Aug 28, 2024
@tbauriedel tbauriedel added this to the v1.0.0 milestone Aug 28, 2024
@tbauriedel
Copy link
Member Author

tbauriedel commented Sep 16, 2024

After some time and obtaining several opinions, we have decided to replace the arguments with an optional answer files.

The recently built TUI to enter by stdin will remain the standard. The answer files will serve as an alternative

Basic arguments like "--verbose", "--help", etc. will remain. But everything that has a direct influence on the collection of data goes into an answer file.
(Which modules, module specific configuration, etc."

Also we need to add a command like support-collector generate-answer-file to generate an example with all possible arguments (and there defaults). The format needs to be defined.

@tbauriedel tbauriedel added enhancement feature New feature or request and removed to-be-discussed to be discussed enhancement labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant