Skip to content

Commit

Permalink
Let's drop the DSL modem
Browse files Browse the repository at this point in the history
  • Loading branch information
msh100 committed Sep 30, 2023
1 parent 1404712 commit 7d45aba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 140 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Modem Statistics Parser

A utility to read and parse channel diagnostics information from DOCSIS and
VDSL modems.
A utility to read and parse channel diagnostics information from DOCSIS modems.
This package is intended to be used within a Telegraf instance to be fed into
InfluxDB.
A Prometheus endpoint can also be exposed for collection.
Expand Down Expand Up @@ -176,12 +175,6 @@ Ziggo Connectbox:**
* `ROUTER_USER` or `--username=admin` (defaults to `admin`)
* `ROUTER_PASS` or `--password=password` (defaults to `admin`)

**Sky Hub 2:**
* `ROUTER_TYPE=skyhub2`
* `ROUTER_IP` or `--ip=x.x.x.x` (defaults to `192.168.0.1`)
* `ROUTER_USER` or `--username=admin` (defaults to `admin`)
* `ROUTER_PASS` or `--password=password` (defaults to `sky`)

**Ubee UBC1318:**
* `ROUTER_TYPE=ubee`
* `ROUTER_IP` or `--ip=x.x.x.x` (defaults to `192.168.100.1`)
Expand Down
11 changes: 1 addition & 10 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ import (

flags "github.com/jessevdk/go-flags"
"github.com/msh100/modem-stats/modems/comhemc2"
"github.com/msh100/modem-stats/modems/skyhub2"
"github.com/msh100/modem-stats/modems/superhub3"
"github.com/msh100/modem-stats/modems/superhub4"
"github.com/msh100/modem-stats/modems/superhub5"
"github.com/msh100/modem-stats/modems/ubee"
"github.com/msh100/modem-stats/modems/tc4400"
"github.com/msh100/modem-stats/modems/ubee"
"github.com/msh100/modem-stats/outputs"
"github.com/msh100/modem-stats/utils"
)
Expand Down Expand Up @@ -70,14 +69,6 @@ func main() {
Username: utils.Getenv("ROUTER_USER", commandLineOpts.Username),
Password: utils.Getenv("ROUTER_PASS", commandLineOpts.Password),
}
case "skyhub2":
modem = &skyhub2.Modem{
IPAddress: utils.Getenv("ROUTER_IP", commandLineOpts.ModemIP),
Stats: body,
FetchTime: fetchTime,
Username: utils.Getenv("ROUTER_USER", commandLineOpts.Username),
Password: utils.Getenv("ROUTER_PASS", commandLineOpts.Password),
}
case "superhub3":
modem = &superhub3.Modem{
IPAddress: utils.Getenv("ROUTER_IP", commandLineOpts.ModemIP),
Expand Down
122 changes: 0 additions & 122 deletions modems/skyhub2/skyhub2.go

This file was deleted.

0 comments on commit 7d45aba

Please sign in to comment.