Turn this.
Into this.
It is not always possible to gather metrics from a cable modem using SNMP. This project scrapes metrics and logs from the modem web interface. It uses curl, pup, jq, influxdb, grafana and cron. I run this on a Raspberry Pi to collect metrics from a Motorola SB6141.
- Install influxdb and
influx -execute 'create database cableModemStats'
. I highly recommend getting a fresh version, since the package manager version can be quite stale. - Install curl, jq and pup.
- Adjust the prefs and create a cron for data collection.
- Install grafana and add an influx data source named
cableModemStats
. Once again, I recommend getting a fresh version. - Create a dashboard.