Re: Problem in Installing Net-SNMP 5.5 on Windows 2000 OS

2009-11-13 Thread Alex Burger
Hi. I've submitted a bug for this and will look at the issue. Bug #2897289. There's something wrong with the installer as Windows 2000 is supported. Alex malar vizhi wrote: > Release notes of net-snmp 5.5 says It will work from windows 2000 > onwards. But when I execute an net-snmp 5.5 bi

Re: Problem sending traps using snmptrap from Windows

2009-10-20 Thread Alex Burger
Hi. It sounds like you're running the built-in Windows snmptrap.exe which is in c:\windows\system32. The Net-SNMP installer puts the bin folder at the end of the path so the Windows version will come first. Try running it directly from the installed Net-SNMP bin folder. Alex Hal Rottenberg

Re: net-snmp agent issues on Windows 2008

2009-06-06 Thread Alex Burger
Are you using Windows 2008 32 or 64-bit? I assume you are using 5.4.2.1 so can you try one of the new 5.5.pre2 binaries? They are in the 5.5 pre2 source area in the download section. Alex Mobeen Azhar wrote: > Hello all: > I have the net-snmp agent running fine on a number of Windows 2003 >

Re: ActivePerl 5.10 - Cannot locate module in @INC

2009-05-18 Thread Alex Burger
Net-SNMP 5.4.2.1 for Windows was compiled with Activestate Perl v5.8. 5.5 will be compiled using v5.10. There's a binary for 5.5.pre2 available on the SF site that uses 5.10: http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=11571&release_id=672929 I have never tried using

Re: net-snmp service not starting

2009-05-12 Thread Alex Burger
Hi Andrew. Can you try the new 5.5.pre2 binaries from the download site and let us know if it solves the problem? http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=11571&release_id=672929 Alex Huber, Andrew wrote: > I have a question on an error I am receiving. I insta

Windows binaries for 5.5.pre2 - testing needed

2009-05-11 Thread Alex Burger
Windows 32-bit and 64-bit binaries are now available on the download page. These binaries were created from trunk on May 10th 2009. Here's what's new compared to previous Windows binaries: -Requires Windows 2000 or higher as they are built with MSVC 2008 SP1. The MSVC runtime DLLs are include

Re: net-snmp service not starting

2009-05-06 Thread Alex Burger
Alex Burger wrote: > I should have some binaries ready tonight or tomorrow. I'm building > both 32 and 64 bit. I'm still working on the new binary. What I am doing is: 1) creating a new build script that builds both regular and SSL versions without any user interaction

Re: net-snmp service not starting

2009-05-05 Thread Alex Burger
Bart Van Assche wrote: > SNMP extension DLL's. Alex, is a binary for Net-SNMP 5.5-pre already > available or should I generate one ? I should have some binaries ready tonight or tomorrow. I'm building both 32 and 64 bit. Alex ---

Re: Why is the community name not available with SNMPV3 traps.

2009-04-29 Thread Alex Burger
I found the discussion. It was regarding SNMP v2, not 3: http://sourceforge.net/tracker/index.php?func=detail&aid=1605253&group_id=12694&atid=362694 Embedded Perl may be an option for the Engine ID: http://search.cpan.org/~hardaker/NetSNMP-TrapReceiver-5.0301/TrapReceiver.pm Alex Alex Peete

Re: Regarding snprint_description

2009-04-25 Thread Alex Burger
Hi Malar. Try adding: snprint_description to: win32\libsnmp_dll\libsnmp.def.in win32\libsnmp_dll\libsnmp.def Recompile the library and your code and let me know if it works. Alex malar vizhi wrote: > Linking... > SNMP.obj : error LNK2001: unresolved external symbol _snprint_descrip

Re: Windows Net-SNMP Handle leak ( more information )

2009-04-23 Thread Alex Burger
Hi Jayson. I fixed the problem in 5.4 and 5.5. If you want to do some testing and need the fixed snmpd.exe, let me know. Thanks for the bug report! Alex Jayson A Robinson wrote: > All, > > As you know we have found what appears to be a handle leak with pass_persist > extensions. We are a

Re: Windows Net-SNMP Handle leak ( more information )

2009-04-22 Thread Alex Burger
Hi Jayson. Can you please post a bug report at http://www.net-snmp.org/bugs/? I'll have a look at it this week to see if I can find the problem. Thanks Alex Jayson A Robinson wrote: > All, > > As you know we have found what appears to be a handle leak with pass_persist > extensions. We ar

Re: Installing net snmp 5.4.2 to windows

