Re: Need help regarding snmptrapd.conf

2005-01-27 Thread Alex Burger
It works fine but iam sure we have a better way of doing it !!! can u pls suggest me how do we directly pass the arguments to my Perl program ?? Thanx in advance regards , rajasekaran C

Re: snmptrapd on windows

2005-01-28 Thread Alex Burger
Hi Mayuresh. Did you install the Windows binary or compile yourself? There is a binary for 5.2.1 available. Alex Mayuresh Dhagamwar wrote: Hello, I want to test using net-snmp-5.1.1. I hv isntalled the windows version of this. I do not see any snmptrapd for receiving traps. How do I receive

Re: Perl Module SNMP - set,get,fget,... regex bug

2005-02-06 Thread Alex Burger
s ok I'll put it in. Hopefully I can discover quickly why I made the change in the first place! Thanks Alex Cheers, -m On Tue, Nov 16, 2004 at 09:45:11PM -0500, Alex Burger wrote: Hi Max. Your break down of the regex should help me figure out why I changed it. I'll let you know what I fi

Re: Perl Module SNMP - set,get,fget,... regex bug

2005-02-07 Thread Alex Burger
Hi Max. Max Baker wrote: Alex, On Sun, Feb 06, 2005 at 09:11:24PM -0500, Alex Burger wrote: Sorry, I forgot all about it.. Can you please submit a patch to the patch repository? I can then do some testing and if it's ok I'll put it in. Hopefully I can discover quickly why I made the

Re: IPv6 on Windows [not Linux]

2005-02-16 Thread Alex Burger
Robert Story wrote: On Tue, 15 Feb 2005 19:49:20 -0800 Srini wrote: Ok, so apparently the windows binary doesn't include IPv6 support. You'll have to build your own. Hopefully our windows gurus can speak up as to why this is so. Windows XP with service pack 1 includes a production quality version o

Re: IPv6 on Windows [not Linux]

2005-02-20 Thread Alex Burger
Robert Story wrote: On Wed, 16 Feb 2005 09:24:23 -0500 Alex wrote: AB> Windows XP with service pack 1 includes a production quality version of AB> IPv6. There is IPv6 support before sp1, but it is not considered AB> production quality. Well, that's a good enough reason not to put it in our bina

Re: Developing in NET-SNMP

2005-03-21 Thread Alex Burger
Rudinei Dias wrote: Hello ALL! With the objective to develop of an agent SNMP, which they are the correct steps for the installation and the configuration of environment NET_SNMP in linux (debian)? Which files must be installed and where order? How I must configure to accept SNMPSET for an agent

Re: How to prevent line wrapping of hex data?

2005-03-25 Thread Alex Burger
I knew there was a way to do this, but I couldn't remember the details. After some searching I found that 5.2 has an "snmp.conf" directive "hexOutputLength" which you can use to set where to break the line. Setting it to 0 will have it print everything on one line. It doesn't look like the docs we

Re: How to prevent line wrapping of hex data?

2005-03-25 Thread Alex Burger
I knew there was a way to do this, but I couldn't remember the details. After some searching I found that 5.2 has an "snmp.conf" directive "hexOutputLength" which you can use to set where to break the line. Setting it to 0 will have it print everything on one line. It doesn't look like the docs

Re: Problem running snmpget

2005-03-31 Thread Alex Burger
Hi Shobana. Shobana Sampath wrote: Hi, I tried running snmpget and got timeouts. You probably don't have a rocommunity line in your snmpd.conf file. So, I tried to use the following command: [d:\net-snmp-5.2.1\bin]snmpconf -g basic_setup Not enough arguments for mkdir at D:\net-snmp-5.2.1\bin\snmpc

Re: Fwd: Re: Problem running snmpget

2005-03-31 Thread Alex Burger
SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public setserialno 12151 engineBoots 1 oldEngineID 0x80001f8880467c05fb4a42 Did you install Net-SNMP using the binary installer? Alex Thanks. /Shobana --- Alex Burger &l

Re: SNMP.pm missing functionality - oid increasing

2005-04-01 Thread Alex Burger
Hi Austin. Austin Schutz wrote: I sent this to the list a few weeks ago w/out any response. Is there a specific person/group responsible for the perl stuff I should be contacting? This is the correct list. There are less people familar with the Perl modules than the main package, and the

Compiling with MinGW & Cygwin

2005-04-05 Thread Alex Burger
Hi Andy. When compiling main under MinGW, it stops with: table_dataset.c: In function `netsnmp_config_parse_table_set': table_dataset.c:832: called object is not a function make[2]: *** [table_dataset.lo] Error 1 make[2]: Leaving directory `/work/agent/helpers' I was able to work around it by modif

Re: Fw: interesting win patch

2005-04-05 Thread Alex Burger
Andy Smith wrote: Alex Burger wrote: Hi Andy. Andy Smith wrote: Alex Burger wrote: I think it's time to add an MSVC define so we can easily tell the difference between cygwin, mingw and MSVC as all three define WIN32. I would be more inclined to do something like a WIN32_SDK. For the most

Re: Compiling with MinGW & Cygwin

2005-04-08 Thread Alex Burger
Hi Andy. Andy Smith wrote: Could you please make the change below to net-snmp-config.h.in? It might be best to wrap it in an #ifdef WIN32 or #ifdef mingw32. It's in. I checked for mingw32 as it is not needed for Cygwin, and MSVC doesn't use the file. Alex Andy Alex Burger wrote: Hi

Windows WIN32, cygwin and mingw defines

2005-04-11 Thread Alex Burger
Hi Andy. I was under the impression that MinGW and Cygwin both natively defined WIN32 like MSVC. I just did a quick check, and only MinGW defines it. I tried modifying configure.in so -DWIN32 is added to the CFLAGS when Cygwin is detected, but then the compile stops with: ../include/net-snmp/l

Re: Problem with mib2C

2005-04-14 Thread Alex Burger
Hi. [EMAIL PROTECTED] wrote: As directed by the message, I installed the perl module "ActivePerl-5.8.6.811-MSWin32-x86-122208" and then followed the instructions given in the README file. When I tried to run the nmakeperl I always keep getting the following errors: NMAKE : fatal error U1077: 'c

Re: Problem with mib2C

2005-04-15 Thread Alex Burger
eply. I did use the build.bat to compile the main package and it builds the Main Package successfully. After running the build.bat when I run the nmakeperl I get the following problem. Thanks - Akshatha -Original Message----- From: Alex Burger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 1

Re: Problem with mib2C

2005-04-15 Thread Alex Burger
Move the source code to a folder that does not contain a space in the name. You are compiling from "C:\Documents and Settings" which will not work. Yes, this should be documented, but I don't think it is. Alex [EMAIL PROTECTED] wrote: No luck. It gave me the same problem again when I did the c

Re: Problem with mib2C

2005-04-15 Thread Alex Burger
Robert Story wrote: On Fri, 15 Apr 2005 09:21:58 -0400 Alex wrote: AB> Move the source code to a folder that does not contain a space in the AB> name. You are compiling from "C:\Documents and Settings" which will not AB> work. Is there a standard windows equivalents to grep that we could use to

Re: Error while Configure on win32

2005-04-19 Thread Alex Burger
[EMAIL PROTECTED] wrote: Hello I am trying to compile the example mib module from the net-snmp toolkit section into the Master Agent on Windows. But while running the Configure script i.e. ‘perl Configure –with-mib-modules )’ I get an error saying “Can't exec /bin/sh at Configure line 1.” I get

Re: FW: Net-snmp winsock build errors on Cygwin

2005-04-26 Thread Alex Burger
Hi. I answered your message in the users forum and provided a couple of patches. Alex Roberts, Allison R. wrote: Hello, I know we're not supposed to double post between the users and coders mailing list, but I'm still hoping someone has seen this problem -- thanks! I will add that I am using gcc 3.

Re: Windows WIN32, cygwin and mingw defines

2005-04-26 Thread Alex Burger
nd Cygwin do not require the Platform SDK as they both contain most if not all of the functionality provided by the SDK. When adding code that requires the PSDK under MSVC, the following can usually be used: #if defined (HAVE_WIN32_PLATFORM_SDK) || defined (mingw32) ||

Re: Windows WIN32, cygwin and mingw defines

2005-04-30 Thread Alex Burger
Robert Story wrote: On Tue, 26 Apr 2005 21:34:57 -0400 Alex wrote: AB> If there are no objections, I would like to clean up the ifdefs for AB> WIN32, mingw and cygwin and document it as: Sounds ok to me. As long as it's ok with Andy (and any other win32 users lurking out there), go for it. I have

Re: Compiling Net-SNMP with Mingw based Bloodshed Dev-C++?

2005-05-03 Thread Alex Burger
Ekkehard Domning wrote: Hello, while I was able to compile net-snmp with M$C and cygwin, I had no success with compiling with Mingw based Bloodshed Dev-C++. The compiler stops in net-snmp-config.h (Line 1540) 1540 D:\Misc\net-snmp-5.2.1\win32\net-snmp\net-snmp-config.h syntax error before "uint32

