Re: Bizarre MIB translation problems

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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

-- 
Thomas Anders (thomas.anders at blue-cable.de)


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