Re: rfv: rename init_mib?

2006-10-24 Thread Robert Story
On Tue, 24 Oct 2006 09:02:52 -0700 Wes wrote: WH> > "RS" == Robert Story <[EMAIL PROTECTED]> writes: WH> WH> RS> +1 WH> WH> Point of order: I'm not sure Dave has actually said yes even thouh he WH> posted the patches? I'm not sure what you're objecting to here (unless someone has already app

Re: retrieve values from another subagent

2006-10-24 Thread Wes Hardaker
> "RS" == Robert Story <[EMAIL PROTECTED]> writes: WH> In theory, you could probably make the subagents also open a WH> real SNMP port internally but it's certainly never been tested and WH> probably not the right way to go. RS> It definitely won't work if you need the information during the

Re: [Fwd: Re: [Pkg-net-snmp-devel] Bug#389434: MIBs in net-snmp]

2006-10-24 Thread Wes Hardaker
> "RS" == Roland Stigge <[EMAIL PROTECTED]> writes: >> /MF (I do think Debian should stop violating RFC2741) RS> Does it? Please point me to the respective areas. Taking a complete guess, because I don't know to what he was referring, does debian move the agentx socket from /var/agentx/maste

Re: pass-through persist and daemon re-configuration with HUP signal

2006-10-24 Thread Wes Hardaker
> "AN" == Anthony Novatsis <[EMAIL PROTECTED]> writes: AN> One way to solve this is for Net-SNMP to kill the child process by AN> sending a signal which the child process can handle and cleanly AN> shutdown (using the kill function). This should be done before AN> the waitpid call which will

Re: rfv: rename init_mib?

2006-10-24 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> I don't think this patch is complete yet. FYI, I've reviewed both patches and they look well done. I haven't voted yet, though. I think you may have just hit +3 and I'm not going to vote against it anyway... -- Wes Hardaker Sparta, In

Re: rfv: rename init_mib?

2006-10-24 Thread Wes Hardaker
> "RS" == Robert Story <[EMAIL PROTECTED]> writes: RS> +1 Point of order: I'm not sure Dave has actually said yes even thouh he posted the patches? -- Wes Hardaker Sparta, Inc. - Using Tomcat but need to do more? Need t

Re: rfv: rename init_mib?

2006-10-24 Thread Robert Story
On Tue, 24 Oct 2006 11:13:23 +0200 Thomas wrote: TA> Dave Shield wrote: TA> > On 23/10/06, Thomas Anders <[EMAIL PROTECTED]> wrote: TA> >> Dave has promised to post a provisional patch shortly. Assumed it TA> >> works as TA> >> described, please vote whether this change should go into 5.4. TA> > T

Re: rfv: rename init_mib?

2006-10-24 Thread Thomas Anders
Dave Shield wrote: > On 23/10/06, Thomas Anders <[EMAIL PROTECTED]> wrote: >> Dave has promised to post a provisional patch shortly. Assumed it >> works as >> described, please vote whether this change should go into 5.4. > > See attached. I don't think this patch is complete yet. Attached please

Re: what function should be called to free cached data

2006-10-24 Thread Dave Shield
On 23/10/06, redhouse101 <[EMAIL PROTECTED]> wrote: > Inside subagent, some data are cached. What API function should I call to > un-register the MIB and free cached data when my subagent is shutdown? When the agent is shutdown, it should unregister all MIBs automatically. If you need to do extra

what function should be called to free cached data

2006-10-24 Thread redhouse101
Hello,   I use init_XXX to register MIB to a subagent. init_XXX {    REGISTER_MIB("XXX", XXX_variables, variable4, XXX_variables_oid);}   Inside subagent, some data are cached. What API function should I call to un-register the MIB and free cached data  when my subagent is shutdown?   RH101 ---

Re: rfv: rename init_mib?

2006-10-24 Thread Dave Shield
On 23/10/06, Thomas Anders <[EMAIL PROTECTED]> wrote: I'd suggest to rename init_mib() to netsnmp_init_mib() and only use this one throughout our code, so it'll always use the correct function. Dave has promised to post a provisional patch shortly. Assumed it works as described, please vote wh