Re: Reloading config with -HUP and update_config does not work

2008-01-04 Thread Robert Story
On Fri, 4 Jan 2008 09:02:18 - Colin wrote: CW> In my case I have a real problem as the netsnmp is not run as a separate CW> process but is part of my sub-agent, so reconfiguring the ports requires CW> the whole process (which includes other stuff) to be exited and CW> restarted (due to the memo

RE: Reloading config with -HUP and update_config does not work

2008-01-04 Thread Colin Wernham
> On Fri, 16 Nov 2007 01:15:22 +0100 Magnus wrote: > MF> On tor, 2007-11-15 at 08:23 +, Colin Wernham wrote: > MF> > I have a problem with re-loading the snmpd.conf config using > MF> > update_config() function as it appears to not do any reloading of > MF> >

Re: Reloading config with -HUP and update_config does not work

2008-01-03 Thread Robert Story
On Fri, 16 Nov 2007 01:15:22 +0100 Magnus wrote: MF> On tor, 2007-11-15 at 08:23 +, Colin Wernham wrote: MF> > I have a problem with re-loading the snmpd.conf config using MF> > update_config() function as it appears to not do any reloading of MF> > config. MF> MF>

Re: Reloading config with -HUP and update_config does not work

2007-11-15 Thread Magnus Fromreide
On tor, 2007-11-15 at 08:23 +, Colin Wernham wrote: > I have a problem with re-loading the snmpd.conf config using > update_config() function as it appears to not do any reloading of > config. It does reload the config. If you were to try again with the flag -Dsnmpd_ports you wou

Reloading config with -HUP and update_config does not work

2007-11-15 Thread Colin Wernham
I have a problem with re-loading the snmpd.conf config using update_config() function as it appears to not do any reloading of config. If I change the agentaddress config to a different port and then call update_config(), the old port remains open and the new one is not opened (as viewed by

Re: update_config

2007-06-06 Thread alok bharti
when i run snmpd under valgrind and called 'update_config' for dynamic configuration update, i get following valgrind logs :- ==32367==by 0x8171278: netsnmp_tdata_create_row (in /root/wichorus/snmpd) ==32367==by 0x80A0714: mteObjects_createEntry (mteObjects.c:123) ==323

Re: update_config

2007-06-03 Thread alok bharti
; statements in my snmpd.conf file. If i remove > 'proxy' > > statements, this errors disappear. > > > > morover I see memory leak while snmpd updates with > new > > conf file. the memory grows everytime snmpd is > updated > > with 'update_config'

Re: update_config

2007-06-01 Thread Thomas Anders
rover I see memory leak while snmpd updates with new > conf file. the memory grows everytime snmpd is updated > with 'update_config'. Is the memory leak limited to the use of the proxy directive? If not, can you track it down to any other directive(s) in your snmpd.conf? How much

update_config

2007-06-01 Thread alok bharti
Hi, I want my snmpd to take the update dynamically from the snmpd.conf file. After updating the snmpd.conf i am calling 'update_config' function to get the agent updated with new changes in configuration. It throws following error when updating: error on subcontainer ''