Re: problems with compiling

2005-06-13 Thread Magnus Fromreide
Hello First, as Dave and others, I am not about to provide unpaid private help either, please keep followups on the mailing list. On Tue, Jun 14, 2005 at 10:25:49AM +0530, amit wrote: > > > Hi magnus, > i had done exactly as u have suggested but ./configure stops giving > this error > ch

ATM-MIB.txt to C code ,How ?

2005-06-13 Thread mehdi gholami
dear koders !! .. I'm trying to implement the ATM-MIB.txt , then import and register taht to net-snmp-5.2.1 (in linux suse 9.2 ) for my research.. but i have some problems ... where can i find atm.c that work with my requests... or it help me to simulate and extend my codes..

MODE_GETNEXT is coming instead of MODE_GET

2005-06-13 Thread partha
Hi  I am new to Net-SNMP I am working on one shared library using Net-SNMP to integrate with solaris 10 SMA. I have one table structure. I want to poll it every 60 second. To generate the code I have used mib2c  tool with the option mib2c.iterate.conf.  The generated code is works fine if I 

Re: DEBUGMSGTL - where teh debug messages are going

2005-06-13 Thread partha
Hi  I am new to Net-SNMP I am working on one shared library using Net-SNMP to integrate with solaris 10 SMA. I have one table structure. I want to poll it every 60 second. To generate the code I have used mib2c  tool with the option mib2c.iterate.conf.  The generated code is works fine if I 

DEBUGMSGTL - where teh debug messages are going

2005-06-13 Thread partha
I am looking in to Net-snmp related one piece of code. Can you please tell me where DEBUGMSGTL() function sending the messages? If it is going to a file , what is the path and file name. --- This SF.Net email is sponsored by: NEC IT Guy Ga

ifXtable implementation

2005-06-13 Thread Surya Prakash
Could some one please tell me if there is an old implementation of ifXtable stuff like ifHighSpeed, ifCounterDiscontinuityTime, ifLinkUpDownTrapEnable? I mean an implementation like that in interfaces.c under MIB-II. I found a newer handler based implementation under if-mib/ifXTable directory? Al

Re: rfc: snmptrapd as sub-agent

2005-06-13 Thread David T. Perkins
HI, Please, re-engineer snmptrapd to not be a subagent at all! And it is such a shame that the notification log MIB was used instead of creating a proprietary MIB for this purpose, since the log MIB in RFC 3014 is seriously broken. Why - because it 1) tries to serve multiple purposes and

rfc: snmptrapd as sub-agent

2005-06-13 Thread Robert Story
We've had some people with memory problems with snmptrapd, which seem to be (at least partially) because of the new sub-agent code that implements the notificaiton log mib. Unfortunately, there is no way to configure snmptrapd to not be a sub-agent. I think this is a bug. The current default is on

Re: net-snmp on Mac OS X

2005-06-13 Thread Robert Story
On Wed, 25 May 2005 13:02:46 -0700 OpenMacNews wrote: O> however, 'make' now fails @: O> O> host/hr_storage.c: In function 'var_hrstore': O> host/hr_storage.c:499: error: dereferencing pointer to incomplete type O> host/hr_storage.c:500: error: dereferencing pointer to incomplete type

Re: rfc: optional config file processing enhancement

2005-06-13 Thread Robert Story
On Mon, 13 Jun 2005 10:47:01 +0100 Dave wrote: DS> > TA> At a first glance, I find that counterintuitive. For mib dirs, "+" DS> > TA> means "append" which I'd translate to "be processed *after* the DS> > TA> default config files" here. But that's the default behaviour already. DS> DS> I agree. On

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

2005-06-13 Thread Robert Story
On Mon, 13 Jun 2005 10:29:03 +0100 Dave wrote: DS> I think the current distinction of DS> DS> netsnmp_get vs netsnmp_iquery_get DS> DS> is much less confusing. Hmm... I can't find a netsnmp_get anywhere... DS> I presume you're suggesting DS> DS> netsnmp_iquery_session_pdu DS>

Re: automated build/testing?

2005-06-13 Thread Robert Story
On Mon, 13 Jun 2005 09:50:01 +0100 Dave wrote: DS> On Fri, 2005-06-10 at 18:27, Robert Story wrote: DS> > I build the 3 most recent branches on Linux x86 nightly, though DS> > I've recently been too busy to pay attention to the results. What DS> > I probably need to add is something to mail the cod

