trazfr / freebox-exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus exporter for the Freebox
License: MIT License
Prometheus exporter for the Freebox
License: MIT License
Hi,
Thank you for this exporter ! Despite having all of those metrics, I'm struggling to get a decent looking dashboard in Grafana (metrics are collected through a Prometheus instance).
Do you use a grafana dashboard by any chance ?
If so, I would be glad if you had a link to it.
Thanks for your work !
Hello,
I don't know if it's possible but it would be great to add real-time bandwith.
Thanks by advance
Bonjour,
Depuis le passage a la freebox Delta (anciennement pop), j'ai le message d'erreur suivant :
ERROR : collector.go:348: json: cannot unmarshal object into Go struct field MetricsFreeboxSwitchStatus.result.mac_list of type []*struct { Mac string "json:"mac""; Hostname string "json:"hostname"" }
Une idée sur le soucis SVP ?
Version du microgiciel: 4.6.4
Version du matériel: Freebox v7 (r1)
Type de connexion: FTTH
Hello,
Thanks for your work and the exporter it works fine. But it seems that I get not so much information out of it (using Freebox Ultra v9 API v11)
When looking at the API documentation it looks like there are plenty of others informations to get out of the box. Stats on the switch ports etc. etc.
Am I missing something ?
Bonjour,
Impossible d'installer le paquet avec la commande GO : can't load package: package github.com/trazfr/freebox-exporter@latest
go version go1.11.6 linux/amd64
Merci d'avance
Hello
I'm trying to make this nice project work.
(Freebox is in bridge mode)
I have some issues with authorization:
With mDNS detection I get a timeout after 1 second, without any firewall between my container and the Freebox. (Using a Proxmox LXC)
With -httpDiscovery
it does wait a little, without the message asking to authorize access on the Freebox screen, around 5s and then stop.
# bin/freebox-exporter -debug -httpDiscovery token.json
INFO: 2024/04/17 17:11:42 collector.go:641: Could not find the configuration file token.json
INFO: 2024/04/17 17:11:42 api_version.go:106: Freebox discovery: GET http://mafreebox.freebox.fr/api_version
DEBUG: 2024/04/17 17:11:42 api_version.go:55: APIVersion &{XXXXXXXXXX.fbxos.fr -------------------------------- true 32772 Freebox 10.2 /api/ FreeboxServer1,2 10}
DEBUG: 2024/04/17 17:11:42 http_client.go:80: HTTP request: POST /api/v10/login/authorize/
[around 5s wait here]
panic: Post "https://XXXXXXXXXXX.fbxos.fr:32772/api/v10/login/authorize/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
goroutine 1 [running]:
main.NewCollector({0x7ffe41819738, 0xa}, 0x6?, 0x9dd23d?, 0x0, 0x0?)
/opt/freebox-exporter/pkg/mod/github.com/trazfr/[email protected]/collector.go:645 +0x454
main.main()
/opt/freebox-exporter/pkg/mod/github.com/trazfr/[email protected]/main.go:56 +0x2e5
I checked api version with the link, its 10.2, correctly detected by your software but http://mafreebox.freebox.fr/api/v10/
answers: "invalid_api_version"
and http://mafreebox.freebox.fr/api/v10/login/authorize/ "invalid_request"
curl --insecure https://mafreebox.freebox.fr/api_version
and curl --insecure https://mafreebox.freebox.fr/api/v10/login/
work from the container.
Maybe something has changed on their side ?
I can't know if there is something happening on the freebox screen, I would need around 30s to go there
Thank you !
Hello,
Is it possible to have real-time throughput metrics (Download/Upload) ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.