Re: V3 Informs

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 08/04/2008, Joan Landry <[email protected]> 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;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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.