Re: Problem Using TCP for Sending Traps

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18/05/07, John Giaccotto <[email protected]> wrote:
> I have configured snmptrapd to listen on both UDP and TCP ports.


> 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!
> 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?


See the patch http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-3-patches/net-snmp/apps/snmptrapd_handlers.c?r1=15088&r2=15729&view=patch

Dave

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.