Help regarding context name

2009-09-01 Thread VENU POTLURI
Hi , We are trying to support a single MIB implementation for multiple virtual devices. Since contextName are loaded from the configuration file, and in handle_snmp_packet() function will do all the access checks for it. is there any way to disable that check for ContextName and forward the cont

Re: Help regarding context name

2009-08-27 Thread Deepali Singalkar
My intention wasn't the demand for dynamic context names. On Thu, Aug 27, 2009 at 12:59 PM, Dave Shield wrote: > 2009/8/26 Deepali Singalkar : > > When is the support for dynamic context names expected? > > When someone writes the necessary code. > > Remember, this project is effectively

Re: Help regarding context name

2009-08-27 Thread Dave Shield
2009/8/26 Deepali Singalkar : >     When is the support for dynamic context names expected? When someone writes the necessary code. Remember, this project is effectively a part-time hobby for most of those involved with it. All of the core developers have other (paid) employment, and this mu

Re: Help regarding context name

2009-08-26 Thread Deepali Singalkar
Thanks for clarification! When is the support for dynamic context names expected? On Wed, Aug 26, 2009 at 10:47 PM, Wes Hardaker < [email protected]> wrote: > > On Wed, 26 Aug 2009 12:53:01 +0530, Deepali Singalkar < > [email protected]> said: > > DS> Here I n

Re: Help regarding context name

2009-08-26 Thread Wes Hardaker
> On Wed, 26 Aug 2009 12:53:01 +0530, Deepali Singalkar > said: DS> Here I need to support same MIB tree for multiple virtual devices from same DS> subagent. DS> I tried setting the contextname in /usr/local/share/snmp/snmpd.conf file DS> with the defContextName directive. DS> It fails w

Help regarding context name

2009-08-26 Thread Deepali Singalkar
Hi, I am develoing a AgentX subagent for virtual devices. Here I need to support same MIB tree for multiple virtual devices from same subagent. I tried setting the contextname in /usr/local/share/snmp/snmpd.conf file with the defContextName directive. It fails with the error message unknown token

Re: Regarding context

2009-04-24 Thread Dave Shield
2009/4/24 B V Narasimhulu : > Can I have the different Context string assigned to some > rows of a MIB table ? Is it possible to do so ? That's probably not the best way to think of the context string. The most useful way to approach this is to regard different contexts as representing completely

Re: Regarding context

2009-04-24 Thread B V Narasimhulu
. Thanks in advance. Regards, Narasi. --- On Thu, 23/4/09, Wes Hardaker wrote: > From: Wes Hardaker > Subject: Re: Regarding context > To: "B V Narasimhulu" > Cc: "net-snmp-coders" > Date: Thursday, 23 April, 2009, 8:15 PM > >>>>> On Wed

Re: Regarding context

2009-04-23 Thread Wes Hardaker
> On Wed, 22 Apr 2009 17:28:13 +0530 (IST), B V Narasimhulu > said: BVN> How can I use the context ? Context strings are used by mib code within the agent to register certain sections of the MIB tree under a different context from another chunk of MIB code (almost always, this is to avo

Regarding context

2009-04-22 Thread B V Narasimhulu
Hi, How can I use the context ? I have the following entries in the snmpd.conf file: view all included .1 80 rocommunity test -V all slot-1 How can I use the context (i.e slot-1) along with the community(v1/v2) for querying the mibs ? I thought of to query as follows: snmpwalk -v2c -c t