merging cach_handler handler arg passing

2005-06-03 Thread Robert Story
Dave, I just noticed that you added 4 pointers to the cache_handler structure for passing handler args to the load routine. This does almost the exact same thing as the cache hint stuff I added in 5.2. There are two main differences: 1) I added a cache_hint void *, while you added 4 pointers spec

Re: Cache for subtree, is it possible?

2005-06-03 Thread Robert Story
On Fri, 03 Jun 2005 17:20:05 +0400 Ivanov wrote: IO> I have a few tables at node .1.3.6.1.4.1.xxx.1 (for example IO> .1.3.6.1.4.1.xxx.1.1 -.1.3.6.1.4.1.xxx.1.3), data for them reads from IO> one place by one request, so, I want to inject cache handler at subtree IO> .1.3.6.1.4.1.xxx.1, to get data

Re: Redirect OID, it's possible?

2005-06-03 Thread Robert Story
On Fri, 03 Jun 2005 14:14:52 +0200 Emmanuel wrote: ED> I have a question ... Don't know if it's possible : ED> ED> - I have my own MIB, and I need to know, if it's possible to include ED> some entry who are mapped/redicted to another entry. You can try using the snmpd.conf proxy token to do this.

Re: why my snmpd didn't work well?

2005-06-03 Thread Robert Story
On Fri, 3 Jun 2005 20:01:32 +0800 (CST) nauhiyux wrote: NX> #./configure --prefix=/var/snmp (I choose the default option) NX> You know,there is also a NX> snmpd exist in /usr/sbin when I install the fedora core linux, Yes, and it is a bad idea to mix the two. If you really want to install

Re: compiling module; conflicting function names

2005-06-03 Thread Robert Story
On Fri, 3 Jun 2005 09:26:58 -0500 Matthew wrote: MB> Well, I'd like to be able to remove parse.h but one of these: MB> MB> #include MB> #include MB> #include MB> MB> I tried to remove each of these headers one by one to see if I didn't need MB> one of them but it seems I do. The last 2 are he

Re: net-snmp question

2005-06-03 Thread Robert Story
> What we want to inquire about is Trap. > > We have included trap in our mib file and then trying to create C Source code > using Mib2c > > 1. When we select UCD-SNMP, > C Source Code related to Trap is not created. > We would like to know the method of creating Trap C Source Code. Try 'mib2c

why my snmpd didn't work well?

2005-06-03 Thread nauhiyux xu
Dear Dave Shield, I'm a Asian student,I now meet a problem using net-snmp in linux(fedora core 3). First,I download source packet net-snmp-5.2.1.tar.gz from net-snmp.sourceforge.org. then #tar zxvf net-snmp-5.2.1.tar.gz #./configure --prefix=/var/snmp  (I choose the default option) #make

net-snmp question

2005-06-03 Thread 노 형석
Hello! My name is Rho Hyoung Seok!   To whom it may concern   We have been developing SNMP with Agent Net-SNMP 5.1.2 version source via internet.   We made MIB file updated several function and placed it behind Enterprises temporally.     We succeed in extracting C,H file using Mi

net-snmp configure errors on AIX v. 5.2 ML04 64bit

2005-06-03 Thread Randy.Guinn
Title: net-snmp configure errors on AIX v. 5.2 ML04 64bit configure: WARNING: netinet/tcpip.h: present but cannot be compiled configure: WARNING: netinet/tcpip.h: check for missing prerequisite headers? configure: WARNING: netinet/tcpip.h: see the Autoconf documentation configure: WARN

Re: Fwd: Linux 2.6 IPv6 interface "ip6tnl0"

2005-06-03 Thread Gunnar Lindberg
Hm, there is one piece of code which is likely to depend on whether or not you split the interface name into x->if_name & x->if_unit: ./agent/mibgroup/mibII/interfaces.c 1733 #if defined(sunV3) || defined(linux) 1734 /* 1735 * ** 4.2 BSD doesn't have ifaddr 1736 * ** 1737 */

Re: compiling module; conflicting function names

2005-06-03 Thread Tom Flavel
On 03/06/2005 09:26:58, Matthew Boehm wrote: > Robert Story wrote: > > > You have two options: > > > > 1) trim down header files in files that hit the conflict (ie don't > > include the net-snmp parse.h) > > > > 2) patch net-snmp to rename the function. It's only used in one > > files, so it shoul

Re: compiling module; conflicting function names

2005-06-03 Thread Matthew Boehm
Robert Story wrote: > You have two options: > > 1) trim down header files in files that hit the conflict (ie don't > include the net-snmp parse.h) > > 2) patch net-snmp to rename the function. It's only used in one > files, so it should be a simple fix. Well, I'd like to be able to remove parse.h

Cache for subtree, is it possible?

2005-06-03 Thread Ivanov Oleg
Good day, I have a few tables at node .1.3.6.1.4.1.xxx.1 (for example .1.3.6.1.4.1.xxx.1.1 -.1.3.6.1.4.1.xxx.1.3), data for them reads from one place by one request, so, I want to inject cache handler at subtree .1.3.6.1.4.1.xxx.1, to get data for all this subtree befor handlers of tables will

Redirect OID, it's possible?

2005-06-03 Thread Emmanuel Doguet
I have a question ... Don't know if it's possible : - I have my own MIB, and I need to know, if it's possible to include some entry who are mapped/redicted to another entry. Exemple : MY_MIB + myproduct - version

Re: oid declaration

2005-06-03 Thread Dave Shield
On Fri, 2005-06-03 at 05:36, Alaios wrote: > 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. I'm not sure where you looked, but: /usr/include/net-snmp/types.h: #ifndef EIGHTBIT_SUBIDS typedef u_long oid; #define