nv-l
[Top] [All Lists]

Re: [nv-l] can't send trap

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] can't send trap
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 10 May 2006 17:22:32 -0400
Delivery-date: Wed, 10 May 2006 22:22:48 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF4D97DF6B.3299C0F6-ON8525716A.0068303A-8825716A.006A257D@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
I am confused about just what you are asking.
If you are asking why the net-snmp snmptrap command did not send a trap to
your Window machine, I, for one, cannot help you.
If you are asking why you did not see the trap in your Windows machine,
that would depend on where you looked and how it was configured.

In NetView for Windows SNMPv2 traps will not be received if you are using
the default MS trap Service.  To receive and display SNMPv2 traps in
NetView for Windows you have to reconfigure trapd to control the trap port
himself.  The instructions for doing that are in the NetView for Windows
Version 7.1.4 FixPack3 and FixPack4 Release Notes.  Prior versions of
NetView for Windows could not receive SNMPv2 traps, period.

You did not say where you were looking for the traps either.  By default
trapd in the Windows version does not keep a log.  You have to enable that
using Server Setup.   You can also enable the trapd trace.  The trace will
indicate every trap that comes in, and if you also enable the hex dump of
the packets, it will show you exactly what's been received.  The event
browser will show you all traps which were received and formatted in some
fashion or other by trapd, but it will not show you the failures.  You'd
need the trapd.trace to see that.

You are aware, I trust, that there is also a Linux version of NetView.  It
receives and formats SNMPv2 traps by default.   Lab Services in our
building have it on a laptop that they use to monitor nameservers,  various
critical routers, and build machines.

I am also rather confused about what you were trying to accomplish with
snmptrap here.  NetView does not need to receive traps from your Linux box
in order to monitor it.  But the net-snmp agent does have to be installed
and running to use NetView's full capability.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group


                                                                           
             Xianan s                                                      
             Zhang/Almaden/IBM                                             
             @IBMUS                                                     To 
             Sent by:                  nv-l@lists.tivoli.com               
             owner-nv-l@lists.                                          cc 
             us.ibm.com                                                    
                                                                   Subject 
                                       [nv-l] can't send trap              
             05/10/2006 03:20                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
             nv-l@lists.us.ibm                                             
                   .com                                                    
                                                                           
                                                                           





Hi,

I am a beginner on NetView and SNMP, and new to this mailing list. I have a
question on sending traps.

I have installed NetView on my Windows XP PC, and would like to use it to
manage our Linux machines (RedHat 9.0).

There is net-snmp 5.0.9 package coming with RedHat, and I could use
net-snmp's "snmptrap" command to send traps to other Linux machines. Those
traps could be captured by snmptrapd daemon.

However, if I used "snmptrap" sending traps to my win PC, trapd daemon did
not capture any trap at all. Using tcpdump, I found that the package was
not sent at all.

Could somebody give me some hint on what might be wrong?

Here are the commands I used to send traps:

        snmptrap -v 1 -c public   9.1.75.97  "" "" 6 99 ""
        snmptrap -v 2c  -c public   9.1.75.97  "" .1.3.6.1.4.1.2021.251.1


Thanks in advance!


Shannon


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

Archive operated by Skills 1st Ltd

See also: The NetView Web