upsDiagPMLifetimeStatus
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.13.2.3.1.2
Object
column mandatory
Enumeration
The status of the Power Module lifetime information. ok(1) indicates the device lifetime status is OK. nearEnd(2) indicates the device lifetime status is near end. exceeded(3) indicates the device lifetime status is exceeded. unknown(4) indicates the device lifetime status is unknown.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.13.2.3.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- upsDiagPMLifetimeInfoEntry
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsDiagPMLifetimeStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsDiagPMLifetimeStatus.<upsDiagPMLifetimeInfoIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::upsDiagPMLifetimeStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ok |
2 | nearEnd |
3 | exceeded |
4 | unknown |