64 Bit Net-snmp For Windows

For

[prev in list] [next in list] [prev in thread] [next in thread] List: net-snmp-coders Subject: Re: 64-bit windows. I can say is that winExtDLL behaved as expected in the tests I ran. > With which Windows version did this occur? > Windows 7 Professional 64bit (with service pack 1) with Visual Studio 10 'Ultimate' (with service pack 1. Looking for a good SNMP Browser to run under Windows [closed]. However it no longer works with Windows 7 and 64-bit. In my experience, SolarWinds has by far the best SNMP tools on Windows. I've also recently used NetTools Pro by Axence, and it seems reasonable. My windows machine is still XP though, so I can't vouch from them working on. Install and configure the Net-SNMP agent for Windows Version 0.2 (): added a note about snmpd.conf file creation Version 0.1 (): intial release This HowTo will explain how to install and configure the Net-SNMP agent for Windows, as a 'subagent' of the Microsoft SNMP agent, to graph the output of custom scripts.

Active1 year ago

I downloaded the file from sourceforge and unzipped it with 7-zip. When I open the folder there is no 'install.exe' or anything like that. Believe it or not there are no tutorials on this that I can find online. I went into the win32 folder and ran build.pl but it gave me this message

Please run VCVARS32.BAT first to set up the Visual Studio build environment.

There is no file called vcvars32.bat, all I have is the Visual Studio 2005 Remote Debugger. I opened up a command prompt and ran install-net-snmp.bat in the win32 folder and it seemed to be successful but it doesn't show in my installed programs in Control Panel.

Basically my question is... How do I get net-snmp up and running on Windows 7?

Thanks.

EDIT: The reason I want to use Net-SNMP is because I need to use SNMPv3 and the Windows agent doesn't support it.

Steve
64 Bit Net-snmp For Windows
SteveSteve

6 Answers

Sounds like you downloaded the source code, but what you really want is the Win32 binaries.

Version 5.5 is the last version that has Windows x86 and x64 binaries precompiled by the project developers.http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/

But even if you install the 5.5 binaries on Windows, I do not think it shows up in the control panel or start menu. It's not going to have a window you can open and click things in.

Bill GatesBill Gates

Yeah, I really don't know why Net-SNMP doesn't distribute prebuilt binaries with their code. It's bizarre.

Anyways, I recently built 5.7.3 for Windows 64-bit (with full support for SSL, IPv6, and SNMP extension DLLs). You can download the binaries here: http://www.mediafire.com/download/5b6xs5u3lajl3s2/net-snmp-windows-x64-5.7.3.7z

Because I compiled this with Visual Studio 2015, you will also have to install the Visual C++ Redistributable for Visual Studio 2015 from here: https://www.microsoft.com/en-us/download/details.aspx?id=48145

Unzip the archive to C:Program FilesNet-SNMP. You should be able to run the binsnmpd.exe file to launch the agent. Edit etcsnmpsnmpd.conf (or run binsnmpconf) to configure the agent. You can run:

to install the agent as a Windows service. Remember to add an exception to your Windows firewall for the snmpd.exe executable. And that's how you install Net-SNMP for Windows x64.

I'll also provide you with the exact steps I used to compile the binaries, so at least this can be documented concisely somewhere on the Internet. The official documentation for how to do this is incredibly lengthy, erroneous, and outdated.

Prerequisites: Active Perl x64, Visual Studio Community Edition (I used 2015). Note that the version of Visual Studio you use will effect the paths used below in the compilation instructions, so modify the path below accordingly if you're using something other than the 2015 edition.

For

First, compile OpenSSL for Windows x64. Unzip the source code, and in the same directory:

That last step renames the OpenSSL static library to something that Net-SNMP expects.

Now, compile Net-SNMP. Unzip the source code, and in the win32 directory:

One you've installed Net-SNMP, you can uninstall and delete everything else just fine (Active Perl, Visual Studio, OpenSSL, etc.) and Net-SNMP will still work. Obviously make sure you keep the VC++ redistributable installed.

I hope this helps somebody out there.

nxmehtanxmehta

There is an unofficial build of 5.7 here:

Ryan SchipperRyan Schipper

I was able to use the above to help compile net-snmp 5.8 on Windows 10.

I installed VS Community 2017, Win64OpenSSL 1_1_0i, and Active Perl 5.26.1.2601-MSWin32-x64-404865.

OpenSSL was precompiled from here: https://slproweb.com/products/Win32OpenSSL.html

I could not get OpenSSL to compile the needed LIB/VC DLLs. I had to change the LIB statement to include the 'VC' directory.

When making, it said it could not find 'rc.exe'. Seems the newer VS doesn't install in the tree for VS but in the 'Windows Kits' tree. I ended up using:

*Note I did not put a ';' in the statement as my current machine's path has a trailing ';' in it already. Use 'echo %PATH%' to check yours.

Here is what I ended up after installing VS Community 2017, OpenSSL1.1.0i & AvtivePerl_5.26_1201:

Hope this helps someone...

Later,Jeff

jforhanjforhan

Found this link on net-snmp.org wiki -

to build in windows you need several non-native tools it appears. You could give this a try.

ChristopherChristopher

The below link helped me with the error you are facing. Just posting for others who might have faced the same issue.

To run VSVARS32.BAT

  1. From the Start menu, open the Developer Command Prompt for VS2012.
  2. Change to the Program FilesMicrosoft Visual Studio VersionCommon7Tools or Program Files (x86)Microsoft Visual Studio VersionCommon7Tools subdirectory of your installation.
  3. Run VSVARS32.bat by typing VSVARS32.
mzhaase
3,4851 gold badge15 silver badges29 bronze badges
DipenDipen

Not the answer you're looking for? Browse other questions tagged windows-7snmpinstallation or ask your own question.

Download net-snmp(x86-64) linux packages for CentOS, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS.

CentOS x86_64
net-snmp-5.7.2-37.el7.x86_64.rpmA collection of SNMP protocol tools and libraries
CentOS Updates x86_64
net-snmp-5.7.2-38.el7_6.2.x86_64.rpmA collection of SNMP protocol tools and libraries
CentOS x86_64
net-snmp-5.5-60.el6.x86_64.rpmA collection of SNMP protocol tools and libraries

Download Net-snmp For Windows 7 64 Bit

Fedora x86_64
net-snmp-5.8-6.fc30.x86_64.rpmA collection of SNMP protocol tools and libraries
Fedora Updates x86_64
net-snmp-5.8-10.fc30.x86_64.rpmA collection of SNMP protocol tools and libraries
Fedora x86_64
net-snmp-5.8-1.fc29.x86_64.rpmA collection of SNMP protocol tools and libraries
Fedora Updates x86_64
net-snmp-5.8-10.fc29.x86_64.rpmA collection of SNMP protocol tools and libraries
Fedora x86_64
net-snmp-5.8-12.fc32.x86_64.rpmA collection of SNMP protocol tools and libraries
Mageia Core x86_64
net-snmp-5.8-2.mga7.x86_64.rpmA collection of SNMP protocol tools and libraries
Mageia Core x86_64
net-snmp-5.7.3-4.mga6.x86_64.rpmA collection of SNMP protocol tools and libraries
Mageia Core Updates x86_64
net-snmp-5.7.3-4.1.mga6.x86_64.rpmA collection of SNMP protocol tools and libraries
Mageia Core x86_64
net-snmp-5.8-5.mga8.x86_64.rpmA collection of SNMP protocol tools and libraries
OpenMandriva Main Release x86_64
net-snmp-5.8-2-omv4000.x86_64.rpmA collection of SNMP protocol tools and libraries
OpenMandriva Main Release x86_64
net-snmp-5.8-3-omv4000.x86_64.rpmA collection of SNMP protocol tools and libraries
openSUSE Oss all
net-snmp-5.7.3-lp151.7.5.x86_64.rpmSNMP Daemon

Download For Windows 64 Bit

Network Utilities all
net-snmp-5.8-lp150.34.2.x86_64.rpmSNMP Daemon
openSUSE Oss all
net-snmp-5.7.3-lp150.5.1.x86_64.rpmSNMP Daemon
openSUSE Update Oss all
net-snmp-5.7.3-lp150.6.3.1.x86_64.rpmSNMP Daemon
openSUSE Oss all
net-snmp-5.8-2.2.x86_64.rpmSNMP Daemon
PCLinuxOS x86_64
net-snmp-5.6.1-2pclos2012.x86_64.rpmA collection of SNMP protocol tools and libraries

net-snmp(x86-64) latest versions: 5.8, 5.7.3, 5.7.2, 5.6.1, 5.5

net-snmp(x86-64) architectures: x86_64

Windows 32 Bit To 64 Bit

net-snmp(x86-64) linux packages: rpm