dsl320b-exporter
所属分类:Modem编程
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2019-07-04 20:07:37
上 传 者:
sh-1993
说明: D-Link DSL320-B ADSL调制解调器的普罗米修斯导出器,
(A Prometheus exporter for the D-Link DSL320-B ADSL modem,)
文件列表:
LICENSE (1078, 2019-07-04)
LICENSE.golang (1479, 2019-07-04)
build.sh (90, 2019-07-04)
collectors.go (15222, 2019-07-04)
command.go (2929, 2019-07-04)
extractors.go (4562, 2019-07-04)
go.mod (1500, 2019-07-04)
go.sum (10502, 2019-07-04)
main.go (11586, 2019-07-04)
reader.go (17800, 2019-07-04)
## D-Link DSL 320-B Prometheus Exporter
Point this at your modem's (internal, firewalled) IP address and enable
the TELNET interface. It will log in and generate Prometheus metrics
when scraped by running various diagnostic commands.
Basic usage:
./dsl320b-exporter --modem_ip 192.168.1.1 --modem_pass PASSWORD
### Limitations
So many. This is not polished code, by any stretch of the imagination.
The biggest one is that as yet there's no automatic reconnection of
the telnet session, so if the exporter gets disconnected for any reason
it will return bad data when scraped.
You may find your diagnostic output differs from mine, too!
### Metrics
See collectors.go. I'll probably write a list at some point when it
changes less frequently.
近期下载者:
相关文件:
收藏者: