Go to file
Ash Leece 26197eb6d7 Added basic readme 2021-12-28 10:35:29 +00:00
.gitignore Added basic readme 2021-12-28 10:35:29 +00:00
Dockerfile Init commit 2021-12-28 10:20:18 +00:00
README.md Added basic readme 2021-12-28 10:35:29 +00:00
auth.go Moved newJar to auth 2021-12-28 10:24:34 +00:00
config.go Init commit 2021-12-28 10:20:18 +00:00
docker-compose.yml Init commit 2021-12-28 10:20:18 +00:00
go.mod Init commit 2021-12-28 10:20:18 +00:00
go.sum Init commit 2021-12-28 10:20:18 +00:00
main.go Moved newJar to auth 2021-12-28 10:24:34 +00:00
sample-config.yml Added sample config 2021-12-28 10:22:05 +00:00
stats.go Init commit 2021-12-28 10:20:18 +00:00

README.md

Ubiquiti exporter

What is this?

This is a Prometheus metric exporter written in Go to retrieve and expose metrics for Ubiquiti networking equipment. I am not sure how far this will extend in use but I built this primarily for use with the LocoAC5 as I wanted to monitor throughput in Grafana.

Used this primarily for auth and endpoints (although only using the one currently).

How do I run it?

  • Ensure docker and docker-compose are installed on your system.
  • Secondly clone this repo to your machine you wish to run from.
  • Copy sample-config.yml to config.yml, add endpoints and username + password.
  • Use docker-compose to build + run final image.
  • Scrape 2113 with Prometheus.

Build and run

docker-compose up -d

Contact me

Feel free to message me on Matrix if you need help with this.

Contact me