On 23/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Please provide details on 'getMibstat' and 'var_ipRouteEntry' method.
> 1. funationality wise what is does exactly.
> 2. what are the parameters passed ?
> 3. And the details related with return value of these functions ? Error
> codes or cases of these functions.

getMibstat is a Solaris-specific utility routine, for retrieving certain
standard SNMP values from the running kernel.   In particular, it
implements an internal cache, to avoid having to spend too much
time pulling information out of the kernel.

It's not a particularly clean model, and isn't really intended for direct
use by external developers.   This style of caching is increasingly
being handled at the MIB module level:

    process myMib:
        if ( cached data too old )
             reload cache
                   architecture-specific reload
       return relevent data from cache

rather than the getMibstat model of:

    processmyMib
       read data
            architecture-specific read data
                  if ( cached data too old)
                       architecture-specific reload
       return relevant data



The 'var_ipRouteEntry' routine is the implementation of the
original RFC1213 ipRouteTable.   It uses the standard UCD v4
MIB module API, as described in the file AGENT.txt

This table has been superceded by a series of refinements,
mostly under the heading of the IP-FORWARD-MIB.


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

Reply via email to