Today I’d like to share with you simple python script which can be used to automate and speed-up some time consuming activities in CUCM.
Goal of the script is to establish SSH connection to multiple CUCMs (using threads), issue required commands, wait for the output and save it to separate files on your PC.
In bellow examples we will check CUCM status and database replication, but you can play with it and implement whatever logic you want. This can be also used against IOS devices.
So here is the script: