Giter Site home page Giter Site logo

ksator / junos_monitoring_with_a_tig_stack Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 8.0 373 KB

Junos monitoring with SNMP and OpenConfig using a TIG stack (Telegraf-Influxdb-Grafana).

License: MIT License

Makefile 62.72% Python 37.28%
telegraf influxdb grafana junos network-monitoring telemetry openconfig docker-compose docker makefile

junos_monitoring_with_a_tig_stack's Introduction

This repository is about monitoring Junos devices using a TIG stack (Telegraf-Influxdb-Grafana).
It has ready to use content to monitor interfaces and BGP and other details (uptime, SN, HW models, ...).
It currently supports data collection on Junos using SNMP and OpenConfig.

Please visit the wiki for detailled instructions.

Here are some Grafana screenshots:

inventory.png

BGP.png

EBGP_peers_configured.png

BGP_sessions_state_established.png

transitions_to_bgp_established.png

BGP_prefixes_received.png

BGP_prefixes_sent.png

BGP.interfaces

junos_monitoring_with_a_tig_stack's People

Contributors

ksator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

junos_monitoring_with_a_tig_stack's Issues

Grafana not opening port 3000

Have followed the instructions in the wiki, except I am using Ubuntu 18.. All containers start up fine following make up, but netstat (and external machines) can't see port 3000 open for Grafana.

me$ sudo netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      7554/systemd-resolv
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      8459/sshd
tcp6       0      0 :::22                   :::*                    LISTEN      8459/sshd
tcp6       0      0 :::9081                 :::*                    LISTEN      26450/docker-proxy

Truncated logs from the grafana container:

t=2019-12-23T21:16:13+0000 lvl=info msg="Initializing Stream Manager"
t=2019-12-23T21:16:13+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket=

telnet on 3000 from outside just fails, nmap shows the port is not open.

Docker ps shows:

CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                          NAMES
6e114db8395f        grafana/grafana:5.4.2           "/run.sh"                4 hours ago         Up 54 minutes       0.0.0.0:9081->3000/tcp         grafana

Is this due to not running docker as root?

Thanks

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.