Skip to content

Telegraf exporter for Huawei HG612 modems - designed for Influxdb

License

Notifications You must be signed in to change notification settings

djrarky/huawei-hg612-telegraf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Telegraf Importer for the Huawei HG612 modem

Note: For this to work you will need a HG612 modem with unlocked firmware to allow Telnet access. This is done at your own risk.
See: https://kitz.co.uk/routers/hg612unlock.htm for flashing instructions and firmware

Stats collected:

  • Attenuation downstream
  • Attenuation upstream
  • Available seconds
  • Current downstream speed
  • Current upstream speed
  • Error seconds (downstream)
  • Error seconds (upstream)
  • Interleaving upsteam
  • Interleaving downstream
  • Max downstream speed
  • Max upstream speed
  • Power (downstream)
  • Power (upstream)
  • Serious error seconds (downstream)
  • Serious error seconds (upstream)
  • SNR (downstream)
  • SNR (upstream)
  • System (modem) uptime
  • Unavailable seconds (downstream)
  • Unavailable seconds (upstream)
  • DSL Uptime

Configure

Docker Configuration

See here: https://github.com/djrarky/telegraf-python3#configure

Telegraf Setup

[[inputs.exec]]
  ## Commands array
  commands = ["python3 location/dsl-stats-to-influxdb-3.py 'IPAddress' 'username' 'password'"]

  ## measurement name suffix (for separating different commands)
  name_suffix = "_mycollector"

  ## Data format to consume.
  data_format = "influx"

About

Telegraf exporter for Huawei HG612 modems - designed for Influxdb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%