Patch 1153271 - pass_persist under Windows

2005-05-03 Thread Alex Burger
I have applied patch 1153271 to main which gives pass_persist support under Windows when compiled with MSVC. For some reason it does not work when compiled with MinGW, so I have disabled it for MinGW until a fix is found. I think there is an issue with the input pipe under MinGW that causes t

snmp.conf persistentDir not working on Linux and Windows

2005-05-03 Thread Alex Burger
While going through the bug database I came across '[ 996834 ] Setting persistentDir in Windows broken'. After some testing I found that this bug also exists under Linux (5.2.1). The persistentDir snmp.conf token is supposed to allow you to change the location of the persistent folder. It doe

Re: snmp.conf persistentDir not working on Linux and Windows

2005-05-04 Thread Alex Burger
Dave Shield wrote: On Wed, 2005-05-04 at 03:01, Alex Burger wrote: Is it possible to change the order so that snmp.conf is searched first so that persistentDir is correctly set before trying to load the persistent file? You could try tweaking the "persistentDir" registration so th

Re: snmp.conf persistentDir not working on Linux and Windows

2005-05-04 Thread Alex Burger
Dave Shield wrote: On Wed, 2005-05-04 at 16:07, Alex Burger wrote: I can see the thinking behind this approach, but I'm not convinced that it's correct. In particular, someone might well be deliberately using SNMPCONFPATH in order to avoid loading the "normal" config files.

Re: snmp.conf persistentDir not working on Linux and Windows

2005-05-04 Thread Alex Burger
Wes Hardaker wrote: If people want files to be read, the must properly set SNMPCONFPATH. If they didn't include some directory in that path its probably intentional. It'd be like your shell deciding to never let you wipe out the PATH variable with something of your choosing and always appending wh

Re: snmp.conf persistentDir not working on Linux and Windows

2005-05-05 Thread Alex Burger
Attached is a patch that does the following: -Fixes snmp.conf persistentDir by changing it to premib. With this change, any createUser tokens are read at startup and the persistent file will be updated with a usmUser at shutdown. -Config file defined by SNMP_PERSISTENT_FILE is now read. From w

Re: snmp.conf persistentDir not working on Linux and Windows

2005-05-06 Thread Alex Burger
Alex Burger wrote: -Config file defined by SNMP_PERSISTENT_FILE is now backed up and purged before writing so it doesn't continiously grow. Previously, the file would keep getting bigger and bigger. Actually, it wasn't even being backed up at all as the backup code didn&#

Re: read_config_store open failure

2005-05-09 Thread Alex Burger
Andreas Ericsson wrote: Ahoy. List newbie here. I've run into the exact same problem the user over at http://www.manucorp.com/archives/php-bugs/200504/msg00325.php seems to have encountered (running php with snmp enabled as module). After For the next question, we need to look at the output a b

Re: Error starting snmptrapd

2005-05-09 Thread Alex Burger
Shobana Sampath wrote: Hi, I am trying to execute snmptrapd on Windows and get the following error. I do not have any other process listening orbinding to port 162. Thanks. /Shobana [d:\net-snmp-5.2.1\bin]snmptrapd -m ALL -d ... Starting snmptrapd 5.2.1 couldn't open udp:162 -- errno 2 ("No such fi

Re: Error starting snmptrapd

2005-05-09 Thread Alex Burger
What does this give: snmptrapd -Dnetsnmp_udp -Lo -M all -d and if you try using a different port such as : snmptrapd -Dnetsnmp_udp -Lo -M all -d 0.0.0.0: Alex Shobana Sampath wrote: netstat -a |find "162" returns nothing. I am logged in as myself, but my loginid is part of the local admin

Re: Error starting snmptrapd

2005-05-09 Thread Alex Burger
Shobana Sampath wrote: What does this give: snmptrapd -Dnetsnmp_udp -Lo -M all -d This gave me the same error as previously. and if you try using a different port such as : snmptrapd -Dnetsnmp_udp -Lo -M all -d 0.0.0.0: I was able to start the trap daemon with the above command. Can I ass

Re: Error starting snmptrapd

2005-05-09 Thread Alex Burger
How did you install Net-SNMP? From the Windows installer (net-snmp-5.2.1-1.win32.exe) or did you compile from source? Alex --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great

Re: Error starting snmptrapd

2005-05-09 Thread Alex Burger
Shobana Sampath wrote: It now receives the PDU but says: Cannot find TrapOID in TRAP2 PDU What did you use to send the test trap? If you used snmptrap, what was the command you used? I did not use snmptrap to send the trap, I am using my own SNMP server application for our product. I placed the c

