Hi,
I am using SNMP to get the status of the keyboard on a PC (running Windows). I execute the snmpwalk command shown below:
snmpwalk -v 3 -u ji -l authNoPriv -a MD5 -A password localhost hrDeviceStatus
I get back the results below:
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.1 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.2 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.3 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.4 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.5 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.6 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.7 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.8 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.9 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.10 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.11 = INTEGER: unknown(1)
hrDeviceStatus.9 is the keyboard. I pulled out the keyboard and ran the same snmpwalk command, but I got the same results. I was expecting the keyboard status to change, but it stayed as running(2). Why is this? Any ideas?
I have tried using SNMP version 2c and 3, but I get the same results. Is it the case that Windows only provides the device driver status? If so, that isn't very useful. Or is there something else I have to do?
I am using SNMP to get the status of the keyboard on a PC (running Windows). I execute the snmpwalk command shown below:
snmpwalk -v 3 -u ji -l authNoPriv -a MD5 -A password localhost hrDeviceStatus
I get back the results below:
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.1 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.2 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.3 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.4 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.5 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.6 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.7 = INTEGER: unknown(1)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.8 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.9 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.10 = INTEGER: running(2)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.11 = INTEGER: unknown(1)
hrDeviceStatus.9 is the keyboard. I pulled out the keyboard and ran the same snmpwalk command, but I got the same results. I was expecting the keyboard status to change, but it stayed as running(2). Why is this? Any ideas?
I have tried using SNMP version 2c and 3, but I get the same results. Is it the case that Windows only provides the device driver status? If so, that isn't very useful. Or is there something else I have to do?