Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2531
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Help decoding UDPSocket trap data |
| Date | 2011-04-08 08:30 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <40e0762c2b07b5411e0ebd9f8c40b66b@ruby-forum.com> (permalink) |
| References | <e1e24ab89dc7d789649f7d413eb166ac@ruby-forum.com> <5154874387e452bac584ca90c8da7eb9@ruby-forum.com> |
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/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Help decoding UDPSocket trap data Chandra Sekhar <chandu.ch29@gmail.com> - 2011-04-08 07:10 -0500 Re: Help decoding UDPSocket trap data Brian Candler <b.candler@pobox.com> - 2011-04-08 08:30 -0500
csiph-web