NETWAYS / support-collector

The support collector allows our customers to collect relevant information from their servers. A resulting ZIP file can then be provided to our support team for further inspection.
https://www.netways.de/en/technologies/icinga/support-subscription/
GNU General Public License v3.0
0 stars 0 forks source link

Config for module specific arguments? #129

Open tbauriedel opened 2 months ago

tbauriedel commented 2 months ago

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 commented 1 month ago

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.