-
Notifications
You must be signed in to change notification settings - Fork 32
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
Exporter not starting on a FritzBox 4040 because of UPNPError 820 #39
Comments
I was able to work around that by simply catching any
|
With the hack implemented one can see that the following capabilities seem to cause issues:
Though I must say that a few other metrics are not working as well. They simply do not return any meaningful data. Including the Host-metrics which I activated for testing purposes. |
Host metrics have received very little testing as running a 60s scrape interval with every scrape running for 30s does not make too much sense in a "Home" Environment and may actually impact the Fritz!Box due to the sheer number of requests being sent to it. I would still be interested in a "commented output" from the exporter from your box. Simply run curl against the exporter after starting it and edit the output. You can remove all standard comments, and annotate the metrics returned with your own comments regarding if the metrics makes sense, are right/wrong and maybe comparing them to what you can see in the WebUI of the box. Fritz!Box 4040 is the "plain" router version, if I am not mistaken, so it has no integrated DSL Modem. As such there may very well be some statistics, which are simply wrong or missing, even though they are advertised by the box. I would be very interested in making this exporter work and be useful against as many Fritz!Boxes as possible. Also: please don't open -> comment -> close issues, as closed issue do not show up by default in GitHub and so if I forget the mails I got, they will just "go under". I'll reopen this, as the "Internal Error" is an actual issue, which needs to be checked. |
I have added The code is currently in the develop branch and will be available in the next release. |
Of course, here you are:
|
This doesn't look half bad in my opinion 😀 But some questions remain:
Why am I asking all those questions? I am thinking about making the exporter more configurable or a bit "smarter" in detecting and sorting the data, but I need as much information about different systems and setups to make it that way without breaking other setups. Thanks again! |
You're right, most of what's missing makes sense. Regarding the LAN: both of the Repeater 1200 are connected via LAN. Then there's a switch connected which itself has a bunch of raspberry pis (pihole, openhab, some custom stuff) and my desktop computer connected. At least the desktop has caused some traffic during the last days. I will check more thoroughly if perhaps the timespan in grafana was not set to show the traffic. I'll see for the guest/5ghz Repeater mixup on the evening when i have a bit more time. Good find! Happy to help out, keep asking anything that could help. |
|
My repeaters don't even report LAN Statistics as available (FritzOS 7.21)... Might very well be, that those aren't counted. |
Disclaimer: Posting this as kind of a self-post to help anyone with a similar problem in the future.
When running the exporter and connecting to my FritzBox 4040 it immediately hangs up with a UPNPError with errorcode 820. This is simply the code for internal error. The stacktrace suggests that the exception occurs during
FritzCapability::checkCapability
.The text was updated successfully, but these errors were encountered: