mirror of
https://github.com/IgorKha/Grafana-Mikrotik.git
synced 2025-12-06 02:19:28 +00:00
Fixed field BoardName Added CAPsMAN row: remote-cap entry count CAPsMAN client count Remote CAP (table) CAP interface (table) CAPsMAN client (table)
1.3 KiB
1.3 KiB
Grafana-Mikrotik
Grafana dashboard for Mikrotik/routerOS. prometheus/snmp_exporter
| ver. | |
|---|---|
| snmp_exporter | >=0.20.0 |
| Grafana | >=8.1.7 |
1.add into prometheus.yml
- job_name: Mikrotik
static_configs:
- targets:
- 0.0.0.0 # SNMP device IP.
metrics_path: /snmp
params:
module: [mikrotik]
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: localhost:9116 # The SNMP exporter's real hostname:port.
2.Configure Prometheus and run /snmp/snmp_exporter
3.Add dashboard https://grafana.com/grafana/dashboards/14420
Docker snmp_exporter
amd64-linux container
sudo docker run -d -p 9116:9116 mashinkopochinko/snmp_exporter_mikrotik:latest
