RE: Help: To assign the pdu message type as Inform or v2traps -

"Borra, Kishore Babu" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I want to understand the difference between the snmpNotifyTable files and snmpNotifyFilterTable files. When I tried, I can see that the logs going through are snmpNotifyTable apis. 

Also I observed that the trap managers are registered through the static variable (snmpNotifyTableStorage) in snmpNotifyTable.c

Is there any way to make this variable as extern variable , so that we can modify/tweak it to send as Inform or v2 Trap, depending on the requirement.

Thanks in advance,
Kishore

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
Sent: Thursday, March 25, 2010 2:12 PM
To: Borra, Kishore Babu
Cc: [email protected]
Subject: Re: Help: To assign the pdu message type as Inform or v2traps -

On 25 March 2010 07:26, Borra, Kishore Babu <[email protected]> wrote:
> But is there is any way to send the v2 Notifications as INFORMs, depending
> on the Notification OID type, and not the sink configuration type.

It's not something that I've tried myself, but it might be possible to use
the snmpNotifyFilterTable to set up different processing for different
trap OIDs.

See RFC 3413 and the SNMP-NOTIFICATION-MIB for details.
There's also a Wiki page at
    http://www.net-snmp.org/wiki/index.php/TUT:snmpd_notification_filtering
           which might help you get started.

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.