Hi all,
here is a question that always afflicted me (!) while using Net-SNMP.
Which is most efficient way to read from within the agent's code another local object?
To be clear, the implementation of the Event-MIB does the same and the method used is to create a normal snmp-requested to the localhost. I found this method not efficient, because the agent must pass through the "security stacks", build a snmp message and udp packet and do the reverse (2 times for the local req/resp).
Is it possible to stay "inside" the agent, and retrieve the local object directly with an internal function call?
If not, I guess there's should be some obstacles due to architecture of Net-SNMP, but even making the trace of the agent and looking at the source, it's not that easy to figure it out (trust me:-)
Thanks a lot,
gn
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
