Hello,
I’m unable to use the linux code that the net-snmp-5.5 generates to reach the 
ethernet drivers because though our system uses linux, the ethernet device isnt 
accessible through ioctls (and no, I cant change our system to make it so, I’ve 
checked). So, I’m writing some of my own code. I have couple of questions:

NOTE: I have 4 ethernet interfaces. I assume I have to add to the iftable and 
the dot3stats table.

1)  In the ifTable_container_load inside of ifTable code, I’m adding manually 
the ethernet interfaces in there. Do I need to add the same interfaces at the 
same location inside the dot3stats_container_load code? Is there anyway to 
remove this duplicacy?
2) Also, the etherlike-MIB specifies a mapping between the if stats and 
ethernet stats. The ifInErrors for example, is an addition of various 
dot3stats. How do I reference the if table stats from the ethernet tables or 
vice versa in the mib code provided by net-snmp?

Regards,
Kavita
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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