Re: Real time notifications?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 23/07/07, Thomas Anders <[email protected]> wrote: > Michael Leslie wrote: > > A little while back I implemented immediate trap reporting for link > > status specifically using the linux Netlink facilities. The patch is > > against an older version of net-snmp, but works well for our purposes. > > The "monitor" statement to which you refer is addressed in the patch, > > which I'll reproduce along with the original email to this list, below. > > This patch looks quite useful. Would you mind submitting it to our > patches tracker (http://www.net-snmp.org/patches) so it won't get lost? I remember seeing mention of this patch when it was first mentioned. My concern then (which still holds) is that it seems to be applying architecture- and notification-specific elements to what is meant to be a generic monitoring mechanism. I haven't had the chance to examine the proposed code properly, but I don't believe that the "monitor" directive is the right place to add this functionality. The DisMan Event MIB was the easiest way to get linkUp/Down notifications implemented in the agent, but it's not the only possible approach (nor necessarily the best). It would probably be more efficient to generate linkUp/Down notifications directly as part of the IF-MIB data access routines, and that would also be the most obvious location for this Netlink functionality. Once we've got 5.4.1 out of the door, then it should be possible to look at this patch properly, and decide how best to incorporate it into the Net-SNMP suite. But I'd recommend against applying it directly, as it currently stands. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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