1) NetView will display the trap but as "Trap with no known format in
trapd.conf". Good news is that it will display the details of the trap
giving you the Enterprise ID, specific trap number and any other details
supplied in the trap.
2) You will need to get the specifics on the traps from the vendor. Often
the traps are defined in the vendor's mibs. In NetView 5.x there is a
mib2trap utility which may be used to create a "addtrap" script to update
trapd.conf. Do "man mib2trap".
Blaine Owens
Eastman Chemical Company
Email - bowens@eastman.com
Phone - (423)229-3579
Fax - (423)229-1188
> -----Original Message-----
> From: Sharma, Sanjeev [SMTP:Sanjeev.Sharma@usa.xerox.com]
> Sent: Wednesday, March 24, 1999 8:26 AM
> To: NV-L@UCSBVM.ucsb.edu
> Subject: Re: NetView 5.1 doesn't receive SNMP traps?
>
> Hi to all
> My question is related to the trap related implementation in
> NetView.Suppose
> NetView console discover
> one printer and show it under smartSet "Printers". If printer generate any
> trap,will netview shows those event in the event browser without
> registering
> those traps.
> Second quesion is related to the number which is used in trap
> registration,how can we come to know about the number of that particular
> trap.
> I really thankful to those who willtry to helps me out on this issue.
>
> regards
> sanjeev
>
> -----Original Message-----
> From: Weiya Cai [mailto:weiya_cai@compuware.com]
> Sent: Monday, March 22, 1999 4:47 PM
> To: NV-L@UCSBVM.UCSB.EDU
> Subject: Re: NetView 5.1 doesn't receive SNMP traps?
>
>
> James,
>
> Yes, there is another 3rd party's trapd listenning to
> udp port#162. nv trapd works after I shutdown the 3rd party
> trapd.
>
> NV installation script can be enhanced by checking service
> entries of tcp/162, and udp/162 at /etc/services.
> NV 5.1 installation doesn't check the existing udp/162 entry
> but appends following lines:
>
> nvtrapd-trap 162/tcp # NetView trapd monitor trap port
> nvtrapd-trap 162/udp # NetView trapd monitor trap port
>
> which generates double entries.
>
> I think that a warning with reference to the doc on NV trapd coexisting
> with other trap services is a better solution.
>
>
> Regards,
>
>
> Weiya
>
>
>
> > Hop-Count: 1
> > Date: Mon, 22 Mar 1999 13:37:50 -0500
> > From: James Shanks <James_Shanks@TIVOLI.COM>
> > Subject: Re: NetView 5.1 doesn't receive SNMP traps?
> > To: NV-L@UCSBVM.ucsb.edu
> > X-Comment: UCSBVM.ucsb.edu: Mail was sent by corp.tivoli.com
> > X-Lotus-Fromdomain: TIVOLI SYSTEMS
> > Content-Disposition: inline
> > MIME-Version: 1.0
> > Content-Disposition: inline
> >
> > You need to do some problem determination and figure out why you aren't
> > getting these traps.
> > How about an iptrace on the NetView box to see whether they are
> arriving?
> > What port are they being sent to (162/upd?).
> > Does your /etc/services have nvtrapd-trap assigned to 162/udp?
> > What about having other software installed, like Optivity, which might
> have
> > changed the trap reception port?
> >
> > I can assure you that out of the box, NetView V5.1 will receive traps
> from
> > other sources than netmon, so the problem is local to you.
> >
> > James Shanks
> > Tivoli (NetView for UNIX) L3 Support
> >
> >
> >
> > Weiya Cai <weiya_cai@compuware.com> on 03/22/99 01:08:11 PM
> >
> > Please respond to Weiya Cai <weiya_cai@compuware.com>
> >
> > To: NV-L@UCSBVM.UCSB.EDU
> > cc: (bcc: James Shanks)
> > Subject: NetView 5.1 doesn't receive SNMP traps?
> >
> >
> >
> >
> >
> > Hi,
> >
> > NetView console can't receive SNMP traps from other
> > sources. (I tested it by sending traps using HP OV snmptrap and
> > our SNMP trap utilities).
> >
> > NetView's trapd runs well:
> >
> > object manager name: trapd
> > behavior: OVs_WELL_BEHAVED
> > state: RUNNING
> > PID: 33260
> > last message: Initialization complete.
> > exit status: -
> >
> >
> > And the only events the console gets is from netmon. Do I
> > need to configure trapd, or get a patch for NV 5.1?
> >
> >
> > Thanks.
> >
> >
> > Weiya
> >
|