Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Event driven automation with a TIG (Telegraf-Influxdb-Grafana) stack and SaltStack

License

Notifications You must be signed in to change notification settings

ksator/event_driven_automation_with_a_TIG_stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is about Event driven automation with a TIG stack and SaltStack.

Visit wiki for instructions

Lab topology topology.png

BGP (data pulled with SNMP) BGP.png

BGP (data pushed with Openconfig) EBGP_sessions_Openconfig.png

Grafana is configured to send a webhook notification (HTTP POST with a JSON body) to SaltStack when one of the spine has less than 4 BGP sessions established.
SaltStack is configured to manage automatically tickets on Request Tracker.

Let's break the BGP session between the spine vMX1 and the leaf vMX5 is not anymore established.
So the number of established BGP session on vMX1 is now 3 and the number of established BGP session on vMX5 is now 2
So Grafana is altering (so it sent a webhook notification to SaltStack)
BGP-issue-vMX1-vMX5.png
BGP-alert-vMX1-vMX5.png

SaltStack created a ticket on Request Tracker, and updated the ticket with some details.
RT-new-ticket.png
RT-ticket-details.png