Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

andrewjw/zyxelprometheus

Repository files navigation

zyxelprometheus

Build Status Coverage Status PyPI version

Get statistics from a Zyxel router and expose them to Prometheus.

Running

                       [--passwd [PASSWD]] [--bind [BIND]] [-d] [--raw]
                       [--traffic-only] [--xdsl-only]

optional arguments:
  -h, --help         show this help message and exit
  --host [HOST]      the host name to connect to (must start with https://)
  --user [USER]      the user name to use (can also be set with $ZYXEL_USER)
  --passwd [PASSWD]  the password to use (can also be set with $ZYXEL_PASSWD)
  --bind [BIND]      the ip address and port to bind to when running in server
                     mode (-d)
  -d, --serve        run in server mode, collecting the statistics each time
                     /metrics is requested
  --raw              prints out the raw values collected from the router and
                     exits
  --traffic-only     only requests traffic data
  --xdsl-only        only requests XDSL data