hostType
VERTIV-ONEVIEW-MIB ·
.1.3.6.1.4.1.21239.43.1.1.4
Object
column Enumeration
Host type: 1 = Power Distribution Unit (PDU) 2 = Environmental Monitor 3 = Uninterruptible Power Supply (UPS) 4 = Cooling 5 = type could not be determined
Context
- MIB
- VERTIV-ONEVIEW-MIB
- OID
.1.3.6.1.4.1.21239.43.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hostEntry
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-ONEVIEW-MIB' -M '/opt/observium/mibs/geist:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VERTIV-ONEVIEW-MIB::hostType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VERTIV-ONEVIEW-MIB' -M '/opt/observium/mibs/geist:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VERTIV-ONEVIEW-MIB::hostType.<hostIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VERTIV-ONEVIEW-MIB' -M '/opt/observium/mibs/geist:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VERTIV-ONEVIEW-MIB::hostType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | pdu |
2 | environmental |
3 | ups |
4 | cooling |
5 | unknown |