Re: pl help: net-snmp building problem on linux

2006-07-07 Thread Thomas Anders
Archana Sajeev wrote: > problem 2> it gives error: cannot find -lelf See the item On RedHat 8.0 or up I get "/usr/bin/ld: cannot find -lelf". Why? in the FAQ (http://www.Net-SNMP.org/docs/FAQ.html). +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) Using Tomcat but need to do mo

pl help: net-snmp building problem on linux

2006-07-07 Thread Archana Sajeev
  Step I perfomed on redhat linux 9 with net-snmp 5.3.0.1 1>configure  2>make -   problem 1> runs infinitely giving error file changed. So I touched all files and then   problem 2> it gives error: cannot find -lelf I am a student doing the probject on this. Your help is appreciated. Th

Re: Windows oddities

2006-07-07 Thread Wes Hardaker
> On Thu, 6 Jul 2006 11:02:59 -0400, Robert Story <[EMAIL PROTECTED]> said: Robert> I'll vote for the configure change, if it's not too late. I'm Robert> a little hesitant about the other change, but if you have Robert> tested in on a variety of platforms and it doesn't break Robert> anything,

Re: Patch to fix memory leaks at shutdown

2006-07-07 Thread Wes Hardaker
> On Fri, 07 Jul 2006 23:13:20 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> Please submit to www.net-snmp.org/patches so it won't get Thomas> lost. It's applied already, but normally Thomas is right... patches should go into the patch db. -- Wes Hardaker Sparta, Inc. Using

Re: Patch to fix memory leaks at shutdown

2006-07-07 Thread Wes Hardaker
Mathew> I add some code to free memory that isn't being cleaned up Mathew> when snmp is shutdown. The code is pretty simple, I added a Mathew> function to lcd_time.c called free_etimelist which iterates Mathew> through the list of Enginetime structures and frees the Mathew> memory. I added a cal

Re: Potential bug in 5.3.1.pre3

2006-07-07 Thread Wes Hardaker
> On Thu, 6 Jul 2006 11:56:07 -0400, Robert Story <[EMAIL PROTECTED]> said: NCC> ifentry->ns_flags --> trying to dereference ifentry but ifentry is NCC> already null. Robert> Quite right. I'll be posting a proposed patch momentarily. Thanks for Robert> pointing this out. FYI, applied. -- We

Re: Patch to fix memory leaks at shutdown

2006-07-07 Thread Thomas Anders
Mathew Bielejeski wrote: > I add some code to free memory that isn't being cleaned up when snmp is > shutdown. The code is pretty simple, I added a function to lcd_time.c > called free_etimelist which iterates through the list of Enginetime > structures and frees the memory. I added a call to fre

Re: logmatch

2006-07-07 Thread Wes Hardaker
> On Fri, 7 Jul 2006 11:46:49 -0700, "Kevin Zhang" <[EMAIL PROTECTED]> said: Kevin> again Sending notes once a day just really annoys people. Please don't do that. If someone can answer your question they will hopefully. -- Wes Hardaker Sparta, Inc. Using Tomcat but need to do more? Need

Patch to fix memory leaks at shutdown

2006-07-07 Thread Mathew Bielejeski
I add some code to free memory that isn’t being cleaned up when snmp is shutdown.  The code is pretty simple, I added a function to lcd_time.c called free_etimelist which iterates through the list of Enginetime structures and frees the memory.  I added a call to free_etimelist to snmp_shutd

RE: logmatch

2006-07-07 Thread Kevin Zhang
again   From: Kevin Zhang Sent: Wednesday, July 05, 2006 12:22 PM To: '[email protected]' Subject: logmatch   Anyone succeeded in using logmatch, I have tried different configurations but failed.   Kevin SZ Using Tomcat but need to do more? Need to

Re: Frequent system calls in 5.3.1.pre3

2006-07-07 Thread Robert Story
On Fri, 07 Jul 2006 09:51:46 +0100 [EMAIL PROTECTED] wrote: DTSLAU> Quoting Robert Story <[EMAIL PROTECTED]>: DTSLAU> > Might I suggest using /proc/loadavg as an optimization on DTSLAU> > Linux based single cpu systems? DTSLAU> DTSLAU> Except that this metric is measuring something differe

Re: sparse table

2006-07-07 Thread Robert Story
On Thu, 6 Jul 2006 14:08:29 -0400 (EDT) Dominique wrote: DB> I found a workaround, based on the logs I found the DB> function with the switch case for each col and no DB> entries are generate for the missing entries. I add DB> these lines before the default: DB> DB> case 12: DB> re

Re: sparse table

2006-07-07 Thread Robert Story
On Thu, 6 Jul 2006 13:44:10 -0400 (EDT) Dominique wrote: DB> The log are: DB> DB> Jan 14 03:57:09 P002-0004 snmpd[109]: registered debug DB> token internal:dot3Stats$ Those are just from startup.. I want the ones from the walk. Using Tomcat but need to do more? Need to support web services, secu

Re: sparse table

2006-07-07 Thread Robert Story
On Fri, 7 Jul 2006 10:17:56 -0400 Robert wrote: RS> On Thu, 6 Jul 2006 14:08:29 -0400 (EDT) Dominique wrote: RS> DB> I found a workaround, based on the logs I found the RS> DB> function with the switch case for each col and no RS> DB> entries are generate for the missing entries. Ahhh... I missed

Re: Frequent system calls in 5.3.1.pre3

2006-07-07 Thread D . T . Shield
Quoting Robert Story <[EMAIL PROTECTED]>: > Might I suggest using /proc/loadavg as an optimization on > Linux based single cpu systems? Except that this metric is measuring something different - the length of the run queue, not the percentage of time the CPU is active. The two are clearl