Re: How to add a new mib sample mib and write the sources for that mib

2006-07-17 Thread Wes Hardaker
> On Sun, 16 Jul 2006 05:55:14 +0100 (BST), rajasekhar kavuri <[EMAIL > PROTECTED]> said: rajasekhar> i am new to Net-SNMP. i have downloaded the sources and rajasekhar> extracted it on the linux 2.4 kernel. My aim is to add a rajasekhar> new mib called the sample mib. Now i want to gener

Re: snmpd memory leak on snmpbulkget

2006-07-17 Thread Wes Hardaker
> On Mon, 17 Jul 2006 10:11:10 -0700, "Fong Tsui" <[EMAIL PROTECTED]> said: Fong> OK. The problem seems that netsnmp_create_subtree_cache() malloc Fong> memory for SNMP_MSG_GETBULK (in agent/snmp_agent.c) for each Fong> session. If there are multiple sessions in process, the memory Fong> will

RE: snmpd memory leak on snmpbulkget

2006-07-17 Thread Fong Tsui
OK. The problem seems that netsnmp_create_subtree_cache() malloc memory for SNMP_MSG_GETBULK (in agent/snmp_agent.c) for each session. If there are multiple sessions in process, the memory will be a huge amount. There is no limit. I have checked version 5.3.1 code and found that this part of code

Re: disman status ?

2006-07-17 Thread Dave Shield
On 17/07/06, Cedric Stevens <[EMAIL PROTECTED]> wrote: > I've used the new net-snmp 5.3.1 version.When configuring with the > --with-mib-modules="disman/ping-mib" option, compile fails with an error: I'm not at all surprised. My personal belief is that these "remote operations" modules are not w

Re: disman status ?

2006-07-17 Thread Cedric Stevens
Hi Dave I've used the new net-snmp 5.3.1 version.When configuring with the --with-mib-modules="disman/ping-mib" option, compile fails with an error: disman/ping/pingCtlTable.h:98:17: error: in6.h: No such file or directory disman/ping/pingCtlTable.h:99:18: error: ipv6.h: No such file or directory

Re:

2006-07-17 Thread Dave Shield
> Turns out that removing that entire block of code in hr_filesys.c around > line 600 fixes the problem: Yes - that would work (since it returns the code to its original, "monotonically increasing" behaviour). > I'm aware that this assigns a new index to a previously existing mount > point, but

Re: net-snmp on Mac OSX

2006-07-17 Thread Thu N. Nguyen
Hi Chris, Thanks for your reply. btw, I got 5.3.1.rc4 build ok with the following flags: configured by ./configure, generated by GNU Autoconf 2.59, --with-ldflags=-flat_namespace --with-out-mib-modules=mibII/icmp but I can't with this flag: --with-mib-modules=host is this problem gone away wit

Re: support of RFC 4293

2006-07-17 Thread Rao Shoaib
Thanks Wes. Anders will upload the fixes. my understanding is that these are only Solaris specific changes. Anders is looking into how to make sure that these changes are applied only if they are being built on the latest solaris release which has support for these. What is the normal practice

How to add a new mib sample mib and write the sources for that mib

2006-07-17 Thread rajasekhar kavuri
Hai, i am new to Net-SNMP. i have downloaded the sources and extracted it on the linux 2.4 kernel. My aim is to add a new mib called the sample mib. Now i want to generate the agent with this sample mib. how this can be done. how to start this one can anyone give me the solution for this. Thankin

RE: add multiple rows with 1 set - crash

2006-07-17 Thread Graeme Wilson
Hi, Thanks for the reply. I believe I have the row_merge helper added in (I did a grep in the code and the table_interface.c file had various functions like row_merge_handler, row_merge_status_first etc). Where should I be checking for the indexes? Thanks for your help. Graeme. > -Origin