Re: 5.4 Sources & OS X 10.4

2007-01-18 Thread Thomas Anders
Tony VanScoy wrote: > Trouble compiling the sources. I read the README.osX and followed the > configure options. [...] > mibgroup/host/hr_network.c: In function 'Save_HR_Network_Info': > mibgroup/host/hr_network.c:250: error: invalid use of undefined type > 'struct ifnet' Known bug: [1627739] 5.

Re: SNMP Subagent crash

2007-01-18 Thread Venkata Guddeti
Dear All How can I make net-snmp to use asynchronous send, rather than send (synchronous). Thanks Reddy Robert Story <[EMAIL PROTECTED]> wrote: On Fri, 12 Jan 2007 10:33:26 -0800 (PST) Venkata wrote: VG> In the process that sends traps, I have no threads now. VG> First I created connection wi

5.4 Sources & OS X 10.4

2007-01-18 Thread Tony VanScoy
Trouble compiling the sources. I read the README.osX and followed the configure options. Here's my configure line ... ~/net-snmp-5.4 # ./configure --with-persistent-directory=/var/db/net-snmp --with-defaults --without-rpm --with-mib-modules="host ucd-snmp/diskio" --with-out-mib-modules="mibII/icmp

Re: RowStatus type mib2c template problem

2007-01-18 Thread Emi . Yanagi
Hi Robert, The code was generated using 5.2.1 with mib2c.mfd.conf. I recently upgraded to Net-SNMP 5.3.1, although my subagent didn't change, the master agent and shared library are using 5.3.1. Then the reported RowStatus segmentation fault occurs. The same code didn't cause segmentation fault wi

Re: rfc: library layering

2007-01-18 Thread Robert Story
On Wed, 17 Jan 2007 22:04:32 +0100 Magnus wrote: MF> On ons, 2007-01-17 at 09:53 -0500, Robert Story wrote: MF> MF> +(void *)'help'); MF> MF> Interesting char constant there, I suppose you did mean (void*)"help"? Actually not. I'm just using the void pointer as 4 bytes of

Re: MFD concern and a simple problem (in code generation)

2007-01-18 Thread Robert Story
On Wed, 17 Jan 2007 22:12:44 -0600 (CST) [EMAIL PROTECTED] wrote: MIC> xxxTable_container_load() What release did you use to generate the code? MIC> The test used befor populating a column defined as: MIC> wpiPath DisplayString MIC> MIC> /* Code taht I have problem with */ MIC> MIC>

Re: RowStatus type mib2c template problem

2007-01-18 Thread Robert Story
On Wed, 17 Jan 2007 10:03:56 -0600 [EMAIL PROTECTED] wrote: EYC> Dear net-snmp-coders, EYC> EYC> I found a problem in RowStatus type template generated by mib2c.mfd.conf or EYC> mib2c. container.conf. The current template will cause segmentation fault EYC> when getting a not yet created entry afte

Re: rfc: library layering

2007-01-18 Thread Thomas Anders
Robert Story wrote: > The other option would be to: > > - very carefully examine every public/exported function in every helper which > isn't moved into the agent library > > - determine which functions expect/require that the helper's init function was > called > > - modify those functions to c

Re: patch for [libnetsnmp]trapd dependencies?

2007-01-18 Thread Thomas Anders
Dave Shield wrote: > On 18/01/07, Thomas Anders <[EMAIL PROTECTED]> wrote: >> I don't think this patch is complete or would build as-is. Don't we need >> the attached one at least? > > Probably, yes. > [...] >> 1) Can you post your proposed patch for the dropauth/SyslogTrap >> integers, please? >

Re: patch for [libnetsnmp]trapd dependencies?

2007-01-18 Thread Dave Shield
On 18/01/07, Thomas Anders <[EMAIL PROTECTED]> wrote: I don't think this patch is complete or would build as-is. Don't we need the attached one at least? Probably, yes. My patch was solely intended as an indication of the sort of thing I had in mind. It wasn't fully-tested or anything. 1)

Re: patch for [libnetsnmp]trapd dependencies?

2007-01-18 Thread Thomas Anders
Dave Shield wrote: > On 15/01/07, Thomas Anders <[EMAIL PROTECTED]> wrote: >> thanks for the Wiki feedback. Do you care to propose a specific patch >> what >> *exactly* you'd like to drop w.r.t. the third issue? > > Appended. I don't think this patch is complete or would build as-is. Don't we nee

Re: How to reduce the footprint of net-snmp?

2007-01-18 Thread Magnus Fromreide
On ons, 2007-01-17 at 11:20 -0800, Kapil Sharma wrote: > I am looking to using net-snmp in an embedded device, and the limits > available to me, though not extremely rigid, are fairly tight. > Typically, I would be looking to have all snmp related stuff within > 500kb. > > Therefore, I am working