[Top] [All Lists]

Re: [nv-l] Mib CISCO-ISDN-MIB-V1SMI.my

To: "M.Haseneder" <Martina.Haseneder@datev.de>
Subject: Re: [nv-l] Mib CISCO-ISDN-MIB-V1SMI.my
From: netview@toddh.net (Todd H.)
Date: 23 May 2002 16:37:12 -0500
Cc: <nv-l@lists.tivoli.com>
Reply-to: nv-l@lists.tivoli.com
"M.Haseneder" <Martina.Haseneder@datev.de> writes:
> Hi folks,
> I've loaded the Mib
> with the xnmloadmib, but NV 6.0 still has no definition for this
> trap in trapd.conf.

Hi Martina, 

Welcome to an ugly learning curve.  :-)

See other replies.  Loading a MIB file with xnmloadmib in NetView only
definies the MIB variables to NetView's MIB browser

What's confusing to new users is that xnmloadmib does NOT define any
SNMP traps to netview's trapd.conf file, even if the MIB file contains
trap definitions. 

The command /usr/OV/bin/addtrap adds things to trapd.conf.  There is a
man page for addtrap:
        # man addtrap

      Adds a trap definition to the trapd.conf file

Now, to bridge the gap between addtrap syntax and the text MIB file,
there is a utility called /usr/OV/bin/mib2trap There is a man page for
it as well.
        # man mib2trap 

      Automatically customizes trap definitions using a MIB definition

mib2trap takes some getting used to.  You may find that you have to
concatenate all dependent files together into one very large mib file
in order for mib2trap to have a complete enough input to make the
numeric OID's it needs to feed to the add trap commands.  To fully
understand this requires understanding the way MIB files are put
together.  There is a rather helpful book entitled "Understanding SNMP
MIBs" available that can ease this learning curve.  


Best Regards, 
Todd H.

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web