Giter Site home page Giter Site logo

hdecarne-github / fritzbox-telegraf-plugin Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 2.0 1.66 MB

Telegraf plugin to gather FRITZ!Box statistics

Home Page: https://hdecarne-github.github.io/fritzbox-telegraf-plugin/

License: MIT License

Makefile 2.12% Go 97.88%
fritzbox monitoring telegraf

fritzbox-telegraf-plugin's People

Contributors

hdecarne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fritzbox-telegraf-plugin's Issues

get_mesh_info = [] ?

hello,
dunno if it is to warm at my place or am stupid.
which kind of host i write down there? got 3 avm devices, 2 routers/one in mesh as a "repeater" and one fritzbox 1200 repeater.

Current WAN data rates not available

First of all, thanks for the plugin! I've tried it out and I'm getting the following line for 'fritzbox_wan':

> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=1969755805i,total_bytes_sent=169378472i,upstream_current_max_speed=0i 1671793243132608784
> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=2216879145i,total_bytes_sent=174911653i,upstream_current_max_speed=0i 1671793253127604960
> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=2312427719i,total_bytes_sent=220732205i,upstream_current_max_speed=0i 1671793263194768472
> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=2313947573i,total_bytes_sent=272809601i,upstream_current_max_speed=0i 1671793273122245195
> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=2314556161i,total_bytes_sent=273023403i,upstream_current_max_speed=0i 1671793283123886546

While getting these lines from telegraf I was running a speed test, you can see it from the total_bytes_received increasing and then total_bytes_sent increasing (first download and then upload speed test).
However the *_current_max_speed is always 0 somehow.

From some older monitoring script I know that my Fritz!Box 5530 returns values for WAN upload and WAN download current speed/rate. I am using the fritzconnection Python module to query them from str_transmission_rate[1] (Download) and str_transmission_rate[0] (Upload).

Any ideas what's wrong here? What can I do to help debug this?

provide grafana dashboard

On your screenshots, you used grafana to print your charts for the agregated data. Can you please share your grafana dashboard with us?

Fritzbox 5590 Fiber - mesh and other infos

Hello,
i hope i doenst annoy you that much, i swapped the rented 7590 for own 5590 fiber with gpon sfp modul. it can read some stats but not the meshlist anymore. and i didnt added the last repeater yet.
wan info for current down/up speed is reported, modelname, uptime aswell. i think the other stats are out of scope for this like sfp temperature and so on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.