Agentx communication issues with net-snmp 5.4.1

2008-05-14 Thread Latha_Krishnamurthi
Hi, I was using net-snmp 5.1.4 earlier and we have a subagent communicating using agentx with our master agent. Things were working fine. We are now trying to upgrade to net-snmp 5.4.1 and the master agent and the subagent are not communicating. The subagent seems to register the MIBS fine, I ca

Re: default timeout

2008-05-14 Thread Wes Hardaker
> On Mon, 12 May 2008 07:35:53 -0700 (PDT), tak oishi <[EMAIL PROTECTED]> > said: to> What is the default timeout value for this version? I think it's a second. to> How can I modify this value? I downloaded this, but to> couldn't find parameter... It's a parameter in the session struct

Re: about net-snmp-5.1.1

2008-05-14 Thread Wes Hardaker
> On Mon, 12 May 2008 14:00:07 +0800, "Tewen Hsieh" <[EMAIL PROTECTED]> > said: TH> But when I use "snmpwalk -v 1 -c public localhost system", it only TH> shows "End of MIB". What does it mean? It means you don't have access control to anything in the agent :-) TH> What's the difference

Re: Urgent - Unknown User Name

2008-05-14 Thread Wes Hardaker
> On Tue, 13 May 2008 14:24:46 +0530, "Pachiappan D" <[EMAIL PROTECTED]> > said: PD> I have written an API to add a snmpv3 user.( Like net-snmp-config ) PD> Before starting the agent,my API appends the two lines in appropriate PD> files as below, Did you write the file when the agent was

Re: Asynchronous write

2008-05-14 Thread Wes Hardaker
> On Wed, 14 May 2008 15:03:37 +0200, Jan Safranek <[EMAIL PROTECTED]> said: JS> net-snmp by default expects that send() on a socket always send whole JS> provided buffer and is blocking. This leads to deadlocks under heavy JS> load - see bug #1598344. Interesting findings and good work! M

Re: Asynchronous write

2008-05-14 Thread Magnus Fromreide
On ons, 2008-05-14 at 15:03 +0200, Jan Safranek wrote: > Hi, > > net-snmp by default expects that send() on a socket always send whole > provided buffer and is blocking. This leads to deadlocks under heavy > load - see bug #1598344. > > I'm rewriting the snmp_api so the write will be asynchrono

Re: about ./configure options

2008-05-14 Thread Magnus Fromreide
On ons, 2008-05-14 at 15:52 +0800, Tewen Hsieh wrote: > Hi, > > What is the difference between "--disable-shared" and > "--with-ldflags=-Bstatic" in configure phase? --disable-shared tells configure that you don't want to build any shared libraries. -Bstatic tells the linker that you don't wish

Re: dlmod error

2008-05-14 Thread Magnus Fromreide
On ons, 2008-05-14 at 21:28 +0800, Tewen Hsieh wrote: > > But when I loaded wpWlsCore.so and wpWlsBridge.so, I got following > error message: > > /not/usr/sbin> ./snmpd -f -L -DwpWlsCore,dlmod > dlmod: register mib > dlmod: dlmod_path: /not/usr//lib/snmp/dlmod > dlmod: dlmod_create_module

dlmod error

2008-05-14 Thread Tewen Hsieh
Hi, Thanks for reply. I describe my work again. I cross compiled net-snmp-5.1.1 successfully. My cross compile procedure: step 1: ./configure --target=mips-linux --with-cc=mips2_fp_be-gcc --host=mips --with-endianness=big --prefix=/not/usr/ --with-install-prefix=/tmp step 2: make step 3: mak

about ./configure options

2008-05-14 Thread Tewen Hsieh
Hi, What is the difference between "--disable-shared" and "--with-ldflags=-Bstatic" in configure phase? I tried these two options, but it still asked me to install libcrypto.so.0.9.7. Even I used these two options at the same time, it still asked for libcrypto.so.0.9.7. I am really confused. In

net-snmp-5.1.1

2008-05-14 Thread Tewen Hsieh
Hi, I installed net-snmp-5.1.1 successfully. But I always got a "no such object"response no matter waht get request(ex: get sysDescr) I sent to snmpd. Is this a bug of net-snmp-5.1.1? Or I missed something? Thanks. I havied tried other versions (5.3.2), there is no this error. iTAS Tewen 永鈦鑫

Re: place where agent holds data of SNMPv3 users

2008-05-14 Thread Thomas Anders
[EMAIL PROTECTED] schrieb: > Hi! Could you please help me with location of SNMPv3 users data > (securityName, authKey, selected auth and priv protocols and so on. I know > about usmUserTable. Where does this table get data from? snmpd.conf in the persistent directory (see output of "net-snmp-confi

place where agent holds data of SNMPv3 users

2008-05-14 Thread aydin
Hi! Could you please help me with location of SNMPv3 users data (securityName, authKey, selected auth and priv protocols and so on. I know about usmUserTable. Where does this table get data from? Thanks in advance. - This SF

Re: r16909 broke RH7.1 build for all branches

2008-05-14 Thread Thomas Anders
Dave Shield wrote: > #ifndef SIOCGMIIPHY > #define SIOCGMIIPHY 0x > #endif > > (and similarly for SIOCGMIIREG) I agree. Applied in r16944. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - This SF.net em

Asynchronous write

2008-05-14 Thread Jan Safranek
Hi, net-snmp by default expects that send() on a socket always send whole provided buffer and is blocking. This leads to deadlocks under heavy load - see bug #1598344. I'm rewriting the snmp_api so the write will be asynchronous and non-blocking. It seems to me that the session API is somehow