Just change add as many devices to mktxp/nf as you want. It is possible to monitor multiple (Mikrotik) devices. You may adjust blackbox/blackbox.yml according to your needs. This projects uses the Prometheus Blackbox exporter to measure network latency. You should now be able to open the Grafana dashboard on Port 3000 of your Raspberry Pi. You may need to adjust the following configuration files and add your own credentials for your router:ĭone. # Go into the cloned directory cd mikrotik_monitoring Install Docker + Docker-compose (reboot required) Sudo apt install python3-dev python3 python3-pip -y You need to execute the following steps on the target machine itself (e.g. This would mean, that you need to compile the mikrotik-exporter by hand, because there are no pre built 32-bit Docker images. You may also use Raspian, but then you are limited to 32bit ARM executables. You need Ubuntu Server for ARM 64 bit in order to use this setup. user add name=prometheus group=prometheus password=TOP_SECRET Prepare Raspi user group add name=prometheus policy=api,read,winbox,test
It is designed and tested to be run on Raspberry Pis. This projects serves as a ready to use blueprint for monitoring based on Docker. Use Grafana & Prometheus to monitor Mikrotik devices.
Monitor your Mikrotik router with Prometheus and Grafana