Compare commits
2 commits
283acca79d
...
6fa2ff68b8
Author | SHA1 | Date | |
---|---|---|---|
Yann Verry | 6fa2ff68b8 | ||
Yann Verry | 0b36a74afb |
19
README.md
19
README.md
|
@ -13,13 +13,21 @@ add name=prometheus policy=api,rest-api,!local,!telnet,!ssh,!ftp,!reboot,!write,
|
||||||
add group=prometheus name=prometheus password=<your super secret password>
|
add group=prometheus name=prometheus password=<your super secret password>
|
||||||
````
|
````
|
||||||
|
|
||||||
You also need to `www-ssl` [enable](https://help.mikrotik.com/docs/display/ROS/REST+API)
|
You also need `www-ssl` [enable](https://help.mikrotik.com/docs/display/ROS/REST+API)
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
|
On docker hub:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker pull yverry/routeros-exporter
|
||||||
|
```
|
||||||
|
|
||||||
|
docker-compose:
|
||||||
|
|
||||||
```
|
```
|
||||||
routeros-exporter:
|
routeros-exporter:
|
||||||
image: python-routeros
|
image: yverry/routeros-exporter
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- ROUTER_IP=<your ROUTERIP>
|
- ROUTER_IP=<your ROUTERIP>
|
||||||
|
@ -34,4 +42,9 @@ simply use `make build`
|
||||||
|
|
||||||
Today thoose metrics was fetched by this exporter:
|
Today thoose metrics was fetched by this exporter:
|
||||||
* interfaces
|
* interfaces
|
||||||
* cpu (load/irq)
|
* tx
|
||||||
|
* rx
|
||||||
|
* fastTrack
|
||||||
|
* cpu
|
||||||
|
* load
|
||||||
|
* irq
|
||||||
|
|
Loading…
Reference in a new issue