On Wed, 2005-04-20 at 14:58, Farazad Farhadzadeh wrote:
> How can i relationship between all of OID in mibII and kernel,
> where do i find a document about this?

There's no documentation - just the source.
You'll need to start browsing through the code under
'agent/mibgroup'.

Look for the OIDs that you're interested in, then look at
the data structures used to answer requests for these OIDs,
then look for where else these data structures are mentioned.
That should lead you to where the data is obtained from.

But remember that this code is written to support multiple
architectures.  So make sure you're looking at the Linux
related code.


> how about ip.ipAddrTable?

See 'agent/mibgroup/mibII/ipAddr.c'
In particular, the routines
        Address_Scan_Init()
and
        Address_Scan_Next()

Note that there are at least three copies of these.
You'll need to concentrate on the ones immediately
following "#elif defined(linux)"

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
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

Reply via email to