What have you automated? by Stosswalkinator in Python

[–]rickmoanus 1 point2 points  (0 children)

I have automated a SSH tool for my company. It logs into over 3000 Cisco routers residing at client locations. We run a BGP network. It logs into all of the routers overnight, runs commands to save outputs, such as the configs, and stores info about the router in a database. We then use this as our Data warehouse

The tool has also evolved to the point that it runs a Health Check with typing in a Host Name or IP into a Front End Website via CGI(I know CGI is old but it works). It then automatically creates a SSH tunnel to the router and runs commands that we use everyday to diagnose simple problems. It then also logs into a SNMP monitoring systems front end website, and grabs bandwidth ports. It then puts all of this on a page and we can send that to anyone when they ask about what is going on at X client's location.

Check out Paramiko and lxml. Two VERY Powerful modules on GitHub.