Bizarre MIB translation problems

Andy Fry <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I'm trying to work out what I've done wrong here, but it all seems a 
frankly bizarre at the moment.

I use snmpget to try and get the value of a CISCO-PROCESS-MIB object:
-bash-3.00$ snmpget -c public -v 1 -m all xxx.xxx.xxx.xxx 
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9: Unknown Object Identifier 
(Index out of range: 9 (cpmCPUTotalIndex))

So I assume that the MIB is not loaded and can't be translated to a 
numeric OID. Look it up on the Cisco site and try this
-bash-3.00$ snmpget -c public -v 1 -m all xxx.xxx.xxx.xxx 
.1.3.6.1.4.1.9.9.109.1.1.1.1.6.9
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9 = Gauge32: 26 percent

Which shows that it is translating the MIB one way at least

To enhance the weirdness I tried using snmpwalk to verify the index of 9 
was correct
-bash-3.00$ snmpwalk -c public -m all -v 1 xxx.xxx.xxx.xxx 
CISCO-PROCESS-MIB::cpmCPUTotal5secRev
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9 = Gauge32: 26 percent

Can anybody offer any advice or explanation for this behavior ? I have 
no idea where to go next to debug it.

Thanks

Andy

-- 
Andy Fry

Senior Systems Consultant
Information Technology Services
University of Adelaide
Tel : 08 8303 4135

CRICOS Provider Number 00123M
----------------------------------------------------------- 
This email message is intended only for the addressee(s) 
and contains information that may be confidential and/or 
copyright.  If you are not the intended recipient please 
notify the sender by reply email and immediately delete 
this email. Use, disclosure or reproduction of this email 
by anyone other than the intended recipient(s) is strictly 
prohibited. No representation is made that this email or 
any attachments are free of viruses. Virus scanning is 
recommended and is the responsibility of the recipient.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.