On Tue, 2005-10-11 at 16:49 +0200, Roman Medina-Heigl Hernandez wrote: > Another question, then... which is the preferred method to extend > GET/SET functionality?
Writing code :-) Actually, that's a serious answer. The pass mechanism is a useful "quick-n-dirty" approach for adding a new extension - particularly for a read-only MIB. But it relies on firing off a sub-process for every requested varbind, so is hardly efficient! The 'pass-persist' mechanism helps, but is still less than optimal. For anything non-trivial (and for reliable handling of SET requests), you should really be looking at writing a proper C-based module. Or possibly perl - I'm not sure how complete/efficient the embedded perl mechanism is. Wes knows more about that than I do. > I want SNMPD to serve via SNMP the content of a > SQL table. In which case, you *definitely* want to talk to Wes. I'm pretty sure he's already done something similar. > Any example or idea about how to implement this interface > sql-table/SNMP? Which related docs should I read? I'm a bit lost... Paging Mr. Hardaker..... Dave ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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
