RE: v3 informs - snmpd.conf

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E417003160D98@dexbe012-6.exch012.intermedia.net>
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: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Wednesday, May 19, 2010 3:59 AM
To: Joan Landry
Cc: [email protected]
Subject: Re: v3 informs - snmpd.conf

On 19 May 2010 01:04, Joan Landry <[email protected]>
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.