nv-l
[Top] [All Lists]

Re: mib2trap and SNMPV2 (was Re: Problem with nvaddtrapdconf)

To: nv-l@lists.tivoli.com
Subject: Re: mib2trap and SNMPV2 (was Re: Problem with nvaddtrapdconf)
From: "Prokott, Joe" <Joe.Prokott@WESTGROUP.COM>
Date: Tue, 3 Nov 1998 11:02:51 -0600
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
James,

The MIB is the IBM Network Dispatcher MIB.  I have included the part of this
MIB in question below.  I do want to have to query for the traps.  I just
want the traps to be sent when they occur on the system.  I assume NV will
need a format for these SNMPv2 just like the SNMPv1 traps.  The question now
is how do I get these SNMPv2 traps identified as "NOTIFICATION-TYPE" to into
a valid format in the /usr/OV/conf/C/trapd.conf file?


-- ==========================
-- || The Trap Definitions ||
-- ==========================
indHighAvailStatus NOTIFICATION-TYPE
   OBJECTS { hasState }
   STATUS  current
   DESCRIPTION
       "This trap announces that the value of the high availability
        status state (hasState) variable has changed.  The possible
        values of hasState and their respective meanings are:
         -idle,   (0) this machine is routing packets and is not trying
                      to establish contact with its partner Network
                      Dispatcher
         -listen, (1) high availability has just started and
                      network dispatcher is listening for partner,
         -active, (2) this machine is routing packets.
         -standby,(3) this machine is monitoring the active machine.
         -preempt,(4) transitory state during switch from primary to backup
         -elect,  (5) network dispatcher is negotiating with partner
                      for who will primary or backup
         -no_exec,(6) the executor is not running"
   ::= { dispatcherMibTraps 1 }

indSrvrGoneDown NOTIFICATION-TYPE
   OBJECTS { ssActiveConns }
   STATUS  current
   DESCRIPTION
       "This trap announces that the weight for the server specified
        by the csAddr, psNum, ssAddr portion of the Object Identifier
        has gone to zero, The last known number of active connections
        for the server is sent in the trap.

        This trap indicates that, as far as Network Dispatcher can
        determine, the specified server has gone down."
   ::= { dispatcherMibTraps 2 }
-- end dispatcherMibTraps

===============================

Joe Prokott - West Group
Network Architect
610 Opperman Drive
St. Paul, MN  55123
Phone: 651-687-4536
Fax: 651-687-6946
E-mail: joe.prokott@westgroup.com


-----Original Message-----
From: James_Shanks@TIVOLI.COM [mailto:James_Shanks@TIVOLI.COM]
Sent: Monday, November 02, 1998 4:30 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: mib2trap and SNMPV2 (was Re: Problem with nvaddtrapdconf)


mib2trap specifically looks for TRAP-TYPE and that's all
Traps in trapd.conf are organized by enterprise -- the oid of who is
sending it, regardless of what it is about.  So an agent implementing
SNMPV2 would have to include any traps under his enterprise.

And most SNMPV2 data is made available via SNMPGET rather than by trap, so
I'm afraid I am not aware of what a NOTIFICATION-TYPE is in this regard.
What MIB are you looking at?

James Shanks
Tivoli (NetView for UNIX) L3 Support



"Prokott, Joe" <Joe.Prokott@WESTGROUP.COM> on 11/02/98 04:54:14 PM

Please respond to Discussion of IBM NetView and POLYCENTER Manager on
      NetView <NV-L@UCSBVM.UCSB.EDU>

To:   NV-L@UCSBVM.UCSB.EDU
cc:    (bcc: James Shanks)
Subject:  Re: Problem with nvaddtrapdconf





Note: Some recipients have been dropped due to syntax errors.
Please refer to the "$AdditionalHeaders" item for the complete headers.



Do SNMPv2 traps also need to be defined in the /usr/OV/conf/C/trapd.conf
file?  If so, it appears that the "mib2trap" executable does *not* convert
SNMPv2 traps defined as "NOTIFICATION-TYPE" in the MIB file into a script
using the "addtrap" command.  I see that these traps are defined in the
MIB,
but I assume the trapd.conf file also needs how to translate these as well
when NV receives them, not?  Does NV handle these differently?  I am not
familiar with the "NOTIFICATION-TYPE" SNMP identifier - I assume this is
specific to SNMPv2?  Thanks,

