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

Add output format and filter and extend online help #28

Merged
merged 5 commits into from
Dec 26, 2022

Conversation

pbiering
Copy link
Contributor

Hi, thank you first for your script, was able to use this on QNAP with InfluxDB and Telegraf!

This PR contains "outputformat" and "outputfilter" option to avoid requesting additional external wrapper scripts like mentioned here: https://github.com/jhubig/FritzBoxShell/wiki/Example-use-cases:-Telegraf

It was implanted by "minimal invasion" to avoid major changes in the code on several parts because of the current structure. In case "outputformat" is active, it's simply calling itself again after parsing the options and reformats the output.

Currently supported: "influx" and "graphite"-like output

It also extends the online help.

@jhubig
Copy link
Owner

jhubig commented Dec 26, 2022

Great idea. Thank you. Sorry for my late response. Wish you happy holidays!

@jhubig jhubig merged commit 6b60253 into jhubig:master Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants