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

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=12694package_id=11571release_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=12694package_id=11571release_id=672929 Alex Huber, Andrew wrote: I have a question on an error I am receiving. I

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

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 2) updating

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=detailaid=1605253group_id=12694atid=362694 Embedded Perl may be an option for the Engine ID: http://search.cpan.org/~hardaker/NetSNMP-TrapReceiver-5.0301/TrapReceiver.pm Alex Alex Peeters

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

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 able

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

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 OpenSSL

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

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

Re: snmp.agent on windows crashes

2008-07-25 Thread Alex Burger
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-snmp-5.4.1-3.win32.exe. I followd the guide in the link below

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

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 Service

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 I get:

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

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. I'm

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

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: 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 running in

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 How do I

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: snmpwalk -v 1 -c public udpv6:[::1] system and I get nothing back. What

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 fixes for

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

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

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 on

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

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

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

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: 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?!

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

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 service

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. snip In which case, I'd say that it's up to the vendor who

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

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?

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

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 somewhere

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

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 '' SNMPv2-MIB::sysLocation.0 s $'XXX' .1.2.3.4 i 1234 snmptrap -v 1

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 I

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=detailaid=1206712group_id=12694atid=112694 I have attached a patch to the bug: [ 1206712 ] Perl getnext doesn't honor explicit reference to

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

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

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: can anyone answer this?

2005-08-18 Thread Alex Burger
{ print td align=center width=150font color=silverAdmin Down/font/td/tr; } $z=$z+2; } print /table hr/body/html; } -Original Message- From: Alex Burger [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 5:09 PM To: Mark Gonzalez Cc

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: proxy -v 1

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 because the internal registration uses a longer OID than

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: ***

Re: Undefined subroutine SNMP::initMib

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

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

Re: Undefined subroutine SNMP::initMib

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)

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

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

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

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, Alex

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: 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: 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

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 (ie mrtg

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

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: 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.

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

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

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

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: 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

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

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

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

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 mibs

Re: Problem Compiling

2005-04-06 Thread Alex Burger
(I moved this from snmptt-users to net-snmp-users) Miguel Gómez wrote: You are right, Dave. Traps are done to report changes in variables we are interested in. But, how could I do to send a trap periodically no matter its value changes or not? I have to monitor values like CPU load and send traps

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,

Re: Problem Compiling

2005-04-05 Thread Alex Burger
Miguel Gómez wrote: Hello, It's me, again. The thing is that when I run: ./configure --with-perl-modules And then: make Everything works fine!!! , but I'm not really sure if I need the perl support un modules, or if I need to have it embedded. What I want to do is: Once I've received the trap, how

Re: dell MIBs and OID question

2005-04-04 Thread Alex Burger
dil dila wrote: dear all, i have a situation here like having my Dell PowerEdge Server acting as a router by having 2 network card. FYI, i'm not the one who responsible for buying the server, and the cd is not at me.(maybe missing i thought, by misplace or something) so, i go to dell sites and

Re: problem in snmpd(agent)

2005-04-04 Thread Alex Burger
Hi. I'm confused as to what you are trying to do. Is the following correct? -you have a server behind a firewall running snmpd. The server IP address is 10.10.10.134 -on your client on the other side of the firewall you run snmpget -c public -v 2c 10.10.10.134:161 system.sysUpTime.0 but you

Re: traphandler for v1 enterprise trap

2005-04-04 Thread Alex Burger
wondering if there is any neccesary configuration for (B snmptrapd in addtion to snmptrapd.conf, compared with (B catching SNMPv2 trap? (B (B Regards, (B Tadashi (B (B (B ---From Alex Burger [EMAIL PROTECTED]: (B (BHi Tadashi. (B (BTadashi Abe wrote: (B (BHi, (B (BI'm using ucd-snmp

Re: extending the agent [on windows]

2005-04-03 Thread Alex Burger
[EMAIL PROTECTED] wrote: I am using Windows 2000.I tried executing the same by using Administrator as well as my LAN login.But still it does not work.But it has worked before. If you extract a fresh copy of the 5.2.1 source and try to compile it without any modifications, does it compile? You

Re: traphandler for v1 enterprise trap

2005-04-03 Thread Alex Burger
Hi Tadashi. (B (BTadashi Abe wrote: (B Hi, (B (B I'm using ucd-snmp 4.2.6 and want to handle a v1 trap (B which is enterprise-specific OID. (B I can handle v2 trap with no problem, but as with v1 I (B can't. Although I've read man/tutorial (and even (B RFC...) and tried some, I can't

Re: MIBs OID question

2005-04-03 Thread Alex Burger
Wes Hardaker wrote: On Fri, 1 Apr 2005 19:44:17 -0800 (PST), dil dila [EMAIL PROTECTED] said: dil 3. if already get the DELL MIBs but it is in the .bin format Um, I've never heard of a MIB coming in .bin format?? I just checked the Dell site, and they offer the mibs as a self extracting Windows

Re: Need direction for perl module installation

2005-03-31 Thread Alex Burger
Hi Shane. I did some digging also and found the following message from Dave which says that the patch was not applied to the 5.0 line: http://sourceforge.net/mailarchive/message.php?msg_id=9074365 You could try the patch yourself by modifying the SNMP.xs file and changing the line that contains:

Re: snmp.conf

2005-03-18 Thread Alex Burger
Vijay Krishna wrote: Does somebody have a sample snmp.conf file? If you are not sure what you should be configuring in snmp.conf, you should try using the snmpconf script. It allows you to set options using a menu system. You may not even need anything in your snnmp.conf file. You may not

Re: Net-SNMP support for Windows XP

2005-03-17 Thread Alex Burger
Hi Mark. [EMAIL PROTECTED] wrote: I'm seeking information for Windows XP support for the net-snmp agent. I have used the agent quite a bit for Unix servers, but have very little Windows experience. I searched the archives and doc at a high-level, but didn't find many specifics. I did find a

Re: Trying to setup SNMP

2005-03-15 Thread Alex Burger
Hi Timothy. If you are using Linux, you probably need to store the snmpd.conf file in /usr/local/share/snmp/snmpd.conf, not /etc/snmpd.conf. Try running snmpconf. The first thing it will do is tell you where any existing configuration files are. Alex Timothy Horie wrote: I created a

Re: public accessible snmp devices?

2005-03-11 Thread Alex Burger
/ same results :( Says No snmp response from 158.69.82.8 regards, /vicky Alex Burger wrote: | Hi Vicky. | | I just tried the command provided by Robert, and it worked fine. Are | you behind a firewall? | | Alex | | | Vicky Rode wrote: | | Hi, | | I can't seem to query this device, either with snmpwalk

Re: Setting Destination Trap Port on windows

2005-03-11 Thread Alex Burger
It looks like setting the value for snmptrap / snmp-trap in the services file SHOULD work, but on my Windows 2000 Professional machine it does not. Based on this old MS tech note, Windows should be reading the services file for the destination port since NT 3.5:

Re: public accessible snmp devices?

2005-03-10 Thread Alex Burger
Hi Vicky. I just tried the command provided by Robert, and it worked fine. Are you behind a firewall? Alex Vicky Rode wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I can't seem to query this device, either with snmpwalk/snmpget? It times out with no response from test.net-snmp.org.

  1   2   >