Joe Prokott - West Group
Network Architect
610 Opperman Drive
St. Paul, MN  55123
Phone: 651-687-4536
Fax: 651-687-6946
E-mail: joe.prokott@westgroup.com


-----Original Message-----
From: James_Shanks@TIVOLI.COM [mailto:James_Shanks@TIVOLI.COM]
Sent: Wednesday, October 28, 1998 4:02 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Problem with nvaddtrapdconf


NO, NO, NO.  NetView does NOT load any trap definitions when you compile
mibs.  This is a misconception.

Adding trap definitions is a separate step.  If you have a MIB with trap
definitions in it, the you must use the mib2trap function to get an addtrap
script generated, and this in turn will add your traps to trapd.conf when
it is run.

To get this function to work properly, you must be at NetView V5.1

(Sorry if you find my emphasis offensive.  I have been trying to stamp out
this misconception for some time).

James Shanks
Tivoli (NetView for UNIX) L3 Support



pieter <pieter@SNSCON.CO.ZA> on 10/28/98 02:29:05 PM

Please respond to Discussion of IBM NetView and POLYCENTER Manager on
      NetView <NV-L@UCSBVM.UCSB.EDU>

To:   NV-L@UCSBVM.UCSB.EDU
cc:    (bcc: James Shanks)
Subject:  Re: Problem with nvaddtrapdconf





Hi

Normally which you compile the mibs, Netview will/should load the all the
trap
definitions supllied with the specific mib. So try and load the mibs...



Vynita Pretorius wrote:

> -- [ From: Vynita Pretorius * EMC.Ver #2.5.02 ] --
>
> Hi
> When you say you are looking up Trapd.conf I presume you are looking at
the
> trapd.conf that appears in /usr/OV/conf/C because in my experiences the
> trapd.conf in /usr/OV/conf does not update. Have you checked to see the
> actual traps in xnmtrap.
> B.T.W. There is a utility xnmevents and UpdateTrapXXX which merges a file
> into the trapd.conf, BUT if think it is part of the Ciscoview/works
package.
>
> Thanks
> Vynita Pretorius
>
> -------- REPLY, Original message follows --------
>
> > Date: Tuesday, 27-Oct-98 09:29 AM
> >
> > From: James_Shanks@TIVOLI.COM  \ Internet:    (james_shanks@tivoli.com)
> > To:   Multiple recipients of list NV-L \ Internet:
(nv-l@ucsbvm.ucsb.
> edu)
> >
> > Subject: Re: Problem with nvaddtrapdconf
> >
> > Are you getting any messages at all?  You should get at least a
> "successful"
> > message.
> >
> > The only thing I can think of is that your trapd.conf does not have an
> > enterprise entry for this vendor.  If not, you will have to add that
first
> by
> > xnmtrap, or put it into the vendor file as the first item.  But
whenever I
> have
> > this problem, I do get an error message.  If you cannot get it to work,
> then
> > you'll have to call Support.
> >
> > James Shanks
> > Tivoli (NetView for UNIX) L3 Support
> >
> >
> >
> > "R.V." <vishwa@INDUS.HCLT.COM> on 10/26/98 02:07:16 AM
> >
> > Please respond to Discussion of IBM NetView and POLYCENTER Manager on
> >       NetView <NV-L@UCSBVM.UCSB.EDU>
> >
> > To:   NV-L@UCSBVM.UCSB.EDU
> > cc:    (bcc: James Shanks)
> > Subject:  Problem with nvaddtrapdconf
> >
> >
> >
> >
> >
> > Hi all,
> >             I am new to NetView. I have
> > a problem when merging the Vendor
> > supplied
> > trap definitions into the trapd.conf
> > file using the nvaddtrapdconf shell
> > script. No error
> > msg's occur . But when I  look up the
> > trapd.conf file after running the script
> > no Vendor supplied definitions have been
> > actually added. I don't understand
> > what's happening.Can any one help me out
> > , please ?
> >                 Thanx in Advance.
> >
> >
> > - Regards
> >
> > Vishwa
> >
>
> -------- REPLY, End of original message --------

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

Archive operated by Skills 1st Ltd

See also: The NetView Web