2008-10-25 Thread Alex Burger
Ravindra wrote: > I can't answer your question, but I would like to know how did you > build net-snmp on windows with OpenSSL support ? > > AFAIK, win32/configure script does not take OpenSSL path, is there a > way to tell the build scripts where to pick OpenSSL from ? You need to copy the OpenSS

Re: Monitor Windows NTEventlog with net-snmp

2008-10-25 Thread Alex Burger
Hi Laurence. I have documented how to configure Windows to forward event log messages as SNMP traps when using the Microsoft SNMP service: http://www.snmptt.org/docs/snmptt.shtml#EventWin If you are using the winExtDLL version of Net-SNMP then it should work without the Microsoft SNMP service

Re: embedded-perl on win32: "warning unknown token: perl"

2008-09-25 Thread Alex Burger
Hi Marco. The Windows binaries on SourceForge are compiled with the regular Perl modules, but not with embedded Perl. The binaries are built using MSVC so the build system has to be modified to support it. It's something I want to look at for the next release. Have a look at the following t

Windows build status and features - MSVC - MinGW - Cygwin

2008-09-25 Thread Alex Burger
I have added two additional pages to the Build section of the Wiki for Windows: http://www.net-snmp.org/wiki/index.php/Build_System/Windows http://www.net-snmp.org/wiki/index.php/Build_System/Windows_features The first shows what releases have been tested to compile under Windows using the var

Re: snmp.agent on windows crashes

2008-07-25 Thread Alex Burger
istens on and configure a proxy in Net-SNMP. This is described in the 'Co-existence with Microsoft SNMP services' section of README.win32. Alex Heiko wrote: > On Thu, Jul 24, 2008 at 2:41 AM, Alex Burger > I am using the APC "Power Chute Bussines Edition" and > net-snm

Re: snmp.agent on windows crashes

2008-07-23 Thread Alex Burger
It looks like you are using the winExtDLL snmpd agent as a replacement for the Microsoft SNMP agent and you have APC UPS software installed. Are you using 5.4.1.2 on Windows? What APC software are you using? Alex Heiko wrote: > what can be the reason for a crash in the windows net-snmp agent

Re: Net-SNMP on win32 with winExtDLL

2008-06-09 Thread Alex Burger
Hi Spyros. Spyros Ligouras wrote: > My question is how to actually enable/use winExtDLL (*). I downloaded > and installed the precompiled win32 binary Net-SNMP v5.4.1 from > sourceforge. I also installed and disabled Windows SNMP Service. Still > snmpd doesn't seem to load the Windows SNMP Servic

Re: Trouble with Win32 apps using AES

2007-10-18 Thread Alex Burger
Brendan Simon wrote: > I've installed Win32-OpenSSL-0.9.8e and net-snmp-5.4.1-ssl-3.win32.exe. > I can now talk to my device with "snmpget -l authNoPriv -a SHA ..." and > get valid responses. > > But if I change/add "-l authPriv -x AES > --defPrivLocalizedKey=0x0123456789abcdef0123456789abcdedf"

Re: Adding MIBs

2007-10-05 Thread Alex Burger
Ross Lee wrote: > I have a set of MIBs from the vendors for SNMP traps. How do I add these to > the Net-snmnp MIBs? ANy advise is great. Try: http://www.net-snmp.org/docs/FAQ.html#How_do_I_add_a_MIB_ Alex - This SF.net ema

Re: ppm install NetSNMP fail

2007-10-01 Thread Alex Burger
Hi Ross. If you are using net-snmp-5.4.1-1.win32.exe, then download net-snmp-5.4.1-2.win32.exe and re-install. The previous binary had a problem with installing the Perl modules. Alex Ross Lee wrote: > Am a newbie to this. I have installed Perl on Win XP but when I run the > command ppm ins

Re: Receiving traps with snmptrapd on Windows XP

2007-09-18 Thread Alex Burger
Hi Mark. Mark Hoffman wrote: > I am trying to receive SNMP traps in a Perl script using NetSNMP. However, I > get the message "Warning: Unknown token: perl:" from the snmptrapd program > when I try to invoke a Perl file (to register a function with the trap > handler) in the snmptrapd.conf file.

Re: error

2007-09-03 Thread Alex Burger
feng er wrote: Dear Mr or Miss:I have a problem . I have installed net-snmp,and configured the snmpd.conf and snmp.conf ,but when I try to run "snmpd.exe",the system showed the text followings:" No log handling enabled- turning on stderr logging Waring:no access control information config

Re: problems in net-snmp-5.4.1-1.win32.exe

2007-08-26 Thread Alex Burger
Nicky wrote: > Maybe it's that I don't attach the additional command line option.If I use > "snmpd > -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable",the > function is OK. > But the snmpd cmd windows shows that >

