Re: concept like "container" and "helpers"
sanjaykumar <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Fair enough, But what happen when the "subsystem" data is updated ? How agent table "Container" Data structure will be updated ? What about the "memory Consumption", We are maintaining the two data structure for the same DATA what exactly meant by the "subsystem" ? Thanks and Best Regards, Sanjay kumar Dave Shield wrote: 2009/4/9 sanjaykumar <[email protected]> : Net-snmp introduce the some of the concept like "container" and "helpers" in latest version. I am really struggling to get HOLD on these concepts. Ok - I'll have a stab. Let's take "container" first. Typically, a significant proportion of the information supplied by an SNMP agent will be in form of tables. Most of these tables will be reporting information from somewhere outside the agent itself - a "subsystem". The agent has to have some way of getting this information from the subsystem, so it can report back to the management application. One way is to contact the subsystem every time a request comes in, retrieve the single item of information that has been requested, and return that. But this can be somewhat inefficient - particularly when processing GETNEXT requests. A very common alternative approach is to hold a local copy of the whole of this information within the agent itself. That can then be used to service SNMP requests relatively efficiently. But in order to do this, the agent needs some way to hold this local copy of the table. The "container" is a standard mechanism for doing this. It's effectively a data structure that contains the various rows of the table (including how they are indexed). So whenever you see "container" - think "internal table". (It's not quite as simple as that, but it's close enough) OK so far? Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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