Problem Using TCP for Sending Traps
"John Giaccotto" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6B3727B1924AC94F915E95DC9063EFFA087F32E7@norwalk-ex1.ad.adeptra.com> |
Hi, I have configured snmptrapd to listen on both UDP and TCP ports. I start snmptrapd as follows: $SNMPTRAPD -On -C -c $SNMPTRAPDCONF -Lf $LOGFILE udp:anIPAddress:162 tcp:anIPAddress:162 If I send a trap from another machine using the following line: snmptrap -v 2c -c public tcp:anIPAddress '' .1.3.6.1.4.1.1230.1 .0.0 s "just here" Then $LOGFILE shows the following: Unknown operation (4): This shouldn't happen! 2007-05-18 19:09:55 radi.hosts.adeptra.com [TCP: [10.11.3.22]:-29235]: .1.3.6.1.2.1.1.3.0 = Timeticks: (2182530698) 252 days, 14:35:06.98 .1.3.6.1.6.3.1.1.4.1.0 = OID: .1.3.6.1.4.1.1230.1 .0.0 = STRING: "just here" Unknown operation (5): This shouldn't happen! If I specify udp instead of tcp then I don't get the messages about an unknown operation. I am running Net-SNMP 5.3.0.1 on Red Hat Linux 4. Can anyone shed some light on what might be causing this? Thanks, John ------------------------------------------------------------------------- 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users