Monitoring port states with Ciscocmd! From a new friend of the site.

CLICK HERE FOR MORE DETAILS on how to utilize Ciscocmd to monitor you entire network at a glance and keep your finger on the pulse of your global communications infrastructure. […]

CLICK HERE FOR MORE DETAILS on how to utilize Ciscocmd to monitor you entire network at a glance and keep your finger on the pulse of your global communications infrastructure.

SUBSCRIBE HERE for to receive useful updates and tips for Network Administration and Automation.

Monitoring port states with Ciscocmd!

The tar file contains a folder with the following files.

– A README file.
– The ciscocmd script. Remember to ensure this is an executable.
– The ciscocmdup script. This script monitors the state of ports and triggers an action based on an err-disable state.
– A temp folder
– GPL license
– A folder that has a switch target file.

This script would be useful in the case of a data center or where all interfaces need to be up. You can even remove the part that triggers trying to bring the script to try to up anĀ  interface automatically and only email you. It’s up to you. Please check it out. Hopefully it will be helpful to you.

Please sign up to receive new articles and scripts to help you automate network administration tasks.

Would like to thank Fred for contributing this script.

The tar file is attached below. You can right click it and do a “save as” to download it.

ciscocmdup.tar

Here is the output of the README file:

———————————————————————————————————————————————————-

Hello!
Dependance ciscocmd (inside the folder, don’t worry)

Using ciscocmd, this script watch for error on cisco switch interface and up them, then send a log mail.
If no error-disabled port and no connection failed, no mail.

1/ place all your switch list in the file named ./equipements/switchall one by line
2/ edit ciscocmdup with your USER and PASS.
3/ keep the folder /equipements and /temp in place and launch ./ciscocmdup
4/ better in crontab :)

i know it could be better coded, but it worksvery well for me at works with about 150 stack-switch!
skills missing for that…

———————————————————————————————————————————————————-

CLICK HERE FOR MORE DETAILS on how to utilize Ciscocmd to monitor you entire network at a glance and keep your finger on the pulse of your global communications infrastructure.

SUBSCRIBE HERE for to receive useful updates and tips for Network Administration and Automation.

About berkel8