This is a discussion on Re: V3 Informs within the SNMP Users forums, part of the Networking and Network Related category; On 08/04/2008, Joan Landry <Joan.Landry@overturenetworks.com> wrote: > I have searched for documentation on ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 08/04/2008, Joan Landry <Joan.Landry@overturenetworks.com> wrote:
> I have searched for documentation on net-snmp to find out how to configure > net-snmp so that I can send v3 informs > Specifically I want to be able to configure via the etc/snmp/snmpd.conf the > following: > 1. create an snmpNotifyTable entry that has traptype = inform > 2. create a snmpTargetAddress row in the snmpTargetAddressTable with a > tag-list > 3. create a snmpTargetAddressParams row where I can specify the > authentication/privacy for the inform to be sent Put the following entry (untested) in the snmpd.conf: trapsess -Ci -v 3 -u {user} -l {level} -a {MD5|SHA} -A {authpass} {host} Plus -x/-X flags if you need encryption. > 4. create a snmpNotifyFilterProfileTable row > 5. create a snmpNotifyFilter row Ummm... I'm not sure there's snmpd.conf support for the filter tables. > Does net-snmp support sending informs from the subagent Yes - just call 'send_v2trap()' or 'send_easy_trap()' or 'send_trap_vars()' The subagent will pass the notification to the master agent. It's the master agent that decides how to format the trap (trap vs inform, SNMP version, user/community/etc), and where to send it. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ 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/...net-snmp-users |