Hello,

I want to use the snmptrapd Daemon on a Linux Client to receive and log 
SNMP trap messages, which are send from an IBM TS3500 Tape Library.
I can see the traps on the Linux client with tcpdump, but the 
snmptrapd-Daemon doesn't log it.
I have tried to send Trap Version V1 and V2c, Community=public.
If I send test traps from other AIX or LINUX Clients, everything works 
right.

When I look into the message with tcpdump or Ethereal, I can see that the 
message has no checksum in User Datagram Protocol.
Could this cause a problem?

I have started the snmptrapd in the following way:

/usr/sbin/snmptrapd -M +/usr/share/snmp/mibs.local -m ALL -f -Lo

I use NET-SNMP Version 5.1.2 .

The MIBs should also be present:

itcsec02:/usr/share/snmp/mibs.local# ls
3584v1.mib   BRCD_v5_0.mib.txt   FA_v3_0.mib.txt     ibm2100.mib 
SML-MIB_112.mib       SW_v5_0.mib.txt
3584v2c.mib  Brocade-TC-MIB.txt  FE_RFC2837.mib.txt  ibm2100.mib.alt 
SNIA-SML-rev1-21.mib

tcpdump shows the following messages:

itcsec02:~# tcpdump -ni eth1 -v -s0 port 162
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 
65535 bytes
12:22:51.527190 IP (tos 0x0, ttl  59, id 19222, offset 0, flags [none], 
length: 264) 10.10.60.73.18435 > 10.30.0.126.162: [no cksum]  { SNMPv1 { 
Trap(219)  .1.3.6.1.4.1.4484.1 10.10.60.73 enterpriseSpecific s=408 
174930620 .1.3.6.1.4.1.2.6.182.1.2.11.1="3584 L23 78A1266" 
.1.3.6.1.4.1.2.6.182.1.2.111.1="  0" .1.3.6.1.4.1.2.6.182.1.2.101.1="" 
.1.3.6.1.4.1.2.6.182.1.2.41.1="08" .1.3.6.1.4.1.2.6.182.1.2.71.1="This is 
a test SNMP trap." .1.3.6.1.4.1.2.6.182.1.2.151.1=1 
.1.3.6.1.4.1.2.6.182.1.2.161.1="00000" } }
12:23:04.768598 IP (tos 0x0, ttl  59, id 19437, offset 0, flags [none], 
length: 292) 10.10.60.73.18435 > 10.30.0.126.162: [no cksum]  { SNMPv2c { 
V2Trap(246) R=4  .1.3.6.1.2.1.1.3.0=174931845 
.1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.4.1.2.6.182.1.0.408 
.1.3.6.1.4.1.2.6.182.1.2.11.1="3584 L23 78A1266" 
.1.3.6.1.4.1.2.6.182.1.2.111.1="  0" .1.3.6.1.4.1.2.6.182.1.2.101.1="" 
.1.3.6.1.4.1.2.6.182.1.2.41.1="08" .1.3.6.1.4.1.2.6.182.1.2.71.1="This is 
a test SNMP trap." .1.3.6.1.4.1.2.6.182.1.2.151.1=1 
.1.3.6.1.4.1.2.6.182.1.2.161.1="00000" } }

Can anybody help me to find out, why snmptrapd doesn't receive these 
messages, please?
Thank you.

Thomas Falkenberg
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to