sn2dSensorDoor1State
VERTIV-V5-MIB ·
.1.3.6.1.4.1.21239.5.2.13.1.6
Object
column Enumeration
Door switch 1 state: 1 = open 2 = closed
Context
- MIB
- VERTIV-V5-MIB
- OID
.1.3.6.1.4.1.21239.5.2.13.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sn2dSensorEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'VERTIV-V5-MIB' -M '/opt/observium/mibs/geist:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VERTIV-V5-MIB::sn2dSensorDoor1State'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VERTIV-V5-MIB' -M '/opt/observium/mibs/geist:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VERTIV-V5-MIB::sn2dSensorDoor1State.<sn2dSensorIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VERTIV-V5-MIB' -M '/opt/observium/mibs/geist:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VERTIV-V5-MIB::sn2dSensorDoor1State'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | open |
2 | closed |