A Network Engineer’s journey into Automation and AI

Monitoring BGP and sending slack alerts using python

As a part of the backbone team , we constantly came across the need for checking the BGP neighborships in our Core and Edge routers and Customer Premise Equipment(CPE). The slack alerts were needed to be send if any anomaly in the neighborship is detected. This python script will connect to the Hashicorp Vault over API, retrieve the credentials needed to connect to Netbox and networking devices along with the slack token and send a slack alert if there are any BGP neighborship that are not in the state of ‘Established’


Leave a Reply

Your email address will not be published. Required fields are marked *