2009/1/18 Łukasz Zwierko <[email protected]>: > My equipment has some custom hardware (ISDN network interfaces) which do > not appear in linux as interfaces (such as eth or ppp etc) but are > managed by a simple char device driver. Anyway, I'd like to register > these interfaces in ifTable, and preferably I'd like to receive function > callbacks from snmp agentX for getting ifTable values for them. > Is this possible anyhow with agentX?
The ifTable module expects to implement the whole of the table. But it might be possible to register your additional interface as a "slice" of the table, and have this sit on top of the basic ifTable data. It's not something I've ever actually tried, but in theory it should work. Unfortunately there aren't any examples of this in the Net-SNMP agent code, and the mib2c templates don't support it either. But the basic principle is described in the AgentX specs. Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
