From: Brian Candler Date: 2011-04-08T22:30:16+09:00 Subject: Re: Help decoding UDPSocket trap data Chandra Sekhar wrote in post #991736: > I am new to ruby. > With above example, tried Trap Listener on windows machine. However I > didn' see the traps. (1) Are the trap packets arriving? Run Wireshark to look for them. (2) You probably need to set up your TrapListener with a community string, and your trap sender to use that same community string (for SNMP v2c anyway). The example in the source code at http://snmplib.rubyforge.org/svn/trunk/lib/snmp/manager.rb suggests you need to add something like :Community=>"public" -- Posted via http://www.ruby-forum.com/.