nv-l
[Top] [All Lists]

Re: trap daemon: can it receive SNMPv2 and SNMPv1 traps?

To: nv-l@lists.tivoli.com
Subject: Re: trap daemon: can it receive SNMPv2 and SNMPv1 traps?
From: James Shanks <James_Shanks@TIVOLI.COM>
Date: Wed, 9 Feb 2000 09:54:36 -0500
Well, the first thing I would do is edit the format in trapd.conf (using
xnmtrap) and just change it to say something like
"Trap $G $S  received: $*"  so that what you get in the event window is the
generic and specific id and all the variables listed.  That will tell you
whether or not  the variables you were trying to format  were really there or
not.

 If you still think there is a problem, then you will have to call Support.  But
first I would get a hex trace of the incoming trap.  Use the Tivoli desktop (or
SMIT) to set the "hex dump of all packets" option on the trapd daemon.  This
will cause him to write those to the trapd.trace log.  Once trapd is running
with this option ( -x) you can control when he traces by  issuing the command
"trapd -T " from the command line to toggle the tracing on and off.  Support
will need the hex dump of the incoming trap , as well as your trapd.conf to
figure things out.

James Shanks
Tivoli (NetView for UNIX) L3 Support



"Rauwers, Laurens" <rauwers@HITT.NL> on 02/09/2000 08:37:51 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/Tivoli Systems)
Subject:  Re: trap daemon: can it receive SNMPv2 and SNMPv1 traps?




James,

First of all, when I talk about SNMPv1 and SNMPv2, I use the phrases used in
Dave Perkins book understanding MIB's.
A v2 trap there has the SNMP type a7.
That type we saw coming from a UCD agent. We try to set it(the agent) to
SNMPv1 traps(should be possible according the man page) but that didn't
work, no traps at all were sent then.
So we're forced to v2 by the UCD agent.
In the event window(control desk) we see: "FMT ERROR: accessing element #2,
only 1 available" and "FMT ERROR: accessing element #4, only 1 available"
for a trap(type a7).
Because we're not quite sure about the values in the var binds I raised this
question.
Hope this clarifies the question.

THanks.
Laurens Rauwers
HITT
> -----Original Message-----
> From: James Shanks [SMTP:James_Shanks@TIVOLI.COM]
> Sent: Wednesday, February 09, 2000 1:53 PM
> To:   NV-L@UCSBVM.UCSB.EDU
> Subject:      Re: trap daemon: can it receive SNMPv2 and SNMPv1 traps?
>
> You need to explain what you mean by this.
>
> First, technically speaking, there are NO traps in SNMP V2, because SNMP
> V2 does
> not recognize the trap designation (SNMP type a4) as supported.  SNMP V2
> hatched a concept called "notifications" and another called "reports"
> which were
> meant to replace traps.  But no vendors, so far as I know, went along with
> this
> and thus traps are alive and well today.
>
> Second, trapd does have code to recognize when an agent says it is using
> SNMP V2
> as opposed to V1, but there should be no difference in the varbind
> structure.
> They are still "type-length-value" with the encoding done by the same
> Basic
> Encoding Rules of ASN.1.
>
> So unless you can be more specific here, I would suggest opening a problem
> to
> Support.
>
> James Shanks
> Tivoli (NetView for UNIX) L3 Support
>
>
>
> "Rauwers, Laurens" <rauwers@HITT.NL> on 02/09/2000 06:34:48 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/Tivoli Systems)
> Subject:  trap daemon: can it receive SNMPv2 and SNMPv1 traps?
>
>
>
>
> Hello,
> we have NV 5.1.2.
> Is trapd able to receive SNMPv1 as well as SNMPv2 traps in  a correct way?
> We are having trouble receiving v2 traps, it looks like that it is not
> recognizing all the PDU varbinds.
> Thanks for your reply.
>
> Laurens Rauwers
> HITT


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

Archive operated by Skills 1st Ltd

See also: The NetView Web