Re: Bizarre MIB translation problems

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

snmpget version is 5.3.0.1
CISCO-PROCESS-MIB last updated 200301220000Z

I'm pretty sure I have everything set up exactly the same on another box 
and that's working fine but using snmpget version 5.1.2 but the same MIB 
version.

I didn't post the snmptranslate results, but they're pretty odd too.
# snmptranslate -On CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9
No log handling enabled - turning on stderr logging
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9: Unknown Object Identifier 
(Index out of range: 9 (cpmCPUTotalIndex))
# snmptranslate .1.3.6.1.4.1.9.9.109.1.1.1.1.6.9
CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9

Seems to translate one way, but not the other.

????

Andy

Thomas Anders wrote:
> Andy Fry wrote:
>   
>> 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))
>>
>> -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
>>
>> -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
>>     
>
> In the first case, it's the client-side snmpget that complains (about
> the index) before even sending the query while in the other cases the
> query looks good to the tool. I can't immediately spot *why* snmpget is
> complaining in the first case, though, at least within the environment I
> have here. What net-snmp version and what revision of CISCO-PROCESS-MIB
> are you using?
>
>
> +Thomas
>
>   

-- 
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.