This repository was archived by the owner on Oct 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
About this repository
Khelil Sator edited this page Mar 22, 2019
·
4 revisions
Junos devices (spines and leaves IP fabric)

One Ubuntu VM (16.04) with Docker containers:
- Telegraf collects data from Junos devices.
- The data collected is stored in Influxdb.
- Grafana queries Influxdb and displays graphs.
- Grafana is configured with alerts. When there is an alert, Grafana sends a webhook notification to SaltStack (http post with a json body)
- SaltStack reacts to this webhook, and creates a new ticket (or update an existing ticket) on request tracker.
This repository provides a docker-compose.yml file for:
- telegraf
- influxdb
- grafana
- SaltStack master
- SatStack minion
- request tracker
It also has:
- a python script upgrade_junos.py to upgrade Junos with
network-agentandopenconfigpackages - a python script configure_junos.py to configure Junos devices (IP Fabric with EBGP)
- a python script audit_junos.py to audit BGP sessions state
- a python script generate_telegraf_configuration.py to generate Telegraf configuration files from templates.
- a python script generate_saltstack_configuration.py to generate SaltStack files from templates.
- a python script start_saltstack.py to start Saltstack services (master and minion) and proxies (one daemon Junos device)
It has also a Makefile to simplify the demo.
This repository has been tested with an Ubuntu host running 16.04 release.