nv-l
[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
>     CISCO-ISDN-MIB-V1SDI.my
> 
> 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
/usr/OV/bin/xnmbrowser.  

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

    addtrap(1)
    
      Purpose
    
      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 

    mib2trap(1)
    
      Purpose
    
      Automatically customizes trap definitions using a MIB definition
      file


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.  

http://www.amazon.com/exec/obidos/ASIN/0134377087/qid%3D1022189951






Best Regards, 
-- 
Todd H.
http://www.toddh.net/

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

Archive operated by Skills 1st Ltd

See also: The NetView Web