RE: Unable to receive v3 traps in snmptrapd

Shanmugam Vairavan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <497B3BF095D687408EC268A103E85E8539B690@ca-exbe1.webm.webmethods.com>
Thanks for the immediate response. After changing the port to 162 I am
receiving the ASCII packets

Received 124 bytes from UDP: [127.0.0.1]:1607
0000: 30 7A 02 01  03 30 0F 02  02 3A C6 02  03 00 FF E3    0z...0...:╞... π
0016: 04 01 01 02  01 03 04 34  30 32 04 0D  80 00 1F 88    .......402......
0032: 80 F0 4C 00  00 C6 DE FF  45 02 02 00  8A 02 01 00    .≡L..╞▐ E...è...
0048: 04 0A 77 65  62 6D 65 74  68 6F 64 73  04 0C B4 58    ..webmethods..┤X
0064: C9 E1 99 ED  74 3B 47 95  E3 F5 04 00  30 2E 04 0D    ╔ß.φt;Gòπ⌡..0...
0080: 80 00 1F 88  80 F0 4C 00  00 C6 DE FF  45 04 00 A7    .....≡L..╞▐ E..º
0096: 1B 02 02 3C  20 02 01 00  02 01 00 30  0F 30 0D 06    ...< ......0.0..
0112: 08 2B 06 01  02 01 01 03  00 43 01 29                 .+.......C.)


How can I receive it as human readable data?
In the above dump show the UDP port as 1607 on the receiver end why is this
changing frequently?

Thanks
Shanmugam.VE 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Wednesday, March 21, 2007 2:58 PM
To: Shanmugam Vairavan
Cc: [email protected]
Subject: Re: Unable to receive v3 traps in snmptrapd

On 21/03/07, Shanmugam Vairavan <[email protected]> wrote:
> Got this form snmptrap.exe console
>
> Sending 142 bytes to UDP: [127.0.0.1]:161
   [snip]

That's the problem then.
The "snmptrap" command is sending the request to the wrong port.

Try
    snmptrap ....  localhost:162 42 coldStart.0

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.