Problem Using TCP for Sending Traps

This is a discussion on Problem Using TCP for Sending Traps within the SNMP Users forums, part of the Networking and Network Related category; Hi, I have configured snmptrapd to listen on both UDP and TCP ports. I start snmptrapd as follows: $SNMPTRAPD -On -...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-18-2007
John Giaccotto
 
Posts: n/a
Default Problem Using TCP for Sending Traps

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0