Re: snmptrap performance

2007-08-24 Thread Alex Burger
Jeddylyn A. Ortilla wrote: > My question now is about the performance of snmptrap. > - > Test Environment: >Net-SNMP 5.4.1 >OS: Linux RedHat AS3 >Machine: DellPowerEdge 750, 1GB RAM > > Result of sending of snmptrap: 8-10 traps / second. > Note: snmpd and snmptrapd are runni

Re: problems in net-snmp-5.4.1-1.win32.exe

2007-08-24 Thread Alex Burger
Nicky wrote: > Dear all: > I install net-snmp in winxp.If I start up the snmpd using command mode,it > shows > > C:\>snmpd > No log handling enabled - turning on stderr logging > netsnmp_assert x failed ..\..\agent\agent_registry.c:535 > ###

Re: Extension Agent DLL

2007-06-24 Thread Alex Burger
Dave Shield wrote: > On 23/06/07, Syed Mujtaba Ahmed Razvi <[EMAIL PROTECTED]> wrote: > >> Hello, >> Is it necessary to write and register an extension agent dll to manage >> your own customized MIB ? Or can i integrate the code in my one running exe >> file? >> > Please see the FAQ entry

Re: Rebuilding Net-SNMP 5.4 with IPv6

2007-06-06 Thread Alex Burger
Dave Shield wrote: > On 26/05/07, Alex Burger <[EMAIL PROTECTED]> wrote: >> I have not been able to get IPv6 to actually work though. I start snmpd >> with: >> >> snmpd udpv6:161 >> >> and it starts fine. I do an snmpwalk with: >> >> s

Re: Rebuilding Net-SNMP 5.4 with IPv6

2007-05-26 Thread Alex Burger
Thomas Anders wrote: > Kleffman, Justin (Mission Systems) wrote: >> This new build with 5.4.1.pre1 yields "snmpget: Timeout" while my >> regular 5.4 w/OpenSSL build works fine. > > Strange enough. Can you rebuild w/o IPv6 support and re-test, please? SVN (main and V5-4-patches) contains some fixe

Re: Snmp agents on Microsoft Servers

2007-02-02 Thread Alex Burger
Hi Christine. Your question probably belongs on the Nagios and Cacti mail lists. If all you want to do is poll the Windows server, you can install the Microsoft SNMP Service using add/remove programs in the control panel (under Windows Components / Management and Monitoring Tools) and then c

Re: Installation net-snmp Windows

2007-01-18 Thread Alex Burger
Make sure the Microsoft 'SNMP Service' is not running as it will conflict with the Net-SNMP agent. Check the event log for any errors from Net-SNMP Agent. You can also try running snmpd.exe from the command line to see if there are any errors during startup. Alex [EMAIL PROTECTED] wrote: >

Re: Installation of per module failed ( net-snmp-5.4.0-1.win32 for windows XP )

2007-01-13 Thread Alex Burger
Galaxy Virus wrote: > *The procedure entry point PL_memory_wrap could not be located in the > dynamic link library perl58.dll* > ** > ** > In command line prompt, > > Can't load 'C:/perl/site/lib/auto/SNMP/SNMP.dll' for module SNMP: > load_file:The > specified procedure could not be found at

Re: request problem with cisco hsrp

2007-01-12 Thread Alex Burger
Achim Stumpf wrote: > SNMP Version : 1 > VirtualIPaddr : noSuchInstance > Error : > Always I get noSuchInstance, but if i am doing the same with snmpwalk: > > [EMAIL PROTECTED] logs]# snmpwalk 192.168.222.72 -c test -v1 > 1.3.6.1.4.1.9.9.106.1.2.1.1.11 > SNMPv2-SMI::enterprises.9.9.106

Re: Traps sent by Windows machine not recognized

2007-01-02 Thread Alex Burger
Try it with authorization disabled. In snmptrapd.conf: disableAuthorization yes Alex Jean-Paul Minet wrote: > I am trying to use net-snmp 5.3.1 on a linux box to receive traps from > various > sources. Everything seems fine for traps originating, for example, from a > snmptrap command

Re: about AES support in netsnmp on windows

2006-12-26 Thread Alex Burger
A new Windows binary will be posted today or tomorrow that that contains AES support. Alex bhushan wrote: > Hello Friends, > Greetings, > I have netsnmp 5.4, i have install that on windows using MVC > environment but i observed > that AES128 support not working in netsnmp. > so if i want to t

Re: location of snmp.conf on windows?

2006-12-17 Thread Alex Burger
Hi Dan. Dan Mahoney, System Admin wrote: > Since I cannot for the life of me fathom where to put a user-based .snmp > folder under windows, can someone clue me in? Or is this just not an > option with the win32 release? If you are using the Windows binary (such as net-snmp-5.4.0-1.win32.exe),

