2009/3/26 prasanth K S <[email protected]>: > I am trying to implement ether-like MIB with respect > RFC3635. But problem is how to find each frame collision, ethernet is > configured to half or full duplex, current data rate,FCS check status etc.
Yes - that doesn't suprise me. When implementing *any* SNMP MIB, the hardest part tends to be locating the necessary information. That's why this is the one aspect that isn't covered at all by the mib2c template code. > could you please guide me from where I can get the object information in the > redhat linux9(2.4.20.8) system. No - we can't. Retrieving information from the kernel isn't really anything to do with SNMP - that's just one mechanism for asking for this information. If you need to find out how to retrieve this information from the kernel, then you'll need to talk to the kernel people. > I heard that /proc/net would be useful That might well be true. Try looking at the various files in that tree, and see whether you can locate a file (or files) that contain the information that you're after. Once you've found where this information is available, we can probably help you in plugging this together with the SNMP interface. But we can't really do all the work for you. In particular, the non-SNMP task of locating the underlying information is something you must do for yourself. Dave ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
