Re: Bizarre MIB translation problems
Andy Fry <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Err forget that last post, I'm a muppet This is the difference between the two outputs, but I'm not entirely sure what's going on: from command line snmpget -c public -Dparse-mibs -m CISCO-PROCESS-MIB -v 1 129.127.71.2 CISCO-PROCESS-MIB::cpmCPUTotal5min.9 > name 2>&1 < parse-mibs: Module CISCO-PROCESS-MIB already loaded < CISCO-PROCESS-MIB::cpmCPUTotal5min.9: Unknown Object Identifier (Index out of range: 9 (cpmCPUTotalIndex)) from command line snmpget -c public -Dparse-mibs -m CISCO-PROCESS-MIB -v 1 129.127.71.2 .1.3.6.1.4.1.9.9.109.1.1.1.1.6.9 > number 2>&1 > CISCO-PROCESS-MIB::cpmCPUTotal5secRev.9 = Gauge32: 26 percent I assume this means that the MIB doesn't get loaded because it thinks it's already loaded... but it's not ;-S /me scratches head in confusion Dave Shield wrote: > On 05/04/07, Andy Fry <[email protected]> wrote: > >> 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. >> > > > Does this work if you omit the .9 instance? > > Try running these two commands with the debug flag '-Dparse-mibs' > and compare the results. The parsing should be the same in both > cases, so any differences might be significant. > > Dave > > ------------------------------------------------------------------------- > 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 > > -- 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. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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