NAME:
hg612 prometheus exporter - a metrics exporter for the hg612
USAGE:
hg612-exporter [global options] command [command options] [arguments...]
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--host value the fully qualified host for the hg612 modem
--identifier value the identifier for the line and modem
--bind value the bind string for the http server ie :8080 (default: ":8080")
--interval value the interval between collection in seconds (default: 10)
--help, -h show help (default: false)
Build
go build .
docker build .
Run
go run main.go --host <host> --identifier <identifier>
docker run docker run nikdoof/hg612-exporter --host <host> --identifier <identifier>