- Notifications
You must be signed in to change notification settings - Fork0
Prometheus exporter for Ubiquiti UFiber OLT
License
NotificationsYou must be signed in to change notification settings
swoga/ufiber-exporter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ufiber-exporter
is an Prometheus exporter for Ubiquiti UFiber OLTs.
The goal is to export all available metrics from the OLT and attached ONUs.
Devices can be probed by requesting:
http://localhost:9777/probe?target=xxx
Configuredoptions can be overwritten by using query parameters e.g.
http://localhost:9777/probe?target=xxx&export_olt=1&export_onus=0
target
can be either an address or hostname that is scraped using the globally configured credentials, or the name of a device in the configuration.
For troubleshooting there are also two log levels available:
http://localhost:9777/probe?target=xxx&debug=1
http://localhost:9777/probe?target=xxx&trace=1
Docker image is available on Docker Hub, Quay.io and GitHub
docker pull swoga/ufiber-exporterdocker pull quay.io/swoga/ufiber-exporterdocker pull ghcr.io/swoga/ufiber-exporter
You just need to map your config file into the container at/etc/ufiber-exporter/config.yml
docker run -v config.yml:/etc/ufiber-exporter/config.yml swoga/ufiber-exporter
--config.file=config.yml--debug
listen:<string> | default = :9777probe_path:<string> | default = /probemetrics_path:<string> | default = /metricstimeout:<int> | default = 60global:<global>devices: -<device>
username:<string>password:<string>options:<options>
export_olt:<bool> | default = trueexport_onus:<bool> | default = trueexport_mac_table:<bool> | default = false
name:<string>address:<string>username:<string> | default = global.usernamepassword:<string> | default = global.passwordoptions:<options> | default = global.options
About
Prometheus exporter for Ubiquiti UFiber OLT