Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add another mikrotik device #22

Closed
helospro opened this issue Sep 14, 2022 · 1 comment
Closed

how to add another mikrotik device #22

helospro opened this issue Sep 14, 2022 · 1 comment

Comments

@helospro
Copy link

Hello, i want to add another mikrotik device.

what should i do ?

thanks

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

@yyovkov
Copy link
Contributor

yyovkov commented Oct 9, 2022

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
        ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants