On Fri, 10 Sep 2004 13:45:30 -0400 bill wrote: BS> Robert Story put me on an alternate thinking path to a prior query I BS> made regarding passing listener address to the subagents. The BS> suggestion was to pass the context to the subagent - which is BS> seemingly supported. I havent found any docs/pointers on how to do BS> that.
Yep, it's pretty new, and documentation is usually pretty low priority. BS> But after researching contexts, I thought it might be simpler BS> to parse the community string in the subagent instead - and allow the BS> subagent to return a value to for a static oid besed on the community BS> string. err... well, for the request to even get to the sub-agent, it has to get through vacm community string checks. I hope you weren't planning on bypassing those. If you check the recent snmpd.conf man page, the com2sec token can specify a context, which you could easily make the same as the community string, and thus the sub-agent would get passed the community string as the context. com2sec -Cn host10-10-10-1 mynet default host10-10-10-1 com2sec -Cn host10-10-10-2 mynet default host10-10-10-2 -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ 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