Dear Sir! YC> We have Linux installed on PowerPC platform, and SNMP agent working on YC> it. It is necessary to pass SNMP requests from the SNMP agent over, YC> for example, ttyS0 device, to small ARM-based system. Is it possible YC> using AgentX technique or somehow else? Of course, I can communicate YC> with the ARM from subagent procedure, which is called every time when YC> SNMP request is coming. But PowerPC SNMP agent knows very few about YC> contents of ARM MIB. Moreover, another ARM system can have different YC> MIB tree.
Thanks to: Wes Hardaker <[EMAIL PROTECTED]> >Typically most implementations would use a different protocol to pull >the data over the serial line and sort it properly in the master agent >rather than use something like AgentX directly over the serial line. >This is typically because doing agentx processing isn't cheap since >proper SNMP sorting of the data must be done and I doubt the process you >have running on the other side of the serial device is running on a fast >processor. Daniel Lacey <[EMAIL PROTECTED]> >I would run PPP over the serial link if you can. >That way, you have an IP network connection, and do not need to change >anything in net-snmp. Running some OS with TCP/IP stack at microcontroller's side is really quite heavy decision in this application. Standing on mentioned above replies I have another solution: - during system start-up it is necessary to collect information about device's MIB tree, using some simple protocol - before starting subagent on the PowerPC processor, construct corresponding MIB structure - register subagent, passing pointer to the MIB array And than you can communicate with the device using own protocol, as advised above. Sincerely yours Yuriy Coureelo ------------------------ Embedded Software Engineer Telecommunication Equipment Division Micran Company Tomsk, Russia ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
