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

I would like to be able to quickly pull SNMP information via commandline such as device uptime. I noticed Net-SNMP's snmpget.exe can do this; but it looks like I need to install Net-SNMP first before I can use that executable.

Isn't there any way to make this executable portable? When I simply copy it to another machine and try to execute it, it complains that netsnmp.dll is missing. If I copy that file to the same folder, it still says the file is missing. I even tried to regsvr32 that dll, but I was unsuccessful.

Maybe there's a better way to get simple SNMP information from the Windows command line using royalty free/non-commercial software?

Edit: It looks like I may be able to answer my own question.

http://www.snmpsoft.com/freetools/snmpget.html "SNMPGet.exe"

share|improve this question
2  
So, you're not willing to install software... you do realise that SNMPGet.exe counts as software, and that you need to install it before you can use it... right? –  womble Jul 8 '12 at 5:15

2 Answers 2

Windows does not come with a default SNMP client, so you would have to install software. I recommend the Net-SNMP suite.

share|improve this answer

provided is a good whitepaper on SNMP at the command line (CLI)

http://www.tobiassystems.com/?page_id=944

share|improve this answer
1  
Welcome to Server Fault! Generally we like answers on the site to be able to stand on their own - Links are great, but if that link ever breaks the answer should have enough information to still be helpful. Please consider editing your answer to include more detail. See the FAQ for more info. –  slm Apr 9 '13 at 21:10

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.