I'm messing with the RDBMS-MIB (rfc 1697), and from all I can see, it
looks like the RFC uses invalid syntax. This being a real RFC and all,
that seems unlikely, so the more plausible explanation is I'm missing
something important. Anyway, specifically, the RDBMS-MIB imports
applIndex and applGroup from APPLICATION-MIB (rfc 1565), but
apparently applIndex and applGroup aren't defined properly for being
imported, if that means anything. The definition of applIndex, for
instance, is as follows:

   applIndex OBJECT-TYPE
       SYNTAX INTEGER (1..2147483647)
       MAX-ACCESS not-accessible
       STATUS current
       DESCRIPTION
         "An index to uniquely identify the network service
          application."
       ::= {applEntry 1}

The RDBMS-MIB tries to use it as follows:

  IMPORTS
     MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
      Counter32, Gauge32, Integer32
          FROM SNMPv2-SMI
      DisplayString, DateAndTime, AutonomousType
          FROM SNMPv2-TC
      applIndex, applGroup
          FROM APPLICATION-MIB
      mib-2
          FROM RFC 1213-MIB;

<snip>

  rdbmsSrvEntry   OBJECT-TYPE
      SYNTAX      RdbmsSrvEntry
      MAX-ACCESS  not-accessible
      STATUS      current
      DESCRIPTION
          "An entry for a single database server.  A server is an
           independent entity that provides access to one or more
           databases.  Failure of one does not affect access to
           databases through any other servers.  There might be one or
           more servers providing access to a database.  A server may be
           a 'process' or collection of 'processes', as interpreted by
           the product."
      INDEX { applIndex }
      ::= { rdbmsSrvTable 1 }

I haven't been able to get much of an error message out of any apps to
really tell me what's wrong, and (just my luck) now I can't get any
error messages from anything to even support my conclusion that the
problem is because of this import (there is a reason, I promise... I
just don't remember what exactly it was and how to make it happen
again). But mbrowse won't open the RDBMS-MIB, snmptranslate can't take
it, etc. Can anyone shed any light on this?

-Josh

-------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to