Re: RDBMS-MIB

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22/02/07, Josh Tolley <[email protected]> wrote:
>  I'm messing with the RDBMS-MIB (rfc 1697), and from all I can see, it
> looks like the RFC uses invalid syntax.... 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.

Hmmm...  I'm not sure it does, actually.
There are no special requirements to "export"
a MIB definition from a MIB file.   Anything defined
is automatically available for import.


> The definition of applIndex, for
> instance, is as follows:

    [snip]

> The RDBMS-MIB tries to use it as follows:
>
>   IMPORTS
>           FROM APPLICATION-MIB

 <snip>

>   rdbmsSrvEntry   OBJECT-TYPE
>       SYNTAX      RdbmsSrvEntry
>       MAX-ACCESS  not-accessible
>       STATUS      current
>       DESCRIPTION
>           "...."
>       INDEX { applIndex }
>       ::= { rdbmsSrvTable 1 }

Yup - that looks perfectly reasonable.
The rdbmsSrvTable is effectively augmenting the generic
application table - adding RDBMS-specific information for
the relevant application instances.


> I haven't been able to get much of an error message out of any apps to
> really tell me what's wrong... [but] snmptranslate can't take
> it, etc. Can anyone shed any light on this?

I've just tried installing the RDBMS-MIB and APPLICATION-MIB from
RFCs 1565 and 1697 respectively.  snmptranslate can interpret
MIB objects from the RDBMS-MIB quite happily.

However, while retrieving these MIBs, I also came across another
version of the APPLICATION-MIB (dated 1998), which had a
different structure, and hence didn't work successfully with the
RDBMS MIB.

Try running snmptranslate with the option -Dparse-mibs, which
will show you exactly which MIB files are being read in.  Look
very closely at the RDBMS and APPLICATION MIBs, and
check that they are the versions you expect.

That's all I can suggest at the moment.

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