snmptranslate can't read a specefic object name

Reza Salehi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
   
  I am having a strange behavior with snmptranslate.
  I added some objects to my MIB file(It was working before) and ran snmptranslate to verified their OID.snmptranslate gave me errors about that specific MIB.I fixed that errors but I coudn't get snmptranslate working anymore with that specific MIB . 
  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   from 
  REZA-MIB   DEFINITIONS ::BEGIN
   
  to whatever name  like  : 
   
  REZA-MIB1   DEFINITIONS::BEGIN
   
  then :  snmptranslate  -v 2c -c TC localhost REZA-MIB1::myObject ... works.
   
  It seems snmptranslate doesn't like the name. I have to change the MIB name.
  For making sure I did reset the computer,turned snmpd off ,.....but it didn't work.
   
  Please help.
   
  Thanks,
  Reza
   
   
   
   
   

       
---------------------------------
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

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