oid declaration

2005-06-02 Thread Alaios
Hi i try to find how the oid struct is defined.. I have search in the /usr/include/net-snmp but i cant figure out. Thx Ah one more question i want to take the value from a counter type... how i must parse it? I have used the same actions as with an integer intvalue=*vars->val.integer and seems to

Re: current state of ifTable implementation..i.e. under mibII and if-mib and Other questions...

2005-06-02 Thread Robert Story
On Thu, 2 Jun 2005 11:28:36 -0700 (PDT) Surya wrote: SP> So, for now, I will use interfaces.c.. Hope its not SP> going to be a big problem...later. When do you think SP> there will be a complete migration to if-mib? When we get some volunteers to port the code for other platforms in interfaces.c t

Re: I have a doubt about net-snmp-5.2.1-1.win32.exe

2005-06-02 Thread Alex Burger
Hi Juan. Juan Perez wrote: Hello, I downloaded the net-snmp-5.2.1-1.win32.exe and works perfectly (including mib2c), but I didn't find the libraries and (include files) for compiling, for example the files that I can't find are : You will need to download the source file (net-snmp-5.2.1.tar.g

Re: deprecated functions

2005-06-02 Thread Robert Story
On Sun, 29 May 2005 07:37:52 +0200 Magnus wrote: MF> Ok, then the patch that replaces netsnmp_set_all_requests_error with MF> netsnmp_request_set_error_all is #1210632. applied. -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: current state of ifTable implementation..i.e. under mibII and if-mib and Other questions...

2005-06-02 Thread Surya Prakash
> On Wed, 1 Jun 2005 18:45:23 -0700 (PDT) Surya wrote: > SP> What's the active code for ifTable? > SP> > SP> I see that > SP> 1. There are 2 files. interfaces.c, ifTable.c in > SP> mibgroup/mibII directory. > SP> 2. Also, under mibgroup/if-mib, there is code in > SP> directories data_access, ifTa

Re: after the second cache_load, got "Error: OID not increasing"

2005-06-02 Thread Robert Story
On Thu, 2 Jun 2005 12:46:36 -0500 [EMAIL PROTECTED] wrote: EYC> Thanks for the accurate diagnostics. EYC> I found that NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag was on. After EYC> I removed this flag, the problem disappeared. Ah, the dangers of cut-n-paste of code you don't understand. Been t

Re: performance issue on simultaneously walk

2005-06-02 Thread Robert Story
On Thu, 02 Jun 2005 09:57:53 -0700 Wes wrote: WH> However, remember that the agent only processes one request at a time [...] Not true. For a get request, it may be delegate, which is how AgentX works. So the various phases of two AgentX requests could be intermixed. Another big factor here could

Re: current state of ifTable implementation..i.e. under mibII and if-mib and Other questions...

2005-06-02 Thread Robert Story
On Wed, 1 Jun 2005 18:45:23 -0700 (PDT) Surya wrote: SP> What's the active code for ifTable? SP> SP> I see that SP> 1. There are 2 files. interfaces.c, ifTable.c in SP> mibgroup/mibII directory. SP> 2. Also, under mibgroup/if-mib, there is code in SP> directories data_access, ifTable. SP> SP> Whi

RE: CrossCompiling Net-Snmp for Arm9

2005-06-02 Thread Jeff Johnson
I'm in the process of trying to get net-snmp up on an ARM processor using the snapgear toolchain, and I'm having a similar problem to the one quoted here [a search of the problem parameters turned up this old posting, so I'm tacking on to it]. I've been able to narrow my problem down to the fac

Re: after the second cache_load, got "Error: OID not increasing"

2005-06-02 Thread Emi . Yanagi
Hi, Thanks for the accurate diagnostics. I found that NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag was on. After I removed this flag, the problem disappeared. Then I have another question, NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag is set in ifTable_container_init() in if-mib/ifTable_dat

Re: current state of ifTable implementation..i.e. under mibII and if-mib and Other questions...

2005-06-02 Thread Wes Hardaker
> On Wed, 1 Jun 2005 18:45:23 -0700 (PDT), Surya Prakash <[EMAIL > PROTECTED]> said: Surya> I see that Surya> 1. There are 2 files. interfaces.c, ifTable.c in Surya> mibgroup/mibII directory. Surya> 2. Also, under mibgroup/if-mib, there is code in Surya> directories data_access, ifTable.

Re: performance issue on simultaneously walk

2005-06-02 Thread Wes Hardaker
> On Thu, 2 Jun 2005 07:44:14 +0200, Magnus Fromreide <[EMAIL PROTECTED]> > said: >> I suspect two things: >> 1) That master agent talking to subagent with simultaneous queries slows >> down the speed? Magnus> That shouldn't be the the case - there is additional overhead Magnus> as you a

Re: snmpv3 Decryption error with net-snmp 5.2.1

2005-06-02 Thread gg gg
Never mind. It is working now. I needed to add in OpenSSL and I may have had some issues with persistent snmpd.conf settings. --- gg gg <[EMAIL PROTECTED]> wrote: > Hello, > > I am having the same problem receiving > decryption > error. I have no problems when I execute: > > snmpget -v3

RE: I have a doubt about net-snmp-5.2.1-1.win32.exe

2005-06-02 Thread Bruce Shaw
>Hello, I downloaded the net-snmp-5.2.1-1.win32.exe and works perfectly >(including mib2c), but I didn't find the libraries and (include files) for >compiling, That's because you downloaded a working binary. The source (including the libraries and includes) is available here: http://sourcefor

Re: snmpv3 Decryption error with net-snmp 5.2.1

2005-06-02 Thread gg gg
Hello, I am having the same problem receiving decryption error. I have no problems when I execute: snmpget -v3 -u wes -l authNoPriv -a MD5 -A setup_passphrase 172.16.37.22 .1.3.6.1.2.1.1.2.0 From what I can tell, the encryption passphrase is the same as the authentication passphrase.

I have a doubt about net-snmp-5.2.1-1.win32.exe

2005-06-02 Thread Juan Perez
Hello, I downloaded the net-snmp-5.2.1-1.win32.exe and works perfectly (including mib2c), but I didn't find the libraries and (include files) for compiling, for example the files that I can't find are : net-snmp-config.h, net-snmp-includes.h and net-snmp-agent-includes.h #include #include #i