Re: Error starting snmptrapd

2005-05-13 Thread Alex Burger
Shobana Sampath wrote: It now receives the PDU but says: Cannot find TrapOID in TRAP2 PDU What did you use to send the test trap? If you used snmptrap, what was the command you used? I did not use snmptrap to send the trap, I am using my own SNMP server application for our product. I placed the c

Re: Compiling Net-SNMP with Mingw based Bloodshed Dev-C++?

2005-05-18 Thread Alex Burger
Hi Ekkehard. Ekkehard Domning wrote: -MinGW with MSYS using configure I will check this. I would like to use Bloodshed, because is has an IDE etc. Meanwhile I solved the problem from my first post, but found new problems :-( To solve the problem > 1540 D:\Misc\net-snmp-5.2.1\win32\net-snmp\net-s

Re: security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Alex Burger
Hi Thomas. How about using Perl's mkstemp() instead? It is part of File::Temp. http://perldoc.perl.org/File/Temp.html Alex Thomas Anders wrote: -Coders, I've proposed a fix for the fixproc security issue reported as bug 1203376: http://sf.net/tracker/index.php?func=detail&aid=1203376&grou

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

2005-06-02 Thread Alex Burger
Hi Juan. Juan Perez wrote: Hello, I downloaded the net-snmp-5.2.1-1.win32.exe and works perfectly (including mib2c), but I didn't find the libraries and (include files) for compiling, for example the files that I can't find are : You will need to download the source file (net-snmp-5.2.1.tar.g

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

2005-06-08 Thread Alex Burger
Wes Hardaker wrote: On Thu, 02 Jun 2005 18:40:59 -0400, Alex Burger <[EMAIL PROTECTED]> said: We should consider making a development exe too for people that want a full installation so they can use the libraries... There is probably enough users that want to do that to warrant creat

Re: is it possible to integrate an Net SNMP sub agent(.dll) withMicrosoft SNMP service ?

2005-06-15 Thread Alex Burger
Penz, Bernhard wrote: On Wed, 2005-06-15 at 12:11, mahua dutta wrote: Yes, I want to mean a mechanism for running the Net-SNMP agent as a dynamically loaded extension to the Microsoft master agent(snmp.exe) However, if you just want to access Windows-specific MIB-stuff via SNMP and also net-

Re: is it possible to integrate an Net SNMP sub agent(.dll) withMicrosoft SNMP service ?

2005-06-23 Thread Alex Burger
Hi. I just finished putting it together. Sorry to take so long. I'm not sure why I'm not receiving your emails. The agent (SNMP Proxy for Windows) is available at: http://www.fragit.net/snmppfw/ Please let me know how it goes. The .zip includes instructions on setting it up. Thanks A

Re: Win32 changes for Ethereal?

2005-07-02 Thread Alex Burger
Hi Thomas. > the Ethereal Win32 binary is built against net-snmp 5.1.2, currently: > http://anonsvn.ethereal.com/viewcvs/viewcvs.py/trunk/packages/?root=Ethereal+Windows+Libraries > > They've added the attached README.ethereal which explains a little build > fix they've done for Win32. > > Can ou

Re: Porting Net-SNMP from Linux to windows

2005-07-02 Thread Alex Burger
> The steps given in Readme.win32 for compiling net-snmp in windows is a > bit confusing for me. Does anyone could help me the list of steps to > be executed for making the net-snmp package to > configure in windows? There are many ways to compile using Windows, but the easiest is with the build.b

Re: Win32 changes for Ethereal?

2005-07-02 Thread Alex Burger
> HAVE_SOCKLEN_T define. They should be able to compile without any changes > for 5.1.3. It didn't make it in to 5.1.3. It will be there for 5.1.4. Alex --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. F

Re: Doubt on Net-SNMP Configure environment

2005-07-07 Thread Alex Burger
aakansha rajvi wrote: Can I use Watcom C++ instead of VC++? Will it be compatible to work with net-snmp? I have never used Watcom C++, but if it can load (or convert) the MSVC project files then I don't see why it wouldn't work. Win32\win32sdk.dsw (or win32.dsw without the PSDK) contains all

Re: net-snmp-5.2.1 make fails in cygwin

2005-07-20 Thread Alex Burger
aakansha rajvi wrote: I am trying to configure net-snmp-5.2.1 in cygwin 1.5.18-1. But I am facing problem while installing snmp perl modules both if installed seperately or alone with net-snmp ./configure script. I'm not sure if the Perl modules will compile with ActiveState Perl under Cygwin.

Re: make perl error on winxp , need your help! thx

2005-07-22 Thread Alex Burger
Hi. Are you trying to compile Net-SNMP 5.1.2? Alex [EMAIL PROTECTED] wrote: > > hi all, > glad to see u! i'm new here. > i have finished building win32.dsw and libsdll.dsw in \win32,and then > use \win32\nmakeperl.bat to make perl modules,the error came as: > "Nmake : fatal error U1077:'link

Re: make perl error on winxp , need your help! thx

2005-07-24 Thread Alex Burger
[EMAIL PROTECTED] wrote: > Thank u very much,Alex! > > Yeah,i'm trying to compile net-snmp-5.2.1.2 on win32. I had a problem compiling the Perl modules after compiling the DLL using the MSVC Workspace, but I did not have the same errors you had. I had problems with the TrapReceiver Perl module,

Re: net-snmp nmake failed on windows in VC++ environment

2005-08-10 Thread Alex Burger
aakansha rajvi wrote: I am Installing net-snmp 5.2.1 under windows in VC++ environment. Output of nmake is as follows.. cl.exe /nologo /MD /W3 /GX /O2 /I "." /I ".." /I "..\..\snmplib" /I "..\ .." /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp".\rel ease\lib

Re: how to get OIDs to MRTG

2005-08-16 Thread Alex Burger
Thomas Anders wrote: > [EMAIL PROTECTED] wrote: > >>I use this command in net-snmp: snmpget -v 2c -c private localhost >>ssCpuRawUser.0 >>The answer is: UCD-SNMP-MIB::ssCpuRawUser.0=No Such Object available on >>this agent at this OID. >>So ,what is the wrong? what should i do? > > > It is pro

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: net-snmp nmake failed on windows in VC++ environment

2005-08-22 Thread Alex Burger
> I am installed VC ++ 6.0. But I am not able to install PSDK from the > URL given in the readme.win32. I am confused about how to download and > install PSDK. > > Can anyone help me on this? Microsoft may have removed the download for the older SDKs. It looks like you can still order the older o

Re: I have a problem with using "snmpdelta" command in Windows platform(XP,2000).

2005-08-22 Thread Alex Burger
Hi. This has been fixed for future releases. A patch is available in the bug report at: http://sourceforge.net/tracker/?group_id=12694&atid=112694&func=detail&aid=1244200 Alex 郭宏達 wrote: > Dear Sir, > > I have a problem with using "snmpdelta" command in Windows > platform(XP,2000). > that

Re: Issues in using net-snmp5.2.1(compiled in linux) in windows

2005-08-25 Thread Alex Burger
aakansha rajvi wrote: I have net-snmp 5.2.1 configured in linux. I have my private MIBS also and it also got configured in linux. I executed 'make distclean' to install the same package in windows. Now, I am trying to install the same setup in windows with VC++. But I am getting some errors. I

Re: How do I compile my mib in windows environment using VC++.

2005-08-25 Thread Alex Burger
aakansha rajvi wrote: Intially, I used my compiled MIBS under linux and included in netsnmpmibs. Since there are some conflcts, I decided to compile my MIB freshly in windows environment. How do I compile my mib in windows environment using VC++? I installed netsnmp and placed my mibs in c:\u

Re: Problem in Installing Perl module on Net-SNMP

2005-08-25 Thread Alex Burger
Jyoti Yaduwanshi wrote: Hi, I am working on Net-SNMP 5.0.8 version. I had already installed perl module to run mib2c on cygwin. It was working fine. I just modified SNMP.xs file and then tried to compile perl. Error given below started coming up. I don't know if the Perl module compiled under C

Re: VC compile errors

2005-09-22 Thread Alex Burger
mark kaplun wrote: While compiling the 5.2.2.pre1 source, I have run into a compilation error in snmp_client.c line 37. The compiler complains that the term "long long" is illeagal, and actually by VC documentation 64 bits integers should be declared as __int64. So instead of els

Re: 5.2.2.pre3 published

2005-10-05 Thread Alex Burger
> I uploaded 5.2.2.pre3 earlier today. Last time I mentioned that rc1 > was going to be this Friday. However, due to recent discussion I'm > now calling for votes on the upcoming schedule to follow. Pick from 1 > or 2 if you want to express an opinion. I vote for #2. The main code in pre2 buil

Re: embedded perl support broken in 5.2.2.* and main

2005-11-03 Thread Alex Burger
Wes Hardaker wrote: On Wed, 02 Nov 2005 13:57:23 +, Dave Shield <[EMAIL PROTECTED]> said: However, I've analyzed the patch extensively (having wrote it) and it's very self-contained. The patch to snmp_perl.c is trivial because that file is only complied if turned on in the first place. The

Re: snmpnetstat for 5.2.2

2005-11-06 Thread Alex Burger
Dave Shield wrote: On Tue, 2005-11-01 at 13:41 -0700, Bruce Shaw wrote: A status check on that work: I've been looking at the main three *BSD distributions, which (for the most part) use fairly similar code, though there are some (occasionally significant) differences between them. I've no

Re: snmpnetstat for 5.2.2

2005-11-07 Thread Alex Burger
Dave Shield wrote: On Sun, 2005-11-06 at 23:23 -0500, Alex Burger wrote: I have done some testing with Windows and found that the new snmpnetstat does not compile. 1. the variable 'interface' is generating an error in MSVC. 2. __progname in main.c is undefined. Should this be de

Re: Monitoring processes on Windows 2000 using Net SNMP running on Cygwin - Spaces in Path Problem

2005-11-18 Thread Alex Burger
Mark wrote: I haven't tried walking the hrSWRunTable and might try this. What I really wanted to do though was use proc in conjunction with the monitor command in order for the agent to generate rising and falling alarms when a Windows process dies/starts (flagged when prError becomes 0/1) and re

Re: rfc: maintaining the 'dist' dir

2005-11-29 Thread Alex Burger
Thomas Anders wrote: Also, I'm still open for comments on "win32/dist" which we also ship with the source. It looks odd (to me) to clean up "dist" and still ship "win32/dist" as-is. We don't need to ship it with the source. It is only used for creating the binary release. I can use the file

Re: Patch for hrSystemUptime and Cygwin.

2006-01-31 Thread Alex Burger
Dave Shield wrote: On Tue, 2006-01-31 at 02:31 +0100, Maik Broemme wrote: Modern recent builds of Cygwin (currently i am using Cygwin 1.5.19.4) has legacy support for '/proc/uptime' which the get_uptime() function uses under linux. I'm a little concerned by that

Re: Compile issues

2006-01-31 Thread Alex Burger
Javier Torres wrote: Ok, So when compiling under FC2 I had no issues. On configure I chose the following options: sudo ./configure --with-mib-modules=agentx --with-perl-modules Then I compiled on each platform. FC2 worked no issues and cygwin had the following error: How old is your Cygwin i

Re: snmptrapd issue (v5.3)

2006-02-02 Thread Alex Burger
Nicolas GUILLOT wrote: snmptrapd -Dusm No log handling enabled - turning on stderr logging registered debug token usm, 1 usmUser: created a new user myuser at 01 02 03 04 05 NET-SNMP version 5.3 select: No such file or directory 2006-01-11

Re: PSDK downloadable

2006-02-08 Thread Alex Burger
> Hi > I want to download PSDK .I am not able to locate Core SDK that is > mentioned > in the site given in > http://net-snmp.sourceforge.net/docs/README.win32.html > .Can you suggest me the exact PSDK that i have to download. > Thanks in advance > Vishakha A search for 'psdk download' at msdn.mic

Re: PSDK downloadable

2006-02-09 Thread Alex Burger
> On Wed, 2006-02-08 at 14:13 -0500, Alex Burger wrote: >> > I want to download PSDK .I am not able to locate Core SDK that is >> > mentioned in the site given in >> > http://net-snmp.sourceforge.net/docs/README.win32.html > > >> A search for 'psdk

Re: with-mib-modules on win32 ??

2006-02-26 Thread Alex Burger
Mozes Giora-BGM030 wrote: Hi All, I'm trying to compile net-snmp with new MIB modules on win32. When running perl Configure *--with-mib-modules*="nstAgentModuleObject XXX YYY" --config=debug --linktype=dynamic --prefix="c:/usr" --enable-shared=PKGS I get the following indications: Unknown o

Perl module compile issues in 5.3.1.rc1 for Linux & Windows

2006-06-25 Thread Alex Burger
I have applied some patches to the Perl modules in V5-2-patches and main. I would like to apply them to 5.3.1.rc1 but we need to vote on it. The changes are: Windows only: -Skip version check for Win32 MSVC. Windows does not have a net-snmp-config script. All platforms: -added TrapReceive

Re: Windows oddities

2006-06-30 Thread Alex Burger
Dave Shield wrote: > Dave Shield wrote: > >> While testing the udpTable fixes under MinGW and Cygwin, I came across >> a couple of further problems, as follows: >> > [snip] > >> I'm sure there was another problem, but it escapes me >> > Found it. > Compiling the new 'snmpnetstat' utility un

Re: Windows oddities

2006-07-01 Thread Alex Burger
Dave Shield wrote: > Alex Burger wrote: > >> Can you send me a patch so I can test it with MSVC? If it works with >> MSVC and MinGW and it fixes Cygwin then I see no reason not to apply >> your changes. >> > Attached No issues compiling with MSVC 6. Alex

Segfault in snmptrapd - 5.1.2 and 5.3.0.1

2006-07-13 Thread Alex Burger
Under 5.1.2 in RHEL4 (latest as of today using up2date), snmptrapd segfaults after running for a short time (maybe around 10 minutes). I removed the 5.1.2 RPMs and compiled 5.3.0.1 and I am still getting the same problem. I have not tried 5.3.1.rc4 yet. Here is the back trace after receiving

Re: 5.3.1 released. mostly.

2006-07-15 Thread Alex Burger
I would go with #3 as there are no changes to the source. Alex Wes Hardaker wrote: > I've published 5.3.1 and will make a formal announcement to the > -announce list a bit later. The one issue with it is that I blew the > generation of the NEWS file. There is now a new NEWS file in CVS in > t

Re: AgentX development on Windows

2006-09-07 Thread Alex Burger
Jaya Joseph -X (jajosep - Infosys at Cisco) wrote: > I am trying to create the subagent using the AgentX architecture of > Net-SNMP. I am able to create the stub files using the mib2c command, > however while going through the code and later compiling I see a whole > lot of errors. > > I see t

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Alex Burger
> On Tue, 19 Sep 2006 00:12:37 +0200 Thomas wrote: > TA> > WH> Robert> If so, would could use a new token, or require an extra > TA> > WH> Robert> parameter to turn on partial matching. But I couldn't > think > TA> > WH> Robert> of any off the top of my head. I vote for oid.*. Alex ---

Re: how snmpd handles trap ?

2006-10-03 Thread Alex Burger
mahua dutta wrote: > I have inmplented one mib, which basically monitors > business application. snmp sub-agent sends a Trap when > even business application goes down. I do not know > what snmpd do with that trap. Now some other NMS > application need to handle that trap and as an action > wants

netsnmp_register_handler and get / getnext requests

2006-10-15 Thread Alex Burger
My extension has registered .1.3.6.1.2.1.2 using netsnmp_register_handler. The extension also supports .1.3.6.1.2.1.4, but this OID has not been registered. If I do an snmpget .1.3.6.1.2.1.4.1.0, it fails with: Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Fa

Re: netsnmp_register_handler and get / getnext requests

2006-10-15 Thread Alex Burger
I forgot to mention that it's with 5.3.1. Alex Alex Burger wrote: > My extension has registered .1.3.6.1.2.1.2 using > netsnmp_register_handler. The extension also supports .1.3.6.1.2.1.4, > but this OID has not been registered. > > If I do an snmpget .1.3.6.1.2.1.

Re: Trap processing

2006-10-18 Thread Alex Burger
Dave Shield wrote: > On 18/10/06, Patai Tamás <[EMAIL PROTECTED]> wrote: >> Receive traps (for example with snmpd) then process the trap (by modifying >> snmptrapd) and get the variables of the MIB from the trap and store them for >> further processing. > > You should be able to do this by registe

Re: SNMPv3 - problem with auth/encr sessions with Perl module

2006-10-19 Thread Alex Burger
ML wrote: > Dnia poniedziałek, 9 października 2006 18:58, ML napisał: > > It looks like there's some strange variable visibility problem here > (threads?). I'm not sure of the exact cause of this, because I don't know the > architecture of Net-SNMP as a whole, but the following dirty-hacky patch

rfv: NETSNMP_ prefix missing in Windows file

2006-10-25 Thread Alex Burger
When the Net-SNMP defines were changed to use the NETSNMP_ prefix, one was missed in win32/net-snmp-config.h which prevents applications from using SSL. I will apply the following patch to main. Alex Index: net-snmp-config.h ===

Re: rfv: NETSNMP_ prefix missing in Windows file

2006-10-25 Thread Alex Burger
Dave Shield wrote: >> /* If you have openssl 0.9.7 or above, you likely have AES support. */ >> -/* #undef USE_OPENSSL */ >> +/* #undef NETSNMP_USE_OPENSSL */ >> >> #ifdef USE_OPENSSL > > What about that last line of the context? Should that have the NS > prefix too? Yes, it should. Thanks

RFV: Enable & fix library DLL support for Windows

2006-10-26 Thread Alex Burger
I would like to enable DLL support for the applications including snmpd and snmptrapd. We currently only support using the library DLL when building the Perl module. After some research and testing, it appears that the applications work fine with the library DLL and there doesn't seem to be

Re: RFV: Enable & fix library DLL support for Windows

2006-10-26 Thread Alex Burger
Steve Friedl wrote: > On Thu, Oct 26, 2006 at 08:11:42AM -0400, Alex Burger wrote: >> I would like to enable DLL support for the applications including snmpd >> and snmptrapd. We currently only support using the library DLL when >> building the Perl module. > But may

Re: rc1 on friday or saturday or ...?

2006-10-26 Thread Alex Burger
Wes Hardaker wrote: > The last week or so has been relatively stable and I'd like to release > a rc1 on the 27th - 29th or so (patch proposals being the biggest > thing to wait for). thoughts? I would like to apply the DLL changes (RFV: Enable & fix library DLL support for Windows) for RC1 but

Linux Perl modules - make test fails

2004-06-07 Thread Alex Burger
With 5.1.1 I am able to compile and run make test on the Perl modules using Mandrake 9.2, but with the current CVS source for V5-1-patches the make test fails with: PERL_DL_NONLAZY=1 /usr/bin/perl5.8.1 "-I../blib/lib" "-I../blib/arch" test.pl 1..64 Can't load '../blib/arch/auto/NetSNMP/default_

Re: Net-SNMP 5.1.2.pre1 test release created

2004-06-08 Thread Alex Burger
Wes Hardaker wrote: I've just published the 5.1.2.pre1 tar ball. For those of you who After building on Linux (Mandrake 9.2), I found that some of the man pages were a bit messed up. For example: man netsnmp_mode_end_call starts with: modedendncall:latathehendnofoa serieseoforequests,scalllano

5.1.2.pre1 win32 build

2004-06-09 Thread Alex Burger
With Andy's latest patch ([970012]), the binary builds fine with the Nullsoft installer. I applied the patch locally and it compiled fine. When it's added to CVS, we can be sure that 5.1.2.pre2 will compile without problems. The only thing I need to do is update the build readme slightly. Not

Re: 5.1.2.pre1 win32 build

2004-06-10 Thread Alex Burger
Wes Hardaker wrote: On Wed, 09 Jun 2004 20:40:14 -0400, Alex Burger <[EMAIL PROTECTED]> said: Alex> I applied the patch locally and it compiled fine. When it's added to Alex> CVS, we can be sure that 5.1.2.pre2 will compile without problems. I'll publish a pre2 on Frida

Re: new binary installer change suggestions

2004-06-11 Thread Alex Burger
I agree with everything! I have no objections for removing '(eg 'mib2c' or 'snmpconf')'. BTW, Mib2c uses the Perl modules, but snmpconf does not. Alex [EMAIL PROTECTED] wrote: Hi, I've downloaded the .exe from private site this morning, and installed it on Windows 2000 Advanced Server without pr

Re: nsis installer - why three ways to set path ?

2004-06-11 Thread Alex Burger
[EMAIL PROTECTED] wrote: I have a question regarding the NSIS installer functions that create the .bat files for snmpconf, mib2c, and traptoemail. I'll show the fragment for snmpconf; Know that the others have similar constructs. -=-=-=-=-=-=- StrCmp $2 "set MYPERLPROGRAM=c:\usr\bin\snmpconf$

Re: 5.1.2.pre1 win32 build

2004-06-11 Thread Alex Burger
Wes Hardaker wrote: On Thu, 10 Jun 2004 09:47:26 -0400, Alex Burger <[EMAIL PROTECTED]> said: Alex> When it is released we will create a Windows .exe and we will send you Alex> a link. Can you add the pre2 binary to the SF site when it's Alex> done? Yes. Can you make s

Re: nsis installer - why three ways to set path ?

2004-06-11 Thread Alex Burger
le it fine, but I don't think Windows 95 likes .bat files in Unix format. They should be converted to DOS format. Mike, can you please convert the three batch files to DOS format and update CVS? Andy, can you please convert on your end and make sure your script still works? Alex Andy A

Re: Using Visual .NET

2004-06-14 Thread Alex Burger
Fernández Piñas, David wrote: Hi, wonder if it is possible to compile NET-SNMP package using Visual Studio .NET instead of Visual C++ 6 or if there is any known problem. The README.WIN32 file contains info on building with Microsoft Visual C++ 6.0, Microsoft Development Environment 2003 (MSVC 7.0/

Re: Logging on Windows

2004-06-15 Thread Alex Burger
Andy Smith wrote: All, Currently there is no default logging mechanism for the Windows binary distrobution. I hadn't given it a whole lot of thought when I threw together the code to allow snmptrapd to run as a Windows service. snmptrapd is pretty much useless running as a service without a hand

  1   2   >