cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2148
Views
11
Helpful
4
Replies

Cisco Inventory Scripts-

getwithrob
Level 3
Level 3

I'm looking for input from the user community on where I might find scripts to perform inventory on Cisco equipment (Rtrs and Switches of various models).

I see where I can walk the OIDs below and get cardInformation for routers and was hoping I could somehow pull the data I get using RME XML and custom card reports using a script(s) or freeware type tools.

cardDesc = .1.3.6.1.4.1.9.3.6.11.1.3

cardSlotNumber = .1.3.6.1.4.1.9.3.6.11.1.7

Any input is appreciated-

4 Replies 4

m.singer
Level 4
Level 4

I think, the following script imports a license file located at C:\clm_email_license.xml:

clm_import.bat cisco email C:\clm_email_license.xml

for more information please click following URL:

http://www.cisco.com/en/US/products/ps7138/products_white_paper0900aecd80582579.shtml

akemp
Level 5
Level 5

Here you go

www.net-snmp.org

This is not an option for my business.

My caveats for this:

1. Does not support all Cisco hardware platforms.

2. Does not support all versions of IOS

3. Will prolly die a most horrible death when it encounters modular IOS.

4. Your support is questionalble and may be religated to tinkerers or script kiddies (but there are also lots of well educated and knowledageable folks in the Non-Profit and Education fields that use this)

gng4life
Level 1
Level 1

Hello Getwithrob,

I'm a little confused, you have RME running on your network but you want to use a script to get your inventory? If you have RME, you should be able to look into the DCR and see what devices are credentialed. Also, do you have CM running? Did you run a discovery on the network? Are there any devices listed in your discovery report?

I hope I can help out some, please let us know more.

1st off, thanks for the responses.

Sorry it's taken me so long to get back to them.

There are 3- RME 3.5 servers and 6- Campus Mgr 3.3 servers doing configuration, inventory and syslog management for approximately 15,000 nodes made up of 81 different models of devices running some 280 or so different versions of code. The Solaris boxes are all the way patched and at the latest IDUs.

The custom card reports won't show daughter cards, power supplies and don't report on new devices like 6504-Es and a few others that are EOS/EOL just to mention a couple of problems with this report.

I can run the detailed device reports but I have to filter a ton of data not related specifically to the chassis models/Serial #s, card models/types/Serial #s, power supply models/Serial #s.

I've also setup some custom XSL stylesheets to launch XML output created using cwexport in a browser but all daughter cards and power supplies don't live in the same part of the XML output meaning many different stylesheets would have to be written and applied.

These are only a couple of the challenges I face each month when trying to get an accurate inventory of the all the devices on the network so spare parts are available in the warehouses around the country.

All devices are in fact discovered in Campus but I wasn?t aware I could get inventory information like serial #?s and card models and types from Campus.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: