How to pull SNMP information from Windows commandline without installing software
Posted
by
mkanet
on Server Fault
See other posts from Server Fault
or by mkanet
Published on 2012-07-08T04:26:15Z
Indexed on
2012/07/08
9:17 UTC
Read the original article
Hit count: 208
net-snmp
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"
© Server Fault or respective owner