RouterOS prometheus exporter with restapi (7.1)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yann Verry 6fa2ff68b8
add/update docker hub link
4 weeks ago
.gitignore add .gitignore 2 months ago
Dockerfile fix dockerfile 6 months ago
Makefile Add dockerfile & makefile 6 months ago
Pipfile initial commit 6 months ago
Pipfile.lock Add dockerfile & makefile 6 months ago add/update docker hub link 4 weeks ago add custom interval, exporter port. 2 months ago

RouterOS Prometheus Exporter


You need to create a user on routerOS (>7.1):

/user group
add name=prometheus policy=api,rest-api,!local,!telnet,!ssh,!ftp,!reboot,!write,!policy,!test,!password,!web,!sniff,!sensitive,!romon,!dude,!tikapp
add group=prometheus name=prometheus password=<your super secret password>

You also need www-ssl enable


On docker hub:

docker pull yverry/routeros-exporter


    image: yverry/routeros-exporter
    restart: always
        - ROUTER_IP=<your ROUTERIP>
        - ROUTER_USERNAME=<your prometheus username>
        - ROUTER_PASSWORD=<your super secret password>


simply use make build


Today thoose metrics was fetched by this exporter:

  • interfaces
    • tx
    • rx
    • fastTrack
  • cpu
    • load
    • irq