This repository has been archived on 2024-07-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2021-07-02 09:01:24 +03:00
2021-06-30 23:03:27 +03:00
2021-06-30 23:03:27 +03:00
2021-06-30 23:03:27 +03:00
2021-06-30 23:03:27 +03:00
2021-07-02 09:01:24 +03:00
2021-07-02 09:01:24 +03:00
2021-06-30 23:03:27 +03:00

Background

This is Prometheus exporter for Mikrotik routers and switches.

Usage

Supply MIKROTIK_USER, MIKROTIK_PASSWORD and comma separated TARGETS as environment variables via .env file. Optionally configure PROMETHEUS_BEARER_TOKEN for securing the metrics endpoint.

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.

S
Description
Prometheus exporter for Mikrotik routers and switches
Readme
37 KiB
Languages
Python 97.4%
Dockerfile 2.6%