Re: merging cach_handler handler arg passing

2005-06-13 Thread Robert Story
On Mon, 13 Jun 2005 16:43:00 +0100 Dave wrote: DS> I propose that we make this change, and see how it turns out ok, done.. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie

Re: problems with compiling

2005-06-13 Thread Magnus Fromreide
On Mon, Jun 13, 2005 at 06:40:17PM +0530, amit wrote: > > hi, > i needied your help in compiling net-snmp , i m compling it on aix 5.1 > machine > after i run the configure script, no config.status is created and when i > run > make -f Makefile.in it gives the error > running config.status be

problems with compiling

2005-06-13 Thread amit
hi, i needied your help in compiling net-snmp , i m compling it on aix 5.1 machine after i run the configure script, no config.status is created and when i run make -f Makefile.in it gives the error running config.status because configure changed /usr/bin/sh: ./config.status: not found. ma

Re: launch external w/o close(1023..3)?

2005-06-13 Thread Magnus Fromreide
On Mon, Jun 13, 2005 at 03:55:31PM -0400, Robert Story wrote: > On Mon, 13 Jun 2005 13:49:49 +0200 Thomas wrote: > TA> while doing performance tuning for my net-snmp-based applications I > TA> noticed that launching external programs (exec/extend/traphandle) > TA> currently (5.3.dev) involves the

Re: compiling module; conflicting function names

2005-06-13 Thread Magnus Fromreide
On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > On Tue, 2005-05-31 at 18:31, Matthew Boehm wrote: > > > Renaming asterisk's function is out of the question, as is renaming > > snmpd's. How does one overcome this? > > I've just committed a patch to the main development tree, > that

Re: launch external w/o close(1023..3)?

