cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
503
Views
0
Helpful
3
Replies

how to get processorRam of catos using snmp ?

henrybb
Level 1
Level 1

Oid processorRam(1.3.6.1.4.1.9.3.6.6) can't used on 6509 switch .I used sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree to get the processor Ram. And are there any other oid can be used to get the information directly?

Can anybody give me some tips to find the oid ? Generally I read snmp chapter of cisco tac . But there is little information. Can you tell me how to find the oid which I need ? Maybe there are some useful documations or web sites which I don't know.

any comments is appreciated.

thanks!

henry

3 Replies 3

henrybb
Level 1
Level 1

There are so many more mibs which cisco device support. How can I find the information which I need ?

thanks!

On a Solaris box, i usually do an snmpwalk of the device, write it to a text file which is normally quite large depending on the device, then sift through the file for the bits i am interested in.

snmpwalk -c community_string device_IP > /tmp/device_name

grep -i proc | more

for example, if i do an snmpwalk on a 7507 router and then grep for "mem", the following shows the first few lines:

$ grep -i mem paddy | more

cisco.local.lsystem.freeMem.0 : INTEGER: 60559040

cisco.local.lsystem.bufferNoMem.0 : INTEGER: 0

cisco.local.lip.lipAddrTable.lipAddrEntry.locIPHow.192.168.0.7 : DISPLAY STRING-

(ascii): non-volatile memory

cisco.local.lip.lipAddrTable.lipAddrEntry.locIPHow.192.168.1.38 : DISPLAY STRING

- (ascii): non-volatile memory

cisco.local.lip.lipAddrTable.lipAddrEntry.locIPHow.192.168.1.109 : DISPLAY STRIN

G- (ascii): non-volatile memory

cisco.local.lip.lipAddrTable.lipAddrEntry.locIPHow.192.168.1.118 : DISPLAY STRIN

G- (ascii): non-volatile memory

You can then pick out the OID and search on Cisco for futher information

e.g Searching on bufferNoMem returns the following link

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.2.1.47

HTH

Paddy

Thanks your reply.

It is useful method.And sometimes I may need operate more than one oid. For example,I want to copy running-config from cisco switch to tftp server. I must set ccCopySourceFileType and ccCopyDestFileType and other oid. I know this because snmp chapter of cisco tac has this documation.

So how about other complicated oid operation ? If snmp chapter of cisco tac don't say,how to do this ?How did I know which set of oids must be set at same time when I want to do something .

In mib file ,there also isn't information about this.Where can I find this type information ?

thanks!