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
- 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
See here: https://github.com/djrarky/telegraf-python3#configure
[[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"