Re: dynamic updating vs. snapshotting containers

2010-11-10 Thread Timo Teräs
On 11/11/2010 05:32 AM, Robert Story wrote: > TT> Now, I'm asking which is better, and if there's any existing example > TT> code (so I can fix the arp_linux.c): > TT> > TT> 1) Dynamically listen Linux netlink events and add/delete/update > TT> entries on the snmpd's copy of ARP table? > TT> > T

Translating SNMPv1 Notification Parameters to SNMPv2 Notification Parameters is still not correct

2010-11-10 Thread Claus Klein
Hi I am interesting in to use the NotificationLogMib, but it is still not correct filled for snmpV1 taps. According to the RFC, see http://rfc-ref.org/RFC-TEXTS/3584/chapter3.html#sub1 it should be like my diff Please fix it and integrate my tests scripts to check this issue. see https://sou

Re: dynamic updating vs. snapshotting containers

2010-11-10 Thread Robert Story
On Wed, 10 Nov 2010 17:01:37 +0200 Timo wrote: TT> Looking at agent/mibgroup/ip-mib/data_access/arp_linux.c it's doing TT> snapshot dumps from the kernels tables, and apparently higher layers are TT> doing the caching. Yep. You could set the cache timeout lower if you wanted fresher data, but ther

Re: how to debug SIGSEGV ?

2010-11-10 Thread Robert Story
On Wed, 10 Nov 2010 03:54:42 -0800 Abraham wrote: 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 AV> > AV> AV> And nothing much else. (Above output is written from memory and is not AV> cut-copy-paste) And

Re: snmpd.conf under /var directory

2010-11-10 Thread Robert Story
On Fri, 5 Nov 2010 16:03:51 -0700 Judith wrote: JW> I've been looking at the snmpd.conf file that is under the /var/lib/net-snmp/ directory and would like to know if it is ever re-read under any circumstances? That file is the persistent store. It is re-read at startup, and possibly when the ag

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

2010-11-10 Thread Robert Story
On Tue, 9 Nov 2010 08:45:33 -0800 Judith wrote: JW> I believe that I found one answer to my delima wrt the ifTable not being refreshed when an interface goes away. The code actually notices that the interface went away, but it's not clear when we should simply mark an interface as down versus act

Re: Not able to set a column in ifTable.

2010-11-10 Thread Robert Story
On Mon, 08 Nov 2010 12:38:34 +0530 Manjit wrote: M> In my implementation i wrote a function( netsnmp_new_interface) which M> will create a new interface. M> And i am calling this function from M> netsnmp_access_interface_container_load . M> I find that this function netsnmp_access_interface_conta

dynamic updating vs. snapshotting containers

2010-11-10 Thread Timo Teräs
Hi all, I'm currently using Net-SNMP snmpd to export my Linux kernel's ARP tables. I'm doing real time lookups on IP to ARP mapping, and it looks like the snmpd caches the kernel's ARP table for a while resulting sometimes in "not found" IP requests. Looking at agent/mibgroup/ip-mib/data_access/a

how to debug SIGSEGV ?

2010-11-10 Thread Abraham Varricatt
I'm cross-compiling the net-snmp agent on a MIPS platform. Running the snmpd agent I get this, >snmpd error : SIGSEGV > And nothing much else. (Above output is written from memory and is not cut-copy-paste) I know that the application is fine as I can run, >snmpd -version version : 5.6 ... .. e