Mikrotik Exporter

Mikrotik RouterOS metrics

Mikrotik Exporter screenshot 1
Mikrotik Exporter screenshot 2
Mikrotik Exporter screenshot 3
Mikrotik Exporter screenshot 4

Setup InfluxDB.

Setup telegraf and add to telegraf.conf config file:

[[inputs.prometheus]]
  ## An array of urls to scrape metrics from.
  urls = ["http://localhost:9436/metrics","http://localhost:9437/metrics"]
  monitor_kubernetes_pods = false
  response_timeout = "1m"
[[outputs.influxdb_v2]]
  urls = ["http://127.0.0.1:8086"]
  token = "some token"
  organization = "org"
  bucket = "mikrotik"

Then build https://github.com/onixsib/mikrotik-exporter-1.git

and run /usr/local/bin/mikrotik-exporter --config-file /etc/mikrotiks.yml

All date will be stored in IndfuxDB and grafana will take it using Flux lang.

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies