DEBUGMSGTL question

2006-12-14 Thread Hai Wang
Hello, I have a question here, I am writing snmp subagent with net-snmp-5.3.1, I compiled net-snmp with -disable-debugging, but I found out DEBUGMSGTL in my subagent started to do the logging, if I do not specify -disable-debugging while compiling net-snmp, DEBUGMSGTL in my subagent do

MIB2C Issue

2006-11-13 Thread Hai Wang (汪海)
Hello everyone, I encountered a MIB2C issue while I managed to generate C code against a MIBS with more than one tables, Please shed some light on this issue MIBS: Under my network tree I have more than two tables like network(3) | | +--netIFTable(2) | |... | ..

Re: error on subcontainer 'ia_addr' insert (-1)

2006-10-31 Thread Hai Wang (汪海)
Likely, your system might have conflict IP addresses. On 10/31/06, Enzo Arlati <[EMAIL PROTECTED]> wrote: > > Today I have intsalled net-snmp rev 5.3.1 on red-hat 7.3 > All is ok, also my enterprise extention seems good, but on log , > each few ( about 5 ) seconds, I see the following error messag

RE: error on subcontainer '' insert (-1)

2006-10-30 Thread Hai Wang
aces while snmpd is restarted? What is wrong? Regards! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Story Sent: Monday, October 30, 2006 4:56 PM To: Hai Wang (汪海) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: error on subcontainer &#x

Re: error on subcontainer '' insert (-1)

2006-10-30 Thread Hai Wang (汪海)
On 10/30/06, Robert Story <[EMAIL PROTECTED]> wrote: > On Mon, 30 Oct 2006 14:05:33 -0500 Hai wrote: > HW(> > HW(> The error comes from the CONTAINER_INSERT call in > HW(> > HW(> netsnmp_ioctl_ipaddress_container_load_v4 > HW(> > HW(> > HW(> > HW(> It only happened to the interfaces which have the

RE: error on subcontainer '' insert (-1)

2006-10-30 Thread Hai Wang
Hello Robert, What my findings on the issue (error on subcontainer '' insert (-1)) are that ipAddressTable could not deal with the interfaces with the same IP, in my case, interfaces are ppp interfaces. Moreover, since all queries to interfaces happen periodically, it might consum

Re: error on subcontainer '' insert (-1)

2006-10-30 Thread Hai Wang (汪海)
Thanks! See my inline below, let me know what your thoughts are. Hai On 10/30/06, Robert Story <[EMAIL PROTECTED]> wrote: > On Fri, 27 Oct 2006 13:26:22 -0400 Hai wrote: > HW(> The error comes from the CONTAINER_INSERT call in > HW(> netsnmp_ioctl_ipaddress_container_load_v4 > HW(> > HW(> It

Re: error on subcontainer '' insert (-1)

2006-10-27 Thread Hai Wang (汪海)
disable ip-MIB to stop the CONATINER_INSERT call? Please let me know what is your thoughts? Many thanks! On 10/27/06, Dave Shield <[EMAIL PROTECTED]> wrote: > On 27/10/06, Hai Wang (汪海) <[EMAIL PROTECTED]> wrote: > >So I want to know if there is any wa

error on subcontainer '' insert (-1)

2006-10-27 Thread Hai Wang (汪海)
error on subcontainer '' insert (-1) Hello everyone, As I was digging in the above issue I found that it likely is one of default network-related agent/mib with net-snmp which is causing the issue, it seems harmful for a small network system, but it could cause a big problem leading

Re: error on subcontainer 'ia_addr' insert (-1)

2006-10-26 Thread Hai Wang (汪海)
rs can both learn > and offer advice. Thanks. ] > > On 26/10/06, Hai Wang (汪海) <[EMAIL PROTECTED]> wrote: > > Dave, > > I did snmpwalk to my own mib subagent, but the error/warning is > > not coming from my code, it pretty is comfusing, any thoughts? > > W

SNMPD HIGH CPU usage and TIMEOUT for all snmprequest

2006-10-26 Thread Hai Wang
Hello everyone,        I really ran into a big issue with net-snmp 5.3.1, my net-snmp server is running on Linux redhat 9, where ppp server is also running. when there is no ppp session on the server, all snmpwalk requests are working fine, but when 100+ ppp sessions are made, then all snm

snmpd cpu usage HIGH!!!

2006-10-26 Thread Hai Wang (汪海)
Hello everyone, I really ran into a big issue with net-snmp 5.3.1, my net-snmp server is running on Linux redhat 9, where ppp server is also running. when there is no ppp session on the server, all snmpwalk requests are working fine, but when 100+ ppp sessions are made, then all snmpwalk r

error on subcontainer 'ia_addr' insert (-1)

2006-10-20 Thread Hai Wang (汪海)
Hello, I installed NET-SNMP 5.3.1 on Redhat 9, I keep receiving the following log info during the query, please let me know how to get rid of it although it is not harmful as far as I am aware of. -- error on subcontainer 'ia_addr' insert (-1) ... ... -- Any help is apprciated!

error on subcontainer 'ia_addr' insert (-1)

2006-10-19 Thread Hai Wang (汪海)
Hello, I installed NET-SNMP 5.3.1 on Redhat 9, I keep receiving the following log info during the query, please let me know how to get rid of it although it is not harmful as far as I am aware of. Many thanks! - Using

SNMP Agent extension in C

2006-10-02 Thread Hai Wang
Hello all, I am wondering if any of u is kindly pointing out where I can find comprehensive materials/tutorials on how to extend SNMP agent in C? Many thanks! -- Hai Wang Principal Software Engineer Fine Point Technologies, Inc. 139 Centre Street, 6th Floor New York, New York 10013-4408

RE: Issue on compiling 5.3.1 on redhat 9

2006-08-29 Thread Hai Wang
Thank for your responses, but I did rpm grep and found out that my system did have #rpm -qa|grep elf elfutils-0.76-3 elfutils-libelf-0.76-3 Now I am really confused! Please help -- Hai Wang Principal Software Engineer Fine Point Technologies, Inc. 139 Centre Street, 6th Floor New York, New

Issue on compiling 5.3.1 on redhat 9

2006-08-29 Thread Hai Wang
iated for any help! -- Hai Wang Principal Software Engineer Fine Point Technologies, Inc. 139 Centre Street, 6th Floor New York, New York 10013-4408 email: [EMAIL PROTECTED] phone: +1.212.962.7410 x 326 fax: +1.212.962.7404 web: http://www.finepoin