On 19/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is it possible to moitor a custom variable in REAL TIME with > the snmp agent?
In general, no. The design model of an SNMP agent is primarily passive - responding to requests from an external management application, and retrieving (or updating) the relevant information. There are possibilities for active monitoring of particular values from within the agent itself, but this essentially involved regular polling of the variables concerned. It's not really real-time. If you want to take immediate action on a given event, then you're really looking at instrumenting the code that generates (or detects) that event. This would typically not be part of the SNMP agent. There are a few situations where it might be possible to hook into a specific event-reporting mechanism (such as Michael's Netlink patch), but this is something of an exception. In most cases you would have to choose between instrumenting the device- or event-specific code directly, or relying on some form of (reasonably frequent) internal polling. 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users