Last Edited: 2/28/2022
On Windows use windows services (services.exe) to set a few items.
Example: to get the windows hostname
SnmpGet.exe -q -r:192.168.0.50 -c:"public" -o:.18.104.22.168.22.214.171.124.0 mswin-01
Just a quick note: An OID is an “Object Identifier” and as much as you might want to use the same OID for all hardware for some very simple reasons. Let’s take the example of a simple router. You get very familiar with it. Then you add a new interface. Now the items in your list has to change to reflect the additional object.
This method also keeps the system flexiable so that you can use it across all objects. A MIB or Management Information Base file for a device can describe the basic “oid”s so that you can discover which OIDs are used.
Example: In this example we “walk” through a windows host.
snmpwalk -r:192.168.0.50 -c:"public" SnmpWalk v1.01 - Copyright (C) 2009 SnmpSoft Company [ More useful network tools on http://www.snmpsoft.com ] OID=.126.96.36.199.188.8.131.52.0, Type=OctetString, Value=Hardware: Intel64 Family 6 Model 58 Stepping 9 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 9600 Mult iprocessor Free) OID=.184.108.40.206.220.127.116.11.0, Type=OID, Value=18.104.22.168.4.1.322.214.171.124.1.2 OID=.126.96.36.199.188.8.131.52.0, Type=TimeTicks, Value=1:11:19.43 OID=.184.108.40.206.220.127.116.11.0, Type=OctetString, Value=