Re: net-snmp 5.8: "unknown snmp version 193" from agentx subagent

2018-06-20 Thread Bill Fenner
Oops, it turns out that the reason that it works is because the agentx session is in the session list that is always iterated over, so, this fix is wrong: we should just silently ignore agentx sessions in this code. -- Chec

Re: net-snmp 5.8: "unknown snmp version 193" from agentx subagent

2018-06-20 Thread Bill Fenner
On Wed, Mar 21, 2018 at 10:58 AM Bill Fenner wrote: > The new code in net-snmp 5.8 that tries to account for v1 or v2 trap > sessions logs an error from an agentx subagent, since the agentx code > registers the session as being AGENTX_VERSION_1. This constant is only > defined in the agentx code

net-snmp 5.8: "unknown snmp version 193" from agentx subagent

2018-03-21 Thread Bill Fenner
The new code in net-snmp 5.8 that tries to account for v1 or v2 trap sessions logs an error from an agentx subagent, since the agentx code registers the session as being AGENTX_VERSION_1. This constant is only defined in the agentx code, so agent_trap.c doesn't know what it is. I suspect that thi