Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Prometheus exporter for Ubiquiti UFiber OLT

License

NotificationsYou must be signed in to change notification settings

swoga/ufiber-exporter

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.

Probing

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

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

Command line flags

--config.file=config.yml--debug

Configuration file

listen:<string> | default = :9777probe_path:<string> | default = /probemetrics_path:<string> | default = /metricstimeout:<int> | default = 60global:<global>devices:  -<device>

<global>

username:<string>password:<string>options:<options>

<options>

export_olt:<bool> | default = trueexport_onus:<bool> | default = trueexport_mac_table:<bool> | default = false

<device>

name:<string>address:<string>username:<string> | default = global.usernamepassword:<string> | default = global.passwordoptions:<options> | default = global.options

[8]ページ先頭

©2009-2025 Movatter.jp