2005-06-13 Thread Robert Story
On Mon, 13 Jun 2005 13:49:49 +0200 Thomas wrote: TA> while doing performance tuning for my net-snmp-based applications I TA> noticed that launching external programs (exec/extend/traphandle) TA> currently (5.3.dev) involves the brute-force approach TA> TA> close(1023) = -1 EBADF (Bad file

Re: 5.2.1: Tru64 Unix 5.1B build

2005-06-13 Thread Robert Story
On Mon, 13 Jun 2005 17:40:10 +0200 Thomas wrote: TA> A proposed README.tru64 has been added to Bug #1217509: committed -- Robert Story; NET-SNMP Junkie Support: Archive: You are lost in a twisty maz

RE: automated build/testing?

2005-06-13 Thread Bruce Shaw
>Also, if volunteers with permanent access to non-Linux hosts (Bruce, me, >who else?) could automate nightly builds/tests on those platforms as >well, this'd IMHO help portability a lot. I can do that. What I would need would be a multi-version CVS download script (I can probably do this myself

Re: merging cach_handler handler arg passing

2005-06-13 Thread Dave Shield
On Mon, 2005-06-06 at 17:38, Robert Story wrote: > On Mon, 06 Jun 2005 17:02:42 +0100 Dave wrote: > DS> What would actually break if the declaration was changed [to] > DS> netsnmp_handler_args *cache_hint; > DS> > DS> If anything is currently using this field, they must be casting > DS> it to

Re: 5.2.1: Tru64 Unix 5.1B build

2005-06-13 Thread Thomas Anders
Robert Story wrote: On Thu, 09 Jun 2005 17:01:56 +0200 Thomas wrote: TA> Do we already have documentation on the various "--with-out-mib-modules" TA> switches needed for the various not-so-well-supported platforms? If not TA> (yet), where should it be added? Most likely in a README.Tru64. A

Re: compiling module; conflicting function names

2005-06-13 Thread Dave Shield
On Tue, 2005-05-31 at 18:31, Matthew Boehm wrote: > Hi all. I am one of many side programmers for Asterisk, the open source > PBX. (www.asterisk.org) > I'm trying to bring this [SNMP] module up to date with our current version. > Asterisk supports lodable/unloadable modules. > But is seems to m

Re: 5.1.x configure needs update

2005-06-13 Thread Dave Shield
On Mon, 2005-06-13 at 14:39, Thomas Anders wrote: > while configure.in in 5.1.x (CVS) has been updated for strtok_r, > configure has not been re-generated, AFAICS. Please do. Your wish is my command, Oh Master... Now done. Dave --- This SF.

5.1.x configure needs update

2005-06-13 Thread Thomas Anders
-Coders, while configure.in in 5.1.x (CVS) has been updated for strtok_r, configure has not been re-generated, AFAICS. Please do. +Thomas' 5.1.x buildbot :-) -- Thomas Anders (thomas.anders at blue-cable.de) --- This SF.Net email is spons

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

2005-06-13 Thread Juan Perez
Hello, Thank you for this e-mail, the last friday, I downloaded the source code of net-snmp and could generate using Visual C++ 6.0 the following (.lib) files in the directory net-snmp\win32\lib: libsnmp.lib netsnmpagent.lib netsnmphelpers.lib netsnmpmibs.lib these files and the others h

Re: automated build/testing?

2005-06-13 Thread Tom Flavel
On 13/06/2005 09:50:01, Dave Shield wrote: > On Fri, 2005-06-10 at 18:27, Robert Story wrote: > > I build the 3 most recent branches on Linux x86 nightly, though > > I've recently been too busy to pay attention to the results. What > > I probably need to add is something to mail the coders list whe

launch external w/o close(1023..3)?

2005-06-13 Thread Thomas Anders
-Coders, while doing performance tuning for my net-snmp-based applications I noticed that launching external programs (exec/extend/traphandle) currently (5.3.dev) involves the brute-force approach close(1023) = -1 EBADF (Bad file descriptor) close(1022) = -1 EBADF (Bad file descri

Re: Redirect OID, it's possible?

2005-06-13 Thread Dave Shield
On Mon, 2005-06-13 at 10:47, Emmanuel Doguet wrote: > It's my case, if I want to redirect "logmatch" OID on my mib ... > I must found the name of the logmatch handler, right? ;) Right. See 'agent/mibgroup/ucd-snmp/logmatch.c' Note that this actually uses the old v4 API, so the registration is h

Re: Redirect OID, it's possible?

2005-06-13 Thread Emmanuel Doguet
Thanks, for this anwser. It's my case, if I want to redirect "logmatch" OID on my mib ... I must found the name of the logmatch handler, right? ;) bye bye. Dave Shield wrote: On Sat, 2005-06-11 at 16:12, Emmanuel Doguet wrote: Robert Story wrote: You can try using the sn

Re: rfc: optional config file processing enhancement

2005-06-13 Thread Dave Shield
On Sat, 2005-06-11 at 03:08, Robert Story wrote: > On Sat, 11 Jun 2005 00:56:48 +0200 Thomas wrote: > TA> Robert Story wrote: > TA> > snmpd -c +/home/bob/my.conf > TA> > > TA> > would cause my.conf to be processed before the default config files. > TA> > TA> At a first glance, I find that

Re: Redirect OID, it's possible?

2005-06-13 Thread Dave Shield
On Sat, 2005-06-11 at 16:12, Emmanuel Doguet wrote: > Robert Story wrote: > > You can try using the snmpd.conf proxy token to do this. Otherwise, try > > registering the existing handler with your custom OID. > > > How it's possible to register existing handler? > > In the 'netsnmp_create_handler

Re: How to downsize SNMP agent for embedded system

2005-06-13 Thread Dave Shield
On Mon, 2005-06-13 at 03:32, Jeffrey Lee wrote: > Does anyone have other idea to reduce the code size of the embedded > SNMP? Please see the FAQ entry How can I reduce the memory footprint? Dave --- This SF.Net email is sponsored by:

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

2005-06-13 Thread Dave Shield
On Fri, 2005-06-10 at 18:20, Robert Story wrote: > I should mentioned this earlier, and I don't know if this affects any of your > functions names, but we also agreed that naming based on 'class' before > 'functionality' was a good thing too. Yes - I remember. I had that principle in mind when ch

Re: automated build/testing?

2005-06-13 Thread Dave Shield
On Fri, 2005-06-10 at 18:27, Robert Story wrote: > I build the 3 most recent branches on Linux x86 nightly, though > I've recently been too busy to pay attention to the results. What > I probably need to add is something to mail the coders list when > it fails. Can I request that such output is *N