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.
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
Sent by: email@example.com
[nv-l] can't send trap
Please respond to
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 126.96.36.199 "" "" 6 99 ""
snmptrap -v 2c -c public 188.8.131.52 "" .184.108.40.206.4.1.2021.251.1
Thanks in advance!