Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

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.

share|improve this answer
    
There should be instructions for starting snmpd as a service so that it can be stopped and started from the Services control panel. The configuration is done by editing snmpd.conf and restarting the service. –  mtinberg Jun 24 '11 at 22:35
    
I actually went to /usr/bin and ran 'registeragent' with cmd to get the service started. Thank you for your responses. –  Steve Jun 27 '11 at 15:46
    
It does show up in the control panel by the way. –  Steve Jun 28 '11 at 13:58
    
Thanks Bill, I was able to download the x86 version that worked on my windows XP SP3 anyone know any good tutorials for getting started with net-snmp –  user90500 Aug 4 '11 at 14:29

Found this link on net-snmp.org wiki -

http://www.net-snmp.org/wiki/index.php/Using_the_command_line_and_nmake

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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