$ git clone git@github.com:Dentrax/xdsl-exporter.git
$ cd xdsl-exporter
$ go run . --target-client <VENDOR>
Usage:
xdsl-exporter [flags]
Flags:
-h, --help help for xdsl-exporter
--known-hosts-path string Path to your known_hosts file. (default "~/.ssh/known_hosts")
--listen-address string Address on which to expose metrics and web interface. (default ":9090")
--metrics-path string Path under which to expose metrics. (default "/metrics")
--target-client string Broadcom (SSH),Broadcom (Telnet),DrayTek (Telnet),FRITZ!Box,Lantiq (SSH),Lantiq (Telnet),MediaTek (SSH),MediaTek (Telnet),Sagemcom,Speedport
--target-host string Hostname or IP address of the target xDSL Modem (default "192.168.1.1")
--target-password string Host password
--target-port int Port of the target xDSL Modem (default 22)
--target-ssh-key-path string Path to the SSH key to use for authentication
--target-ssh-passphrase string Passphrase to use for the SSH key
--target-user string Host user (default "admin")
broadcom_ssh
broadcom_telnet
draytek_telnet
fritzbox
lantiq_ssh
lantiq_telnet
mediatek_ssh
mediatek_telnet
sagemcom
speedport
Package | Author | License |
---|---|---|
go-dsl | Jan Hoffmann | Mozilla Public License 2.0 |
rtop | RapidLoop | MIT |
I accept no responsibility for any damage that may occur to your device during your installation, and such damages and exclusion of warranty is not by reason of my negligence. You are under this agreement. You use at your own risk.
cocert was created by Furkan 'Dentrax' Türkal
The base project code is licensed under Apache 2.0 unless otherwise specified. Please see the LICENSE file for more information.
Best Regards