Re: Need information to retrieve etherStatsTable parameters from the linux kernel.

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, Nov 20, 2009 at 8:22 AM, srivardhan hebbar <[email protected]
> wrote:

> I am trying to implement etherStatsTable of the Rmon mib. I am using
> Net-SNMP 5.4.2.1. I am implementing it on linux kernel. I can get the values
> of some parameters from /proc/net/dev. The following are the parameters for
> which I could not find from where to get the values from the system.
>

Hello Srivardhan,

Please have a look at the source files under
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable* first. Is there any
functionality missing in these files that you need ?

$ ls agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable*
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable.c
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_access.c
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_access.h
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_get.c
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_get.h
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_set.c
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_set.h
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_enums.h
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable.h
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_interface.c
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_interface.h
agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_oids.h

Bart.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.