Re: Question on etherlike MIB and if-mib relationship

sanjaykumar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

Kavita Raghunathan wrote:
> 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?
Look at "ethtool" man page. It might be helpful.
you can also google and explore "ethtool" for more information.

Sanjay
>
> Regards,
> Kavita
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel&#174; 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
>   


------------------------------------------------------------------------------
Download Intel&#174; 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
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.