arris-scrape

command module
v0.0.0-...-563be35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 16 Imported by: 0

README

arris-scrape will read from Arris's modem web page and output Prometheus-style metrics as a one-shot or as a server.

Tested only on an Arris SURFboard SB8200.

To use:

go install stevenandbonnie.com/arris-scrape@latest
arris-scrape -passwd $PASSWD

Downstream metrics:

  1. downstream_bonded_channels_frequency_hz
  2. downstream_bonded_channels_power_dbmv
  3. downstream_bonded_channels_snr_mer_db
  4. downstream_bonded_channels_corrected
  5. downstream_bonded_channels_uncorrectables

downstream example

Upstream metrics:

  1. upstream_bonded_channels_frequency_hz
  2. upstream_bonded_channels_width_hz
  3. upstream_bonded_channels_power_dbmv

upstream example

It's intended to be run repeatedly by another tool. For example, for Telegraf:

[[inputs.exec]]
  name_override = "modem"
  commands = ["arris-scrape -passwd 'my password'"]
  data_format = "prometheus"
  interval = "60s"
  timeout = "30s"

Pass in a flag like -http-addr=:5000 to run in server mode.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL