In the previous episode… In the previous part of this series of posts, I described how it came to be that our SNMP monitoring infrastructure based on MRTG/RRD/CGI had reached the end of its days and how I decided to use Grafana with InfluxDB and Telegraf to replace it. The last post stopped right before…
Category: Automation
Migrating from MRTG/RRD/CGI to Grafana/InfluxDB/Telegraf on Docker containers for Enterprise Network Performance Monitoring with SNMP – Part 1
(if you are looking for part2, it’s here) Introduction I like reading guides, not writing them (it takes too long for me). So this isn’t a guide, it’s more like an adventure tale, it’s a “I got out one day for a stroll and look what happened!”. I had no knowledge of Grafana, InfluxDB, Telegraf…
Campus Vlan Cleanup after DC upgrade / Using Netmiko +NTC-Templates
Hello everyone. Once more, trying to inset automation in maintenance tasks, after we performed a DC upgrade at the company network, separating DC/Campus networks, we needed to clean up a lot of vlans from the campus networks. I came up with this script to play around, make the task more interesting and also avoid repetitive…
Using netmiko with NTC-Templates to gather data into for DC migration – Produce cisco configuration commands from Excel file
One month ago, we were migrating our DC core from older Cisco Catalyst models to Nexus models in 2 different DCs, connected over WDM, a longtime plan to provide a better foundation for networking services in our environment (+OTV, MacSec, etc). One of the plan’s main ideas was to separate user and DC networks and…
Python Script to process Prime LMS report for reclaiming Unused Up ports from legacy Cisco switches
In our previous attempt we created a script that took a prepared text file containing switches ip addresses and ports to be switched to a dummy vlan, preventing access for anyone connecting without permission. In this one, we will take a “Reclaim Unused Up” report that is created from Cisco Prime LMS, the well known…
Python Script to change inactive cisco switch ports to a dummy vlan
I am working on this script for a repetitive task we do at work. We often do a scan for inactive ports in building switches and if they are inactive for a long time, we set them to a dummy vlan that offers no ip connectivity to anyone connecting to it and turning on the…
Python script to search for certain mac address in Legacy Cisco enabled Campus LAN + Some History on my relationship with Network Automation
Introduction Hello all. It’s been some time now that I have started learning about network automation/programming through the Cisco DevNet channel, learning about NetDevOps, CICD and all those magical notions, presented by various incredible people on the Cisco Devnet Team. Automation with Network Devices is not new to me. I have been experimenting for a…
Ansible Playbook for upgrading Ubuntu based Nagios Server to latest version
Use Ansible to upgrade your Nagios Server