On Thu, Dec 28, 2017 at 2:02 PM, Jose Roberto Fernandez Anahia <
jrfn...@gmail.com> wrote:

> Something really .. really wrong with the network code on NET-SNMP.
>

You don't say much about *exactly* what's in your snmpd.conf, but I tried
this:

agentaddress udp:161,tcp:161,udp6:161,tcp6:161
trapsess -v 2c -c sekrit udp:172.25.24.236:162

and I got exactly one packet:

12:26:15.577079 44:4c:a8:64:2b:df > be:7e:8c:45:ca:7e, ethertype IPv4
(0x0800), length 138: (tos 0x0, ttl 59, id 43952, offset 0, flags [DF],
proto UDP (17), length 124)
    172.30.188.156.57296 > 172.25.24.236.snmptrap:  { SNMPv2c C="sekrit" {
V2Trap(81) R=456329610  .1.3.6.1.2.1.1.3.0=1869016
.1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.4.1.8072.4.0.3
.1.3.6.1.6.3.1.1.4.3.0=.1.3.6.1.4.1.8072.4 } }

This is using net-snmp 5.8.

  Bill
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to