walk on one column in a table

2005-06-07 Thread Fong Tsui
When doing snmpwalk on a single column in a table which has 50 columns, I found it queries data for all 50 columns and displays the one needed.  It’s wasting a lot by getting data not needed. Even walking an empty table; it goes through all columns in that table.   I am using oid-api (v5.

RE: performance issue on simultaneously walk

2005-06-07 Thread Fong Tsui
Finally, I found a race condition inside my access code. So, master-subagent on multiple walks should be ok. Thanks, FT -Original Message- From: Magnus Fromreide [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 10:44 PM To: Fong Tsui Cc: net-snmp-coders@lists.sourceforge.net Sub

RE: lmSensors on Sun hardware

2005-06-07 Thread Bruce Shaw
Could you post it as a patch? I'd like to have a look at it. My code works on my E450's, V880's and 280r's. BS> One problem with the material delivered by picl is that it doesn't fit BS> nicely into the data structures provided in LM-SENSORS (particularly because BS> of nesting) so I was also to

Re: CVS: net-snmp/agent/mibgroup/utilities iquery.c,1.1 iquery.h,1.1

2005-06-07 Thread Robert Story
On Mon, 06 Jun 2005 02:31:58 -0700 Dave wrote: DS> Added Files: DS> iquery.c iquery.h DS> Log Message: DS> Utility routines for making "internal queries", to retrieve or assign DS> values from elsewhere in the current agent. Interesting. Probably a good thing to have an API for. 1) aren't al

Re: Fwd: Linux 2.6 IPv6 interface "ip6tnl0"

2005-06-07 Thread Dave Shield
On Tue, 2005-06-07 at 15:46, Robert Story wrote: > On Tue, 7 Jun 2005 09:08:15 +0200 (MEST) Gunnar wrote: > GL> 2128 #ifdef sunV3 > GL> 2133 int Interface_Scan_Next(Index, Name, Retifnet) > GL>... > GL> 2148 if (strcmp(saveName, "ip") == 0) { > GL> 2149 i

compiling problem in upgrading from ucd-snmp to net-snmp

2005-06-07 Thread Shufen Zhang
Dear all, Hope this message find you all well.   I had a problem in upgrading ucd-snmp 4.2.6 agent to net-snmp 5.2.1 agent.   My question is that in the current ucd-snmp compiling, a directory objdir was created under the root snmp directory and all the object files went to here. How can I do the s

Re: Fwd: Linux 2.6 IPv6 interface "ip6tnl0"

2005-06-07 Thread Robert Story
On Tue, 7 Jun 2005 09:08:15 +0200 (MEST) Gunnar wrote: GL> cmu-snmp2.1.2/agent/snmp_vars.c GL> GL> 2128 #ifdef sunV3 GL> 2133 int Interface_Scan_Next(Index, Name, Retifnet) GL>... GL> 2148 if (strcmp(saveName, "ip") == 0) { GL> 2149 ifnetaddr = ifnet.if_

Re: Dynamically loading/unloading MIBs

2005-06-07 Thread Robert Story
On Tue, 7 Jun 2005 00:28:27 -0700 (PDT) Ajit wrote: AB> How can I do this? The ucd_snmp/dlopen is a way. But I AB> don't want to dlopen each table/scalar group in that AB> way. Group them together and have one init that calls the other inits. -- NOTE: messages sent directly to me, instead of the

Dynamically loading/unloading MIBs

2005-06-07 Thread Ajit Bhat
Hi all, I have a MIB implemented which have many tables and scalar groups. I don't want this to be part of libnetsnmpmibs. But have a separate library. And load this library when a request comes in for this MIB. How can I do this? The ucd_snmp/dlopen is a way. But I don't want to dlopen each tabl

Re: Fwd: Linux 2.6 IPv6 interface "ip6tnl0"

2005-06-07 Thread Gunnar Lindberg
Sorry to followup to my own posting, but I've done some "research on (pre)historic code" :-). But, maybe I should begin with a proper bug report: net-snmp-5.2.1 (& net-snmp-5.1 & obviously "historic") Linux Kernel 2.6.10 IPv6 interface "ip6tnl0" linux# ifconfig ip6tnl0 Link