Re: missing call to snmp_store_needed() for some MIBs

2013-04-21 Thread Magnus Fromreide
On Mon, 2013-03-18 at 06:50 +0100, Magnus Fromreide wrote: > On Fri, 2013-03-15 at 20:03 +0100, Claus Klein wrote: > > Hi, > > > > I found the problem and tried to fix it. > > > > It is not really clear to me why original code does not work, but at > > least with my patch it works again. > > >

Re: missing call to snmp_store_needed() for some MIBs

2013-03-17 Thread Magnus Fromreide
On Fri, 2013-03-15 at 20:03 +0100, Claus Klein wrote: > Hi, > > I found the problem and tried to fix it. > > It is not really clear to me why original code does not work, but at > least with my patch it works again. > > The snmpEnableAuthenTraps was never saved again. > Too, most snmp configur

Re: missing call to snmp_store_needed() for some MIBs

2013-03-15 Thread Claus Klein
Hi, I found the problem and tried to fix it. It is not really clear to me why original code does not work, but at least with my patch it works again. The snmpEnableAuthenTraps was never saved again. Too, most snmp configure scalars does not trigger the snmp_store() when changed since watch

Re: missing call to snmp_store_needed() for some MIBs

2013-03-13 Thread Claus Klein
There are at least 2 Problems: 1.) snmpEnableAuthenTraps is never saved, too if other values are saved persistent 2.) netsnmp_register_watched_scalar() does not trigger snmp_store_needed() after commit This patch is only to show the problems, I need help to understand the behavior a