10
0
This repository has been archived on 2024-07-26. You can view files and clone it, but cannot push or open issues or pull requests.
mikrotik-exporter/README.md
2021-10-16 08:49:25 +03:00

1.1 KiB

Background

This is Prometheus exporter for Mikrotik routers and switches.

Usage

Supply MIKROTIK_USER, MIKROTIK_PASSWORD using .env file. Spin up the containers:

docker-compose up --build

Wait for targets to be scraped, open up Prometheus to run queries:

Why not SNMP

SNMP for whatever reason is horribly slow on Mikrotik, see here for discussion. It takes 2+ minutes to scrape over SNMP vs few seconds over management API. Also PoE status codes are not fully documented for SNMP, see forum post here.