Re: SNMPD v5.8 Error opening specified endpoint

2018-08-23 Thread Martin Frlin
Ok, additional information. Compare this line in v5.8: https://sourceforge.net/p/net-snmp/code/ci/master/tree/agent/agent_trap.c#l358 with this line https://sourceforge.net/p/net-snmp/code/ci/v5.7.3/tree/agent/agent_trap.c#l251 You will see that v5.7 does not set a source. And because it does not

traps not getting sent

2018-08-23 Thread Nevadita Chatterjee
My program is getting runned as a subagent. and in occurence of certain event i am sending below function after filling the var_list send_v2trap( var_list ); snmpd.conf has trap2sink127.0.0.1:162 # send SNMPv2c INFORMs informsink 127.0.0.1:162 but my t

SNMPD v5.8 Error opening specified endpoint

2018-08-23 Thread Martin Frlin
If you have line: trapsink localhost public in your config v5.8 fails to start. Meanwhile v5.3 starts with no problems. Am I missing something or is this a bug?. This output was generated using exactly the same config v5.8 # snmpd -Dnetsnmp_udpbase -Lo -f registered debug token netsnmp_udpbas