GithubHelp home page GithubHelp logo

sborovik / grafana-mikrotik Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igorkha/grafana-mikrotik

0.0 0.0 0.0 9.57 MB

๐Ÿ”ฐ Grafana dashboard for Mikrotik/routerOS [Prometheus, SNMP]

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

License: GNU General Public License v3.0

Shell 92.44% Dockerfile 7.56%

grafana-mikrotik's Introduction

Grafana-Mikrotik

logo

visitors example branch parameter mikrotikOS Grafana Prometheus snmp_exporter

Donate using Liberapay


๐Ÿณ Deploy with docker-compose

Deploy with bash script

git clone https://github.com/IgorKha/Grafana-Mikrotik.git
cd ./Grafana-Mikrotik
bash ./run.sh --config
  You can also pass some arguments to script to set some these options:

    --config: change the user and password to grafana and specify the mikrotik IP address

    --stop: stop docker containers

    --help

For example:

    bash run.sh --config

asciicast

deploy with docker-compose manual

1.Change targets ip (192.168.88.1) into file prometheus/prometheus.yml

2.Run

docker-compose up -d

3.Open localhost:3000

  • Grafana login: admin

  • Password: mikrotik

If you want to change the credentials, then edit the ".env" file


Manual deploy

1.add into prometheus.yml

  - job_name: Mikrotik
    static_configs:
      - targets:
        - 192.168.88.1  # 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 (deprecated)

Docker Pulls

amd64-linux container

sudo docker run -d -p 9116:9116 mashinkopochinko/snmp_exporter_mikrotik:latest

img1

grafana-mikrotik's People

Contributors

igorkha avatar massgame avatar lotheac avatar palindrom615 avatar yyovkov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.