swDevInfoPowerStatus
DES3828P-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.69.3.2.1.1.8.1.3
Object
column Enumeration
Indicates status of the power
Context
- MIB
- DES3828P-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.69.3.2.1.1.8.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swDevInfoPowerEntry
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 'DES3828P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3828P-L2MGMT-MIB::swDevInfoPowerStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3828P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3828P-L2MGMT-MIB::swDevInfoPowerStatus.<swDevInfoPowerUnitIndex>.<swDevInfoPowerID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3828P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3828P-L2MGMT-MIB::swDevInfoPowerStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | other |
1 | lowVoltage |
2 | overCurrent |
3 | working |
4 | fail |
5 | connect |
6 | disconnect |