IgorKha / Grafana-Mikrotik

🔰 Grafana dashboard for Mikrotik/routerOS [Prometheus, SNMP]

Home Page:https://grafana.com/grafana/dashboards/14420

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to add another mikrotik device

helospro opened this issue · comments

Hello, i want to add another mikrotik device.

what should i do ?

thanks

Screenshot from 2022-09-14 11-55-10

If the IP addresses are suitable for you, you can use such kind of block in your prometheus.yaml, when using snmp_exporter:

  - job_name: 'mikrotik'
    static_configs:
      - targets:
         - 1.2.3.4
         - 5.6.7.8
    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: 127.0.0.1:9116
        ```