> > I have an embedded Linux system with some interfaces that are not > > "standard", i.e. the default ifTable implementation isn't getting > > part or > > all of the information. From looking at the code, it appears that I > > willneed to directly modify the source that comes with net-snmp. > > ... > > You can tell the agent to not handle individual MIBs. I think it's > something like "-I -interfaces" then you can have a sub-agent register to > handle the interfaces MIB. I'm not sure what you'd do if you want the > standard interfaces and your own.
This is basically the approach I was thinking. Disable the automatic build of the IF-MIB, copy the IF-MIB code and modify it for our system and build it as a dynamically loadable module. I was hoping I'd be able to write a separate module that would fix some ifType entries and add some interfaces. That way I would have less worry about my custom ifTable getting out of sync with the Net-SNMP ifTable as new versions of Net-SNMP are released. Thanks, Jeff ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ 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
