10-27-2004 06:54 PM - edited 03-02-2019 07:35 PM
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
10-27-2004 10:17 PM
There are so many more mibs which cisco device support. How can I find the information which I need ?
thanks!
10-28-2004 01:42 AM
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
HTH
Paddy
10-28-2004 06:49 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide