From e5c7e75f8bf25d637ebfc2f8751026d3da997967 Mon Sep 17 00:00:00 2001 From: IgorKha Date: Tue, 11 May 2021 23:21:13 +0300 Subject: [PATCH] Create README.md --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..26b76c9 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Grafana-Mikrotik +Grafana dashboard for Mikrotik/routerOS. Prometheus/SNMP + +1. add into prometheus.yml +```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 + +![img1](https://github.com/IgorKha/Grafana-Mikrotik/blob/master/readme/1.png) +![img2](https://github.com/IgorKha/Grafana-Mikrotik/blob/master/readme/2.png)