Issue with trapsess in snmpd.conf file

Philippe Denis <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Hello all,

I’m facing several issues when I’ve tried to send V3 traps from my Agent X to the master agent to trap recipient. The program linked to the trap generation was written by mib2c tool mainly. (Only dummies variables and values added)

I’ve added in my configuration file snmpd.conf file, the following line:
trapsess 192.1.2.1

When I start the agent, I got the following error message “no community specified.” but when reading the man page it looks that the trap community is for trapsink, trap2sink and trapinform.

Is it correct ? Is there any option to use to know what is wrong ?

I’m using tcpdump to sniff network but nothing is sent although the gdb debugger says that send_v2trap is OK.

Thanks by advance for your help.

Best Regards. 
Ph. DENIS

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.