Re: why the snmptranslate (also snmpget, snmpgetnext) won't take the varial argument?

2006-11-02 Thread Alex Burger
Chin, Hua-Cheng wrote: > The only difference is instead of specifying the actual oid, $oid is > use in spawn of the procedure. To find out if the $oid variable is valid, try calling this instead: cmd /c echo $oid > c:\test.txt Check test.txt to make sure it contains the OID as expected. Alex

Re: Dynamic libraries under Windows

2006-10-26 Thread Alex Burger
Arnaud BODENAN wrote: > OK, that's a functionality I will not use so it should be ok to use dynamic > libraries of net-snmp under Windows, right? No major problems ? In the past we have not supported using the library as a DLL except when used for the Perl module, but this should change for 5.4.

Re: Dynamic libraries under Windows

2006-10-25 Thread Alex Burger
Arnaud BODENAN wrote: > Does somebody succeed in making dynamic libraries of Net-snmp (5.3.1 for me) > under Windows ? The Windows port does not currently support DLMOD, but that may be the next thing I work on. Alex - Us

Net-SNMP 5.4.pre4 Windows binaries are available for testing

2006-10-23 Thread Alex Burger
Net-SNMP 5.4.pre4 Windows binaries are available for testing. They can be found on the SourceForge site: http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=11571&release_id=448774 Included is a new module called winExtDLL that adds the ability to use the existing Windows S

Using existing Windows SNMP Service extension agents with Net-SNMP

2006-10-03 Thread Alex Burger
Net-SNMP 5.4 will include a new module called winExtDLL that will add the ability to use the existing Windows SNMP Service extension agents. This means that you can use the existing HOST-RESOURCES-MIB (hostmib.dll) and others that are shipped with Windows. With winExtDLL enabled, doing a walk

Re: SNMP Agent extension in C

2006-10-02 Thread Alex Burger
Hai Wang wrote: > I am wondering if any of u is kindly pointing out where I can find > comprehensive materials/tutorials on how to extend SNMP agent in C? http://www.net-snmp.org/tutorial/tutorial-5/toolkit/index.html Alex ---

Re: not able to run this on win-XP

2006-04-28 Thread Alex Burger
smruti ranjan samantara wrote: I am using net-snmp 5.3.0. I have MS Visual Studio 6.0, Microsoft Platform SDK for Windows Server 2003 SP1, Also I have istalled ActivePerl 5.8.8 Build 817 on my system but While configuring in windows XP as specified in net-snmp’s Readme Win32 , Microsoft Visual

Re: Net-SNMP and Squid

2006-04-22 Thread Alex Burger
DESETech - German P. Santillan wrote: Squid (http Proxy-Cache Server) has an internal SNMP Agent, this agent is located (for example) in the UDP port 3401 in all system's ifaces. Exists the way, with Net-SNMP, of map this Squid's Agent to the Main Net-SNMP agent? Try using the proxy option in

Re: traphandle does not work

2006-04-22 Thread Alex Burger
Irving Barría wrote: I don’t know why traptoemail (neither any other Perl script) does not work! For testing, I wrote a very simple Perl program like this: #!/usr/local/bin/perl print "This is a test"; And modified my snmptrapd.conf (located at /usr/local/etc/snmp) as follows: traphandle de

Re: snmpdsdk build problems

2006-04-08 Thread Alex Burger
M.Daulat Rai wrote: Hi, I am receiving the following errors when building the net-snmp-5.3.0.1 using VC++ 6. The project under the win32sdk.dsw is “snmpdsdk”. I have gone over the libraries and ensured that the SDK libs are present…but I can’t figure out the problem. Please advise?! sn

Re: Nagios functionality

2006-04-08 Thread Alex Burger
Wes Hardaker wrote: On Tue, 4 Apr 2006 09:39:13 -0400, "Palmadesso, Jack IT743" <[EMAIL PROTECTED]> said: Jack> What I would like to know if there is an easy way to compile in Jack> the Nagios MIBs into the net-snmp package similar to the way I Jack> was able to compile in the DISMAN MIBs lik

Re: SNMP Trap Collection?

2006-03-13 Thread Alex Burger
Shane Presley wrote: Thanks, I was able to use snmptrapd to get the traps being sent to a file! Now my file contains something like... Mar 13 09:56:02 logger snmptrapd[31634]: 2006-03-13 09:56:02 server.domain.com [10.49.200.12] (via 10.31.40.42) TRAP, SNMP v1, community string SNMPv2-SMI::ente

