fritzbox_exporter icon indicating copy to clipboard operation
fritzbox_exporter copied to clipboard

[featurerequest] support for tr64desc.xml

Open suptimal opened this issue 7 years ago • 5 comments

any plans for implement tr64 http://fritz.box:49000/tr64desc.xml

i want it for

NewUpstreamMaxRate 
NewDownstreamMaxRate

suptimal avatar Jun 05 '17 08:06 suptimal

This doesn't seem to be available on my 7390. Do you have more details about this?

bachp avatar Jun 05 '17 19:06 bachp

i am using a fritzbox 7360 had to enable "enable accesss for applications"

had to translate from german to eng so it may not 100% match
homenetwork->network->networkconfiguration->enable accesss for applications
appended picture with ger interface

the request have to authenticate via digest auth, u can create the users under

System->FRITZ!Box-Users

if u implement the digest auth only i can also access my wanted values (using igddesc.xml)

heres the tr64desc.xml and the files referenced in the desc file.

fritz_tr64.zip f09b7b36-602d-47cf-951c-55d246910f4d

suptimal avatar Jun 06 '17 18:06 suptimal

Here is AVMs documentation: https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/AVM_TR-064_remote.pdf

ndecker avatar Jun 06 '17 18:06 ndecker

I've started working on this a bit. (Still learning go, so i'm slow)

So far i've implemented basic auth support in https://github.com/ndecker/fritzbox_exporter/pull/8

All that's left now should be to also parse the tr64desc.xml and add the metrics from there if a username has been supplied.

123Haynes avatar Dec 26 '17 11:12 123Haynes

I've implemented this in https://github.com/ndecker/fritzbox_exporter/pull/9. Probably not the best code, but it works fine 😄

123Haynes avatar Dec 26 '17 22:12 123Haynes

I have merged the pull request from @123Haynes. I have just pushed a new version that allows configuring the exported metrics. With -test-metrics you can show all available metrics of your fritzbox. Have fun.

ndecker avatar Dec 12 '22 22:12 ndecker