-
Notifications
You must be signed in to change notification settings - Fork 5.7k
feat(inputs.fritzbox): Add plugin #16390
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
Conversation
@Hipska I have reworked the plugin accordingly (see comments/commits for details). Please let me know if there are additional issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added another round
@Hipska, thanks for the detailed review. I have reworked the plugin's configuration interface overall as suggested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress! Only some minor comments/questions this time.
… if igdicfg is not available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, just a small correction needed around the wait groups, see this example: https://gobyexample.com/waitgroups
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hdecarne! Some comments, mostly similar to those for the other plugins...
@srebhan, @Hipska, I took care of the latest comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hdecarne for the update. Some more comments, especially for testing. Please try to use a structure and naming similar to those in other plugins as it will ease review and navigating the code later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @hdecarne for your contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hdecarne Thanks for your contribution! This looks good to me. 👍
Summary
This PR provides the inputs.fritzbox plugin for collecting statistics from AVM devices (routers, repeaters, ...). It uses the device's TR-064 interfaces to retrieve the status.
I previously contributed this plugin as an external one. As part of the latest reworks I also converted it into an internal one.
Checklist
Related issues
resolves #16389