On Fri, 2024-01-05 at 13:09 +0100, Nicolas Goy wrote:
> Hello,
> 
> I am on OpenBSD 7.4 amd64 and today snmpd died with the following error 
> message:
> 
> snmpd[44109]: AgentX(1207475061): Protocol 
> error<27>snmpd_metrics[52600]: [fd:0 sess:3150713266 ctx:<default>]: 
> unsupported call: agentx-Close-PDU
> snmpd[44109]: AgentX(1207475061/3150713266): Closed by snmpd (shutting 
> down)<26>snmpd[44109]: snmpe: AgentX(1207475061): disappeared unexpected
> 
> 
> My snmpd.conf
> 
> listen on xxxx:xxxx::1 snmpv2c
> listen on xxx.xxx.xxx.1 snmpv2c
> filter-pf-addresses yes
> filter-routes yes
> 
> read-only community public
> 
> 
> Any idea if there is something wrong or if it is just an snmpd bug?
> 
> Regards
> 
My first assumption is it's a bug in libagentx. However, I don't have
enough context to reproduce it. Can you reproduce it (somewhat)
reliably? Can you run snmpd with -vv to log the request(s) that
trigger it. If that's not sufficient context we might need to compile
either snmpd and/or libagentx with AX_DEBUG and AX_DEBUG_VERBOSE defined
and run it in the foreground (this logs all agentx data in hex-form to
stderr).

martijn@

Reply via email to