On 04/26/18 04:57, Bill Fenner wrote:
A new feature went into 5.8 that conflicts a little with using an agentx
subagent. I mentioned this here:
https://sourceforge.net/p/net-snmp/mailman/message/36270409/
You can replicate it by configuring a normal snmpd as an agentx master,
and then running:
$ sudo snmpd -C -f -Le -x /var/run/agentx/master -X
*unknown snmp version 193*
NET-SNMP version 5.8.pre2 AgentX subagent connected
NET-SNMP version 5.8.pre2
The "unknown snmp version" message may just be noise, but may cause
traps from AgentX subagents to not be delivered depending on the
net-snmp library configuration (in my configuration it's fine. I haven't
actually tried a standard configuration).
(The context is that the library now tries to suppress converting traps
from v1 to v2 or vice versa if there is no trap sink of the right type,
but, it does not know how to treat agentx sessions so doesn't count them
- so if there's only an agentx session open it may not send *any* traps
since it "knows" there are no v1 or v2 trap sessions open)
Hello Bill,
Which commit are you referring to? Three regression tests that passed in
the past and that send a trap over an AgentX session fail on some test
setups.
Thanks,
Bart.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders