add metrics

This commit is contained in:
Yann Verry 2021-10-08 22:14:48 +02:00
parent e612e18a59
commit 9f0739f7db
Signed by: yann
GPG key ID: EB9E679A66B8C7A1

View file

@ -1,5 +1,7 @@
# RouterOS Prometheus Exporter # RouterOS Prometheus Exporter
## Setup ## Setup
You need to create a user on routerOS (>7.1): You need to create a user on routerOS (>7.1):
@ -24,3 +26,12 @@ routeros-exporter:
- ROUTER_USERNAME=<your prometheus username> - ROUTER_USERNAME=<your prometheus username>
- ROUTER_PASSWORD=<your super secret password> - ROUTER_PASSWORD=<your super secret password>
``` ```
### build
simply use `make build`
## Metrics
Today thoose metrics was fetched by this exporter:
* interfaces
* cpu (load/irq)