Re: snmptranslate can't read a specefic object name
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/07, Reza Salehi <[email protected]> wrote: > If I run the following command: > snmptranslate -v 2c -c TC localhost REZA-MIB::myObject > REZA-MIB:myObject: Unknown Object Identifier > > > if I change the first line in REZA-MIB.txt.... > then : snmptranslate -v 2c -c TC localhost REZA-MIB1::myObject ... works. > > It seems snmptranslate doesn't like the name. That sounds suspiciously as if the wrong MIB file is being read in (or it can't find the MIB file at all). Try running snmptranslate -Dparse-mibs .... REZA-MIB::myObject and have a look through the debug output for mention of REZA-MIB. It might also be worth deleting the MIB .index files (either the MIB directories themselves, or under /var/net-snmp depending on version), in case one of those is misleading the parsing code. 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