On Wed, 24 Nov 2004 16:41:33 -0800 Fong wrote: FT> WH>The same as a master. Note: you can not query the master agent using FT> WH->a callback. You can only query yourself. FT> FT> So, if I want to query master agent and subagents, I can't use this FT> callback method, right? If I know OID name and length, from which struct FT> I can get its findVar to get its value?
There is not struct in a sub-agent that will get you access to data from the master agent or other sub-agents. If you need that data, you will have to submit a regular SNMP request to the master agent. Check out the proxy code for an example. And the big caveat, once again, is that this will not work during set request processing. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
