I have tried to get v3 traps to work - and unfortunately have had no
luck.

I have used a v2 trap2sink in the past and so I know the basic trap
mechanism works in my system. 

For v3 I have the following set up in snmpd.conf:
authtrapenable 1
group groupV2usm  usm v3user4 
view readview included .1  
view writeview included .1  
view notifyview included .1  
access groupV2usm ""  usm  noauth  exact readview writeview notifyview 
trapsess -e  ENGINEID -l noauth -u v3user4 10.11.12.171 
createUser v3user4 

where ENGINEID - is the value I read from 
   engineIDLen = snmpv3_get_engineID(engineID, SNMP_MAXBUF);

I am not seeing any error messages. 
I use    send_v2trap(var_list) in my code to send the traps.
But the receiving station never get them.

Am I missing something?
Thanks in advance for any insight you may have on this subject!!



-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Wednesday, May 19, 2010 3:59 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: v3 informs - snmpd.conf

On 19 May 2010 01:04, Joan Landry <joan.lan...@overturenetworks.com>
wrote:
> I would like to know if there is a way to configure net-snmp via
> snmpd.conf to correctly send traps or informs

See the section of snmpd.conf(5) entitled "Notification Handling".
In particular, SNMPv3 notifications are configured using "trapsess".
You'll probably need to consult the relevant tutorial as well
(referenced in that man page section)

>                                                   based on the
> snmpNotifyTable, snmpNotifyFilterProfileTable, snmpNotifyFilterTable,
> snmpTargetAddrTable, and the snmpTargetParamsTable

The config file directive will populate these tables appropriately.

Dave

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to