> > > > how do agent receive value of object id from kernel
> > > 
> > > Which OID?
> > ip.ipInReceives

how about ip.ipAddrTable??

> > > What operating system?
> > suse-9.2 linux.
> 
> OK - try the following command:
> 
>       cat /proc/net/snmp
> 
> The output should start:
> 
>    Ip: Forwarding DefaultTTL InReceives InHdrErrors ....
>    Ip: 2          64         2915598    0 ...
> 
> The value for ip.ipInReceives is therefore 2915598
> 
> The code that the agent uses amounts to much the same thing.
> See the routine 'linux_read_mibII_stats()' in the file
> 'agent/mibgroup/kernel_linux.c'
> 
> 
> But that's how *Linux* does it, and only for these four
> scalar groups (IP/ICMP/UDP/TCP statistics).  On another
> O/S, or for a different object, it would need a different
> mechanism.
> 
> Dave
-----------
tnx 



-------------------------------------------------------
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