Fwd: Re: Re: Re: snmptranslate can't read a specefic object name

Reza Salehi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave,
   
  There is no index file in /var/net-snmp directory. It is just in /usr/local/share/snmp/mibs (which seems to me is working directory) and I deleted it and it didn't help.
  I am also sending the REZA-MIB.txt for your reference.
  I did copy this MIB in another machine and it worked fine with snmptranslate.
   
  Thanks,
  Reza
   
   
   
   
   
  REZA-MIB DEFINITIONS ::= BEGIN
  
-- A Comment!
  
-- IMPORTS: Include definitions from other mibs here, which is always
  -- the first item in a MIB file.
IMPORTS
 
netSnmpExamples                FROM NET-SNMP-EXAMPLES-MIB
 
OBJECT-TYPE, Integer32,enterprises,Counter32,
   MODULE-IDENTITY                       FROM SNMPv2-SMI
   MODULE-COMPLIANCE, OBJECT-GROUP       FROM SNMPv2-CONF
;
-- A brief description and update information about this mib.
  --
REZA  MODULE-IDENTITY
      LAST-UPDATED "200205290000Z"            -- 29  March2007, midnight
      ORGANIZATION "TC"
      CONTACT-INFO "postal:   Reza Salehi
                              P.O. Box 
                            San Diego CA  95617
  
    email:    [email protected]
                   
                 "
      DESCRIPTION  "A simple mib for demonstration purposes.
                   "
      ::= { enterprises 9988 }
   
  -- Define typical mib nodes, like where the objects are going to lie.
  -- we'll prefix everything in this mib with nst (net snmp tutorial)
  
rezaMIBObjects     OBJECT IDENTIFIER ::= { REZA 1 }
  rezaMIBConformance OBJECT IDENTIFIER ::= { REZA 2 }
   
  
-- define 3 objects, which will all be implemented in different ways
  -- within the tutorial.
   
  rezaAgentModules   OBJECT IDENTIFIER ::= { rezaMIBObjects 1 }
   
   
  rezaAgentModuleObject  OBJECT-TYPE
      SYNTAX      Integer32
      MAX-ACCESS  read-write
      STATUS      current
      DESCRIPTION
 "This is an object that simply supports a writable integer
    when compiled into the agent."
      DEFVAL { 1 }
      ::= { rezaAgentModules 1 }
   
  
rezaTemperature OBJECT-TYPE
      SYNTAX      Integer32
      MAX-ACCESS  read-write
      STATUS      current
      DESCRIPTION
 "This is an object that simply supports a writable integer
    when attached to the agent.  The object should be accessible
    when the agentx subagent containing this object is attached.
    "
      DEFVAL { 2 }
      ::= { rezaAgentModules 2 }
   
  
rezaHumidity OBJECT-TYPE
      SYNTAX      Integer32
      MAX-ACCESS  read-write
      STATUS      current
      DESCRIPTION

   
   
  

Note: forwarded message attached.

        
---------------------------------
Looking for earth-friendly autos? 
 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.

-------------------------------------------------------------------------
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
(unnamed) (message/rfc822, 4.7 KB) - not displayed
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.