Re: dynamic updating vs. snapshotting containers

2010-11-11 Thread Timo Teräs
On 11/11/2010 05:34 PM, Bart Van Assche wrote: > 2010/11/10 Timo Teräs mailto:timo.te...@iki.fi>> > > [ ... ] > Dynamically listen Linux netlink events and add/delete/update > entries on the snmpd's copy of ARP table? > [ ... ] > > In case you did not yet come across this code, yo

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Dave Shield
On 11 November 2010 15:16, Robert Story wrote: > On Thu, 11 Nov 2010 09:20:22 +0300 Phill wrote: > PX> Has faced a strange situation. There are 4 tables in one MIB-file. All > tables are realised in the subagent through AgentX. Net-SNMP works as the > master. All fields of the table have type Un

Re: dynamic updating vs. snapshotting containers

2010-11-11 Thread Bart Van Assche
2010/11/10 Timo Teräs > [ ... ] > Dynamically listen Linux netlink events and add/delete/update > entries on the snmpd's copy of ARP table? > [ ... ] > Hello Timo, In case you did not yet come across this code, you can find an example of how to implement a netlink listener in Net-SNMP in source

Re: dynamic updating vs. snapshotting containers

2010-11-11 Thread Robert Story
On Thu, 11 Nov 2010 16:56:31 +0200 Timo wrote: TT> I'm not too excited about caching cache changes. I'd prefer to just go TT> ahead and update the cache directly. I'll try to brew up some code to TT> see how it works out in practice. Ok. I suggest you put in some safety valves to make sure that ne

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Robert Story
On Thu, 11 Nov 2010 09:20:22 +0300 Phill wrote: PX> Has faced a strange situation. There are 4 tables in one MIB-file. All tables are realised in the subagent through AgentX. Net-SNMP works as the master. All fields of the table have type Unsigned32. If any table contains an error (for example n

Re: dynamic updating vs. snapshotting containers

2010-11-11 Thread Timo Teräs
On 11/11/2010 04:50 PM, Robert Story wrote: > On Thu, 11 Nov 2010 08:04:18 +0200 Timo wrote: > TT> Right. I'd assume the RightThing(tm) is to on first MIB request to do > TT> full load and start listening changes, and after a timeout stop > TT> listening changes. We'd have then fully dynamically wo

RE: snmpd.conf under /var directory

2010-11-11 Thread Judith Walker
Thanks for this feedback. I have tested thoroughly and have found that the persistent store is only read at startup. Judy -Original Message- From: Robert Story [mailto:rst...@freesnmp.com] Sent: Wednesday, November 10, 2010 8:23 PM To: Judith Walker Cc: net-snmp-coders@lists.sourcefo

RE: re-reading snmpd.conf file question - ifTable

2010-11-11 Thread Judith Walker
This is excellent information. Forgive me for not understanding that the ifTable code is available to read (other postings have implied that it is). I would have made a bigger effort to understand more, via code reading. Some of this information below, I would not have gleaned from that exerc

Re: dynamic updating vs. snapshotting containers

2010-11-11 Thread Robert Story
On Thu, 11 Nov 2010 08:04:18 +0200 Timo wrote: TT> On 11/11/2010 05:32 AM, Robert Story wrote: TT> > I'd vote for 2. You'd just have to disable the cache reload at the higher TT> > levels (there are some flags that can be set when the cache is created) and TT> > keep the cache consistent via netli

Re: how to debug SIGSEGV ?

2010-11-11 Thread Dave Shield
AV> I'm cross-compiling the net-snmp agent on a MIPS platform. Running the snmpd AV> agent I get this, AV> AV> >snmpd AV> error : SIGSEGV The first thing I'd suggest would be to run the agent using snmpd -f -Le (or similar) to make sure you see any output messages. RS> And you can't get a st

GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Phill Xenox
Hi All! Has faced a strange situation. There are 4 tables in one MIB-file. All tables are realised in the subagent through AgentX. Net-SNMP works as the master. All fields of the table have type Unsigned32. If any table contains an error (for example negative value, the subagent returns genErro