This is an old revision of the document!


This page will contain up-to-date information about the ongoing development of the EtherLike-MIB for the Begemot SNMP daemon (BSNMP). More or like a Changelog, but much more verbose.

As statistics are provided by the drivers, a listing of drivers was created in order to track which ones offer the data. The list is available at [“EtherLike-MIB/DriverStatus”].

Task Status Expected Finished
Control table Not Started ? –
etherMIB group Not Started ? –
PAUSE table Not Started ? –
Per-frame collision table Not Started ? –
Statistics table In Progress End of July –

2006-07-18 The module can be built already, and I'm debugging it in order to verify that it is doing what it was programmed to do. Only the stats (dot3StatsTable) table has useful code, the others just do a plain return SNMP_ERR_NOERROR; in order to successfully compile. Also, HartiBrandt explained me that the issue with the split design of the MIB is not problem for BSNMPd – it seems like all it needs to do is to register 2 subtrees.

2006-07-14 The dot3Stats table is almost ready for testing, and the module registration hooks were created in the new file etherlike_module.c. Also discovered that EtherLike-MIB doesn't have a unique root; there's the transmission (.1.3.6.1.2.1.10) and the etherMIB (.1.3.6.1.2.1.35) nodes within it. This can complicate things, as I understand BSNMPd assumes the module is responsible for a single sub-tree.

2006-07-13 Whoa! No additional code yet, but I finally found the correct OID to pass for sysctl(3), after digging in a lot of sources. Also discovered that I indeed have an ed(4) NIC (a UMC9008 NE2000 16bit), which is awesome as the ed driver provide the data I need for testing. Moreover, I discovered that I was going on the wrong direction – only 2 drivers gatter the data needed by EtherLike-MIB, so there will be plenty of stuff to do directly in the drivers that don't. Good, good!! :)

2006-07-12 After studying lots of forms that could be used to fetch statistics, I decided to use a sample code available in ifmib(4). Contacted Garrett Wollman about his code, but no response yet.

Also, created a SVN repository in order to track development: snmp_etherlike]

There's nothing much useful yet, but it's going to be in a few days. It's easy to fetch it:

% svn checkout http://rnsanchez.wait4.org/snmp_etherlike
% cd snmp_etherlike
snmp_etherlike% ls -l
total 78
drwxr-xr-x  3 rnsanchez  users   1.5K Jul 12 21:36 ./
drwxr-xr-x  9 rnsanchez  users   512B Jul 12 16:01 ../
drwxr-xr-x  7 rnsanchez  users   512B Jul 12 21:21 .svn/
-rw-r--r--  1 rnsanchez  users    52K Jul 12 15:11 EtherLike-MIB.txt
-rw-r--r--  1 rnsanchez  users   2.5K Jul 12 21:21 Makefile
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_dot3.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_dot3coll.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_dot3control.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_dot3errors.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_dot3pause.c
-rw-r--r--  1 rnsanchez  users   3.1K Jul 12 21:20 etherlike_dot3stats.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_dot3tests.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_etherconformance.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_ethermib.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_ethermibobjects.c
-rw-r--r--  1 rnsanchez  users     0B Jul 12 15:11 etherlike_transmission.c
-rw-r--r--  1 rnsanchez  users   3.9K Jul 12 15:11 etherlike_tree.def
-rw-r--r--  1 rnsanchez  users   1.9K Jul 12 16:29 get_ifmib_general.c
-rw-r--r--  1 rnsanchez  users   1.8K Jul 12 16:27 get_ifmib_general.h
-rw-r--r--  1 rnsanchez  users   2.2K Jul 12 21:21 snmp_etherlike.3

2006-06-05 The basic file-structure skeleton for the implementation was created, based on working modules available in the CVS (-CURRENT). It successfully builds, but doesn't offer anything yet.


[“CategorySNMP”]

  • etherlike-mib.1153261163.txt.gz
  • Last modified: 2006/07/18 22:19
  • by RicardoSanchez