Re: Query...Net-SNMP on windows 2000

2006-03-11 Thread Alex Burger
Singh, Sandeep, VF UK - Technology (TS) wrote: Hi I have installed the net-snmp package on Windows 2000 machine. When i am trying to register snmptrapd the message i am getting is C:\>snmptrapd -register -Le -f -d 10.98.160.53 C:\>snmptrapd No log handling enabled - turning on stderr logging

Re: FW: [OTS#020009707] Perl on Windows 2000

2006-03-11 Thread Alex Burger
Singh, Sandeep, VF UK - Technology (TS) wrote: Hi I have installed Net-SNMP Feature on Window 2000 machine. When i am trying to run snmpconf i am getting the promt " C:\usr\bin\snmpconf requires Perl to run. . A version of Perl for Windows is available from http://www.activestate.com/

Re: apps binaries

2006-01-15 Thread Alex Burger
Dave Shield wrote: On Wed, 2006-01-11 at 14:50 +, Sridhar Addagada wrote: sorry! i was looking for win32 binaries. Only agent binaries are available for windowns from the download section of net-snmp site . I thought it was a single bundle that included both agent and client tools? The

Re: net-snmp 5.2.1.2 compile issue on cygwin

2005-11-29 Thread Alex Burger
Paul Oppenheim wrote: (Not sure if I should be posting this to the coders list instead of the users list) Linking fails when compiling net-snmp-5.2.1.2 out-of-source on cygwin. gcc-3.3.3 gnu-make-3.8.0 specifically, when issuing the command: Do you get the same error with 5.2.2? Alex ---

Re: snmptrapd WIN32SERVICE question

2005-11-28 Thread Alex Burger
麻 雪蛟 wrote: > Hi > >When I undef macro WIN32SERVICE in snmptrapd, it would emit following > errors, I don't know why, what does WIN32SERVICE mean??? : > > netsnmptrapd.lib(snmptrapd.obj) : error LNK2005: _app_name already > defined in snmptrapd.obj It's to allow snmptrapd to run as a servi

Re: Mib2c /Win32 : mfd.conf error !

2005-11-16 Thread Alex Burger
jdx wrote: Hello all, Still trying to use mib2c 5.2.1 with templates also M*Cfiles in c:/usr/share/snmp/mib2c-data c:/usr/share/snmp//mib2c.mfd.conf:25 contained a line that started with a @ but did not match any mib2c configuration tokens. (maybe missing the trailing @?) writing to mfd.h wri

Re: Mib2c /Win32

2005-11-09 Thread Alex Burger
jdx wrote: http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.2.pre1-1.win32.exe ) No mfd-top.m2c file (In Linux tar file, they are in: ./local/mib2c-conf.d/* => where to copy them in Windows tree ? The folder is missing in the binary. I will add it for the next release. Try: md

Re: clear traps

2005-10-24 Thread Alex Burger
Dave Shield wrote: On Thu, 2005-10-06 at 12:55 -0700, John Hardin wrote: Openview has a way to associate a severity with a trap at the mgmt station but if you specify the severity in the MIB file it sets the default on load. In which case, I'd say that it's up to the vendor who supplied t

Re: does net-snmp integrate well with Compaq Insight Manager?

2005-10-08 Thread Alex Burger
Hi Bruce. Bruce Shaw wrote: How do you set it up with net-snmp acting as the agent? If you are referring to a Windows machine, read the (new) section 'Co-existence with Microsoft SNMP services' in README.win32 for instructions on running both Net-SNMP and the MS agent at the same time. A

Windows binaries for 5.2.2.pre1 with SSL

2005-09-26 Thread Alex Burger
Two Windows binaries for 5.2.2.pre1 have been added to the download page. One is a regular binary and the other is linked to OpenSSL 0.9.8 which will enable the privacy / encryption options for SNMP v3. A 'Development files' option has been added to the installer which will install the header

Re: how to enable V3 support in net-snmp binary install?

2005-09-26 Thread Alex Burger
shahram amini-didani wrote: I have installed the binaries net-snmp-5.1.3-1.win32.exe and want to send v3 authPriv getnext to my agent. I am getting USM support not enabled error. Is there a way to enable encryption in binary install, or I have to compile the source with open SSL? C:\>snmpge

Re: net-snmp toolkit

2005-09-15 Thread Alex Burger
P.Taylor wrote: I may be just a simpleton, but could someone please provide me with the link to the net-snmp toolkit. I can not seem to find it. If you want the toolkit section of the tutorial, then it's: http://www.net-snmp.org/tutorial/tutorial-5/ If you want the net-snmp source and binari

Re: Please help: Unresolved getdtablesize while building snmpd.exe with MS .Net (MSVC7.1)

2005-09-13 Thread Alex Burger
Donghai Ma wrote: Dear List, I am following the instructions from README.win32 to build net-snmp 5.1.3.1 with MSVC 7.1 (MS Development Environment 2003). I am building from the Workspace files. So far I am able to build all the libraries and application executables except f

Re: snmptrapd - avoiding ambiguity in log files

2005-09-08 Thread Alex Burger
> > Can you do a proper install of 5.1.3.1 instead of running from your > home > > directory? > I'm using RH8 which comes with 5.0.9 installed. I don't have an easy > way to reinstall it if I install over it. > But in fact, if I just make install then I don't install over it, but > install somew

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: > > I'm really not talking about the input to the shell but the input > > to snmptrapd. In one case it got a string and in the other case a > > string and an integer. It could tell the difference. But the > > distinction was lost in the output it generated. > > Ok, now

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: Alex Burger writes: > Don Cohen wrote: > > Andre wrote: > > Here's a demo of the problem. I enter these commands: > > snmptrapd > > snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 > > 117 '' SN

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: Andre wrote: Here's a demo of the problem. I enter these commands: snmptrapd snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 117 '' SNMPv2-MIB::sysLocation.0 s $'XXX' .1.2.3.4 i 1234 snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 117

Re: SNMP.pm status

2005-08-23 Thread Alex Burger
Stuart Kendrick wrote: however, i'm increasing finding it difficult to code around the bugs in SNMP.pm. https://sourceforge.net/tracker/index.php?func=detail&aid=1206712&group_id=12694&atid=112694 I have attached a patch to the bug: [ 1206712 ] Perl getnext doesn't honor explicit reference t

Re: SNMP.pm status

2005-08-22 Thread Alex Burger
Hi Stuart. Stuart Kendrick wrote: hi, what's the status of the perl module bundled with net-snmp? what are the chances that one of the current net-snmp developers will have time to address current bugs? is joe marzot out of the picture? [i've poked around a bit, looking for him ... i don'

Re: can anyone answer this?

2005-08-18 Thread Alex Burger
7;v', $INTSTATUS, $INDEX); ## if Version is 12.0(7)XR2 Use the SNMP Value if (substr($VERINFO[1],1,18) eq $VERSION) { $VALUE=$results[$z+1]/1; } elsif ((substr($VERINFO[1],1,18) eq $VERSION1) || (substr($VERINFO[1],1,18) eq $VERSION2)) if Version 12.1(2o

Re: can anyone answer this?

2005-08-18 Thread Alex Burger
Mark Gonzalez wrote: error: set: unknown object ID at /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/SNMP.pm line 600. error:snmp_translate_obj:Unknown OID system.sysDescr Can you provide some Perl code that produces that error? Alex -

Re: Installer enables agent though I tried to disable agent (5.2.1.2-1.win32)

2005-08-18 Thread Alex Burger
> When executing the installer for 5.2.1.2-1, I unchecked the 2nd and 3rd > options intending to disable installation (or at least starting) of the > snmp agent and the trap receiver. However, the agent and trap receiver > were installed and started anyway. Is this intentional, or did I > misunde

Re: Does net-snmp support wildcard(*) for subtree family.

2005-08-15 Thread Alex Burger
> On Mon, 2005-08-15 at 11:49 -0400, Alex Burger wrote: >> However, if I defined the proxy using: >> >> proxy -v 1 -c public localhost:1161 .1.3.6.1.2.1.1 >> >> I would get the sysDescr from Net-SNMP instead of the MS agent. > > That's probably becau

Re: Does net-snmp support wildcard(*) for subtree family.

2005-08-15 Thread Alex Burger
> On Mon, 15 Aug 2005 16:36:37 +0530 Anuradha wrote: > AB> I would like to know if net-snmp 5.1 supports wildcard while > specifying > AB> subtree family. > > Yes, see the snmpd.conf man page on the view token, paying attention to > the > mask description. I defined a proxy in snmpd.conf using: p

Re: compile error with cygwin on net-snmp 5.1.3.1

2005-08-12 Thread Alex Burger
Hi. 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: ***

net-snmp-users@lists.sourceforge.net

2005-08-09 Thread Alex Burger
Hi Mark. Mark Gonzalez wrote: I am getting this error when I try to run a script. Does anyone know how this can be resolved? I didn't look at the sample code before replying last time. As soon as you mentioned Net::SNMP, I assumed you were using the wrong package (thanks Thomas).. I think

Re: snmptrapd.conf i win32 installation ?

2005-08-08 Thread Alex Burger
Hi Thomas. Thomas Elsgaard wrote: I have moved from using net-snmp on linux to windows, but i am missing the snpmtrapd.conf file ? I would really like to be able to execute a script when receiving a trap, like in the linux version. You need to create an snmptrapd.conf file. If you installed

net-snmp-users@lists.sourceforge.net

2005-08-04 Thread Alex Burger
Mark Gonzalez wrote: I am getting this error when I try to run a script. Does anyone know how this can be resolved? I have Net::SNMP installed and am using net-snmp-5.2.1.2. Sample script below. Net-SNMP has a Perl module which is called 'SNMP'. The Perl module you are using (Net::SNMP) ha

Re: pass-throught problem in Windows

2005-08-01 Thread Alex Burger
Legido Martínez wrote: Thanks for the answer. I guess it has nothing to do if I am using Cygwin, isn't it? If you compiled Net-SNMP under Cygwin, then it should work. If you are using the binary from the web site while using Cygwin, then it will not work as the binary is compiled with MSVC.

Re: pass-throught problem in Windows

2005-07-29 Thread Alex Burger
Hi. > I'm using the Windows's distribution (V 5.1.3-1). > > I'm trying to use the pass feature for executing an executable (a BAT) but > it seems is not working. The pass and pass_persist commands are not currently working under Windows in the released versions of Net-SNMP. Net-SNMP 5.3 will add

Re: Snmpget in net-snmp 5.2.1 hangs on windows 2003

2005-07-26 Thread Alex Burger
Hi Jim. Mohr James wrote: In order to record performance data, we have a construct that looks like this: - Nagios starts an NRPE job on another machine which starts a perl script on a Windows 2003 machine - the perl script uses the snmpget command from net-snmp 5.2.1 to read a single value from

Re: Win 32 build failed for 5.1.2

2005-06-27 Thread Alex Burger
Did you register the SDK after installing it via the Start menu? Alex Srinivasan Kandalam wrote: Downloaded the 5.1.2 sources on Windows. Followed the instructions and initiated the build script it failed with the following reason. Have platform SDK installed. The output from make.out enclos

Re: snmptrapd v2c and v3 no output

2005-05-17 Thread Alex Burger
Dave Shield wrote: On Fri, 2005-05-13 at 23:05, Alex Burger wrote: Net-SNMP could be change to allow either snmpTrapOID or snmpTrapOID.0, but I'm not sure if that is something that should be done. NO!! It Most Definitely Should Not! It trust that answers the question to your satisfaction,

Re: SNMPUSM User information lost upon restart.

2005-05-16 Thread Alex Burger
Hi Jayson. Jayson Robinson wrote: Okay folx, I'm sure this has already been answered but I am having a hard time finding any information on it.I just built v5.2.1 with a persistent file of /var/net-snmp/snmpd.conf but have tried this on both 5.2.1 and on 5.1.2. I put an initial createuser

Re: snmptrapd v2c and v3 no output

2005-05-13 Thread Alex Burger
Hi Terry. Colliton, Terry (Terry)** CTR ** wrote: Attached is an Ethereal saved file that contains some of the v2c traps received that the snmptrapd had the error on. Using the packet you sent me I was able to reproduce the error and I finally figured out why you are getting the 'Cannot find Trap

Re: current time

2005-05-13 Thread Alex Burger
> Dear all: > I want to know current time of the snmpd agent at any moment. Is there a > mib like sysUpTime.0 to let me know. You could use the pass command to call an external script (see man snmpd.conf). For example: snmpd.conf: pass.1.3.6.1.4.1.2021.255 /tmp/passtime /tmp/passtime

Re: multiple box stats (mrtg) OK - but win32 ??

2005-05-11 Thread Alex Burger
Hi Mark [EMAIL PROTECTED] wrote: Beantwoorden Alex Burger <[EMAIL PROTECTED]>: The host resources mib has not been implemented for Net-SNMP on Windows yet. Your best bet is to use the built-in Windows SNMP agent for querying this information. Can I use the net-snmp tools like snmp-get (i

Re: multiple box stats (mrtg) OK - but win32 ??

2005-05-10 Thread Alex Burger
[EMAIL PROTECTED] wrote: Now I recently installed the net-snmp win32 build on a Win2003 server (installed snmpd as a service) so I can use snmpget and mrtg from a linux box to get info from the win32 box. But I can't seem to get any cpu information from this box?? Nor much of anything else useful?

Re: snmptrapd v2c and v3 no output

2005-05-09 Thread Alex Burger
Colliton, Terry (Terry)** CTR ** wrote: I am interested in using snmptrapd just to print received traps for development work, I installed net-snmp 5.2.1 on Win2K Pro. At a DOS command line I run "snmptrapd -Lo" in order to monitor incoming LINK UP/DOWN traps. When the agent sends v1 traps, they

Re: perl setup

2005-05-04 Thread Alex Burger
Dwight A wrote: Hello, Forgive me if this is in the wrong location.. I'm incredibly green. anyways i am attempting to setup a system to use the snmp functions of perl. i have installed perl and net-snmp along with basic perl libraries, the Net::SNMP and SNMP_Session libraries The Net::SNMP Perl

Re: traphandle not execute the good job

2005-05-04 Thread Alex Burger
Hi Nicolas. Nicolas Schubhan wrote: Hello, this is my snmptrapd.conf file : traphandle .1.3.6.1.4.1.17962.5.1 /bin/touch /reussi traphandle .1.3.6.1.4.1.17962 /bin/touch /zdn traphandle default /bin/touch /rater this is my log file : 2005-05-04 18:18:07 NET-SNMP version 5.2.1 Started. 2005

Re: Newbie - MIB Building

2005-04-26 Thread Alex Burger
Hi. [EMAIL PROTECTED] wrote: Hello everyone, I'm a new member of this mailing list and I write from Italy. I'm learning SNMP and right now I'm trying to add a variable to an existing MIB. I've been told that this is impossible unless I use an extensible agent that supports sub-agents and this is

Re: SNMP PROXY HELP!

2005-04-26 Thread Alex Burger
Rustagi, Sandeep (Sandeep) wrote: Hi All, Still not able to resove. Is there any examples available somewhere which I can see how to use proxy token words? They are full SNMP subagents in their own right. If i do snmpget/snmpwalk directly they give the response. There are examples in the snmpd.conf

Re: Net-snmp winsock build errors on Cygwin

2005-04-26 Thread Alex Burger
Roberts, Allison R. wrote: Greetings, I am compiling the net-snmp 5.2.1 package on Cygwin under XP (sp2) and have run into errors due to winsock.h. I used the recommended win32 configure: sh configure --with-mib-modules="host agentx disman/event-mib examples/example" --with-out-mib-modules=host/h

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread Alex Burger
[EMAIL PROTECTED] wrote: On Fri, 2005-04-22 at 10:28, [EMAIL PROTECTED] wrote: I've checked net-snmp-config.h (both Linux & Windows) but nothing about my net-snmp-includes.hI don't know why there isn't any net-snmp-includes.h on my net-snmp Windows repertory and I don't understand why should net-s

Re: NET-SNMP 5.2.1 make error.

2005-04-15 Thread Alex Burger
Hi Glenn. Andrews, Glenn J (Glenn) wrote: After quite awhile... At the very end.. cc: default_store.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `../blib/arch/auto/NetSNMP/default_store/default_store.so' Current working directory /tmp/net-snmp-5.2.1/pe

Re: snmpd and community issue

2005-04-15 Thread Alex Burger
Sasikumar Bodathula wrote: Hi, What i want to say is when i do get on the sysDescr with the community name empty or wrong name (This name is not present in the snmpd.conf) snmpd is responding for this get request with correct value. Please correct me if i am wrong i thought that if any request co

Re: Configuring Windows agent

2005-04-13 Thread Alex Burger
Matthews, Lloyd (Mission Systems) wrote: I am using the latest Net-SNMP pre-built Windows executable. How do I configure the Windows Net-SNMP Agent (for example, setting the RW and RO users and communities)? I couldn't find anything about this in the documentation. Changing the \Net-SNMP\etc\sn

Re: [Snmptt-users] Re: Problem Compiling

2005-04-11 Thread Alex Burger
Hi Miguel. Miguel Gómez wrote: I created this line in my NOTIFICATION-PROPIO-MIB.txt (I really cared that this file were loaded when agent started): exim4queue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Número de mensajes en la

Re: MY-MIB problem!!!!!!!!!!!!!!

2005-04-07 Thread Alex Burger
Jonathan Halpern wrote: the first line is : MIB DEFINITIONS ::= BEGIN It should be changed to: MY-MIB DEFINITIONS ::= BEGIN Alex >On Wed, 06 Apr 2005 20:12:15 + Jonathan wrote: >JH> so i have created MY-MIB , i have pasted it in >JH> /usr/local/share/snmtp/mibs... >JH> and i have added the mi

Re: Support.

2005-04-06 Thread Alex Burger
Hi. Fady Naffah wrote: Dear sirs, I'm an engineering student in the Lebanese University, doing my Diploma project using your snmptrapd tool to log translated snmp directly to another program in a special format. I want to ask if you could point me to the variables used in the logging facility. ie,

  1   2   >