Capture Router/switches peformance parameters

We are planning to have a simple script to login to the routers and switches every hour and capture the CPU/memory other performance management parameters by using repective comnnads.

Currently we are using a very famous tools for that, But we would like to discontinue that and out org is not favour of any free tools like MRTG etc, we just want to have a perl script kind of stuff which can login to the switches and get the performance parameter and store in CSV…Later we can pull the values from CSV and manipulate the data the way we want….

Appreciate your help…
LVL 3
moorthy_kulumaniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

InteraXCommented:
For this type of thing, I have used TerraTerm scripting before now. Pretty powerful and versatile and can output to text file. You can then convert this to CSV later.

The problem with only querying every hour is that you will miss transient spikes in usage This might not help with diagnosis or analysis. Admitedly, there is always a trade off between frequency and accuracy, but hourly does seem to be a bit too infrequent for proper analysis of spikes. Also, with the the stats reported, these are the stats at a point in time.

PRTG/MRTG are a LOT more powerful and have some very good inbuilt reports. You can also export the data for manipulation using other tools. I would strongly recommend their use for network monitoring. Is the reluctance due to using SNMP? An understanding of the reason why not to use MRTG/PRTG or similar would help with advice.

I'm not sure how you would do this with PERL.
moorthy_kulumaniAuthor Commented:
Basically the resistance is due to the support model is not there for Freeware ...That is the only issue....
I will try to use TerraTerm, I have done few stuff with MRTG & Nagios in my previous org may be i will try to propose the same here....
InteraXCommented:
If the concern is about support, there is a paid for version of PRTG with support etc.

For terraterm, look at the attached file for ideas. This is a script I have setup for use at work. It was based on another script I got off the web. It is used to connect to a large number of switches and backup the config to a tftp server, but you should be able to modify this to get the info you want.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
InteraXCommented:
Looks like EE doesn't like the file extension. Rename the file from .txt to .ttl to get terraterm scripting to work properly.
BackupConfigs.txt
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Management

From novice to tech pro — start learning today.