Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread Nikos Balkanas
Yeap. If in linux try valgrind. BR, Nikos - Original Message - From: Bart Van Assche To: kavita raghunathan Cc: Net-snmp-users@lists.sourceforge.net Sent: Wednesday, September 08, 2010 9:06 AM Subject: Re: Net-snmp leaks memory after 5 hours On Tue, Sep 7, 2010 at 11:55 PM, kavita raghu

Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread Bart Van Assche
On Tue, Sep 7, 2010 at 11:55 PM, kavita raghunathan wrote: > Hello, After 5 hours, I notice that the memory usage of net-snmp has > jumped. It does not seem to depend on the application code I have written - > any ideas where to look ? > What do you mean with "memory usage" ? Are you referring he

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-07 Thread Claus Klein
Yes, I have IPv6 on my macbook. At leased localhost communication works with IPv6. Claus On 08.09.2010, at 00:14, Wes Hardaker wrote: >> On Tue, 7 Sep 2010 22:57:19 +0200, Claus Klein > > said: > > CK> only one issue on my macbook while make test: > > CK> /Users/clausklein/Downloads/n

Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread kavita raghunathan
Here is the output of top: note that snmpd started out at 8976, now it is at 11024: 777 1 root S 11024 10% 0% /sbin/snmpd -Ls 3 -d -p /tmp/sf_run/sn I'm running on linux, net-snmp 5.5, I have enclosed the output of configure as requested: [kraghunat...@kavitasfdev sbin]$ net-snmp-config --confi

Re: help- when running embedded SNMP get errors

2010-09-07 Thread Wes Hardaker
Those errors are the results of you not running "make install" first. The MIB errors can generally be ignored, however, as the agent really doesn't "need" the MIBs. However, these: Failed to create the persistent directory for /var/net-snmp/snmpd.conf read_config_store open failure on /var

Re: ifTable and ifXTable

2010-09-07 Thread Wes Hardaker
> On Mon, 6 Sep 2010 14:03:08 +0530, Shoma S Achar > said: SSA> So it means that we should implement the get/set parts of these as SSA> they are architecture dependent? Am I thinking right? Please do SSA> let me know. They're definitely architecture dependent. The ifXTable, for exampl

Re: : RE: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-09-07 Thread Wes Hardaker
> On Sun, 5 Sep 2010 12:47:56 +0400, "Ali Mirza, Rashid" > said: AMR> Which finishes, but after configure when I do a 'make' it just AMR> keeps going on and on in a loop, repeating itself. Sounds like a file timestamp issue maybe? Any chance the disk you're building this on is using NF

Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread Thomas Anders
kavita raghunathan wrote: > Hello, After 5 hours, I notice that the memory usage of net-snmp has jumped. > It does not seem to depend on the application code I have written - any ideas > where to look ? Would you mind giving us a bit more information to work with? What platform, what net-snmp v

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-07 Thread Wes Hardaker
> On Tue, 7 Sep 2010 22:57:19 +0200, Claus Klein > said: CK> only one issue on my macbook while make test: CK> /Users/clausklein/Downloads/net-snmp-5.6.pre3/testing/fulltests/ CK> temptests/T071com2sec6_simple...FAILED tests 30, 32 CK> Failed 2/35 tests, 94.29% okay Hmm...

Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread Wes Hardaker
The best advice for debugging memory leaks is found here: http://www.net-snmp.org/wiki/index.php/Debugger#Valgrind_.2F_Memory_Leaks -- Wes Hardaker Cobham Analytic Solutions -- This SF.net Dev2Dev email is sponsored by

Net-snmp leaks memory after 5 hours

2010-09-07 Thread kavita raghunathan
Hello, After 5 hours, I notice that the memory usage of net-snmp has jumped. It does not seem to depend on the application code I have written - any ideas where to look ? Thanks, Kavita -- This SF.net Dev2Dev e

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-07 Thread Claus Klein
Hi Wes, thanks for the good jobs. Tody I had a quick test of 5.6.rc3. Most I have missed in version 5.5 works now! only one issue on my macbook while make test: /Users/clausklein/Downloads/net-snmp-5.6.pre3/testing/fulltests/ temptests/T071com2sec6_simple...FAILED tests 30, 32

BUG: snmptrapd register the nlmLogvariableTable and the nlmLogTable but thy are only partly filled!

2010-09-07 Thread Claus Klein
Hi, the snmptrapd V5.5 seems to have a problem with the notification-log- mib: # my snmptrapd.conf: disableAuthorization yes doNotRetainNotificationLogs NO # I do NOT disable support for the NOTIFICATION-LOG-MIB. Normally the snmptrapd program keeps a record of the traps received,

Re: MIBDIRS Environment variable

2010-09-07 Thread Owen Orakwue
Thanks Lee, that works. Owen On Sep 6, 2010, at 5:04 PM, Lee wrote: > On 9/6/10, Owen Orakwue wrote: >> Thanks Wes. I will like be able set MIBDIRS environment variable in my >> shell...this is in the documentation...has anybody tried it? > > Yes. I use this with cygwin: > > export MIBS=A

snmpd.conf, extend and cached data

2010-09-07 Thread Shehzad Qureshi
Hi, I have a configuration file with an extend directive that runs a bash script and returns a string. The problem I'm having is that it seems that this data is cached. I would expect to poll this OID every second but the output is only updated every 5-10 seconds. In snmpd.conf: extend .1.3.6.1.

SNMP ignores mibdirs command in snmp.conf

2010-09-07 Thread Naama Bar Menachem
Hi when I ran snmpd with the flag "-M" it works great, no warnings/errors are shown and taked the mibs from the proper location when I remove the "-M" flag and instead uses the command "mibdirs" in snmp.conf - I see errors (Cannot find module) when I use -Dparse_mibs flag I see that even though

RE: problem with permissions

2010-09-07 Thread Michal Filka
Solved. I've found firewall configuration failure. Sorry. Michal Filka > > Hi, > > I've following error when running snmpd: > snmpd: send_trap: Failure in sendto (Operation not permitted) > > The trap is sent from a module. The installation was done as a copy of > development environment. Obvio

problem with permissions

2010-09-07 Thread Michal Filka
Hi, I've following error when running snmpd: snmpd: send_trap: Failure in sendto (Operation not permitted) The trap is sent from a module. The installation was done as a copy of development environment. Obviously I forgot to copy/setup something. Can anyone guide me where the problem is? Thank

FW: : RE: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-09-07 Thread Ali Mirza, Rashid
Hello I would appreciate if someone could help with the issue I am getting with version 5.6.rc2. To elaborate, when I do a 'make', I reach the following: _ SNMP Versions Supported: 1 2c 3 Building for : nto Net-SNMP

Re: Cooperation of net-snmp and java-agent using standard snmp protocol

2010-09-07 Thread Michala Srnova
Thank you Max, I tried to use proxy as you had adviced me. The row proxy -c public -v 2c localhost:8086 [oid of subtree] in snmpd.conf solved my problem and now the java agent responses to standard snmp commands of netsnmp :) Thanks, Srnka On 06/09/2010, Max wrote: > You could use the proxy