RE: overwrite standard mib2/interfaces

2008-02-03 Thread Colin Wernham
You can implement the entire ifTable in your sub-agent, and then use the function add_to_init_list() with the object name prefixed by "-" to indicate to netsnmp to not register its own ifTable. You will also have to override the scalar ifNumber which stores the number of ifTable rows there are. >

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 +0000, 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> >

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 netstat