sagemcom-docsis-exporter
A tool that exports Sagemcom DOCSIS cable gateway status as Prometheus metrics.
What does it do?
The exporter reads the modem’s authenticated JSON-RPC management API and exposes DOCSIS, Ethernet, and system status at `:9488/metrics`. Prometheus or Grafana Alloy can be configured to scrape this address regularly. It also copies modem event logs into its own logs to help investigate disconnections. According to the documentation, it does not call write methods for rebooting, resetting, or changing settings.
Key features
- Reads DOCSIS, Ethernet, and system metrics from the authenticated JSON-RPC API.
- Exposes metrics at `:9488/metrics` for Prometheus scraping.
- Connects to Prometheus or Grafana Alloy for metric collection.
- Copies modem event logs into the exporter logs.
- Does not call methods for rebooting, resetting, or changing settings.