.gitignore | ||
auth.go | ||
config.go | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md | ||
sample-config.yml | ||
stats.go |
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.