Re: error while compiling net-snmp with cygwin on win 2003 server

2005-08-18 Thread Alex Burger
taner memet ali wrote: Hi, i have downloaded the patch and copied it to the snmplib folder.Now there is another error: windres winservicerc.rc -DDL_EXPORT -DPIC -o .libs/winservicerc.lo winders: winservicerc.rc:1: syntax error make[1]: *** [winsrvicerc.lo] Error1 make[1]: Leaving directory '..

Re: error while compiling net-snmp with cygwin on win 2003 server

2005-08-18 Thread Andy Smith
It looks more like it has to do with your Perl install. My suggestion would be to try installing the Cygwin Perl. Alex is the resident Perl expert, maybe he has an idea. Andy taner memet ali wrote: Hi Andy, i just have compiled net-snmp 5.2.1.2 . i patched the code with the patches from Alex_

Re: rfc: library SONAME

2005-08-18 Thread Igor Brezac
On Thu, 18 Aug 2005, Robert Story wrote: On Thu, 18 Aug 2005 21:04:28 +0200 (CEST) Jochen wrote: JF> libnetsnmp.so.5.2 would be 5.2.x (x>1) and libnetsnmp.so.5.3 would be JF> 5.3.x, etc. Any idea on how to get libtool to do this? Best I could get was something like libnetsnmp5.2.so.5... I cou

Re: Restarting the Net-SNMP agent in a threaded environment.

2005-08-18 Thread Robert Story
On Tue, 16 Aug 2005 13:46:25 -0400 shuki wrote: SS> Hi all, I am evaluating porting the Net-SNMP (5.2.1) to a thread SS> environment platform. SS> Only one thread of SNMP agent will run at the time. SS> However stopping and starting the SNMP agent is a requirement. Then I suggest you either 1) a

Re: the source releases

2005-08-18 Thread Robert Story
On Thu, 18 Aug 2005 00:10:50 +0200 Thomas wrote: TA> Harrie Hazewinkel wrote: TA> > I just downloaded the last source tarbal. I noticed that TA> > all CVS parts are not there, but many .cvsignore files are TA> > still there. It would be nice if those are are stripped out. TA> TA> Agreed. Wes/Rober

Re: rfc: library SONAME

2005-08-18 Thread Robert Story
On Thu, 18 Aug 2005 21:04:28 +0200 (CEST) Jochen wrote: JF> libnetsnmp.so.5.2 would be 5.2.x (x>1) and libnetsnmp.so.5.3 would be JF> 5.3.x, etc. Any idea on how to get libtool to do this? Best I could get was something like libnetsnmp5.2.so.5... I couldn't get libtool to generate to x.y SONAME...

Re: Help on Persistent file...

2005-08-18 Thread Thomas Anders
Rav wrote: Please let me know what are the settings (i.e environment settings) I should make so that these 2 snmpd process run on the same linux box and each process gets different snmpd.conf files and run. See http://www.freesnmp.com/net-snmp/faqs/#persistmulti +Thomas -- Thomas Anders (th

Re: rfc: library SONAME

2005-08-18 Thread Thomas Anders
Dave Shield wrote: TA> Otherwise, shall we rather use an SONAME like "libnetsnmp.so.5." TA> (e.g. libnetsnmp.so.5.2) and thus require applications to relink when TA> upgrading from 5.x to 5.y? Ummm... I'm not sure I fully understand the ramifications of such a decision, but it probably sounds

Re: the source releases

2005-08-18 Thread Thomas Anders
Harrie Hazewinkel wrote: I just downloaded the last source tarbal. I noticed that all CVS parts are not there, but many .cvsignore files are still there. It would be nice if those are are stripped out. Agreed. Wes/Robert, should this go into ./remove-files or be fixed somewhere else? +Thoma

RE: rfc: library SONAME

2005-08-18 Thread Jochen Friedrich
Hi Dave, > I can sort-of see an argument for distinguishing the 5.2.x line, > given this is still being actively maintained. But 5.1.x is > basically winding down, and 5.0.x is completely closed. So I'm > unconvinced that it's worth distinguishing between the two at > this late stage. I would a

Re: how to send context name in a v3 trap

2005-08-18 Thread madanagopal
On Sat, 11 Dec 2004, Wes Hardaker wrote: > > On Tue, 16 Nov 2004 18:37:56 +0530 (IST), madanagopal <[EMAIL > > PROTECTED]> said: > > If it is the case, can i do the following steps to send a v3 trap with > different contexts: > > 1. Create a session using snmp_sess_init(session) and fill

Re: error while compiling net-snmp with cygwin on win 2003 server

2005-08-18 Thread Andy Smith
taner memet ali wrote: hi, i'm a complete newbie to net-snmp. i try to compile it since yesterday but there is always the same error: make: *** No rule to make target 'winservicerc.lo', needed by 'libnetsnmp.la' . Stop. make[1]: Leavingdirectory '/cygdrive/d/net-snmp/snmplib' make: *** [subd

cache handler and table iterator

2005-08-18 Thread Anthony Novatsis
Hello all, I know it is possible to use the cache and the table iterator handlers. However, I would like to know whether it is possible to retrieve the netsnmp_cache structure within the get_first_data_point function (without the use of a global variable ;) in order to access the loaded cache dat

row merge

2005-08-18 Thread Anthony Novatsis
Hello all, Is it possible to use the row merge handler together with the table iterator helper. I would like the requests for a particular row of the table to sent together to the bottom handler so that the information for each cell in particular row can be retrieved in a single call to the handl

net-snmp for Tcl

2005-08-18 Thread Steve Malenfant
I've came accross net-snmp-tcl at sourceforge a few years ago, that worked well in Windows for a while (using ucd-snmp 4.2.6). But now I need to port my TCL scripts to Linux and I need to build net-snmp for Tcl. I've done a fairly good job doing so far, but I've hit some major road block and they

Implementing MODE_SET_XXX in mib2c.scalar.conf template

2005-08-18 Thread Emi . Yanagi
I finished implementing tables in BRIDGE-MIB and started implementing scalar objects. After generated mib2c template using mib2c.scalar.conf, I've got GET request work correctly for dot1dStpPriority. Now I have question about implementing SET request, what exactly I need to do in MODE_SET_RESERVE2

Alan Anderson is out of the office from Dec 23 - Jan 3

2005-08-18 Thread Alan . Anderson
I will be out of the office starting 08/17/2005 and will not return until 08/19/2005. I will respond to your message when I return. --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco,

Help on Persistent file...

2005-08-18 Thread Rav
Hi,   What is meant by persistent file? I want to run 2 snmpd processes, ofcourse with different port numbers in the same linux box. I have one snmpd.conf in /etc/snmp/snmpd.conf for the first snmpd process. I have second snmpd.conf in /home/rav/snmpd.conf for the second snmpd process.   Please let

Re: error while compiling net-snmp with cygwin on win 2003 server

2005-08-18 Thread taner memet ali
Hi, i have downloaded the patch and copied it to the snmplib folder.Now there is another error: windres winservicerc.rc -DDL_EXPORT -DPIC -o .libs/winservicerc.lo winders: winservicerc.rc:1: syntax error make[1]: *** [winsrvicerc.lo] Error1 make[1]: Leaving directory '.../snmplib/' i really ne

using MRTG monitor CPU load

2005-08-18 Thread [EMAIL PROTECTED]
   Thanks all for your warmhearted helps about snmpset, i have understood that command much better.  As to the problem about "can't open udp point ",  i have tried  to shut down , unregister, register,and this error didn't occur any more. I felt strange.  Now i have a problem about MRTG.  I succeed