hwPowerSupplyState
LENOVO-GbTOR-G8272-MIB ·
.1.3.6.1.4.1.19046.2.7.24.1.3.1.41
Object
scalar OctetString
The textual description of power supply state on the system,
in the format of:
Power Supply 1: on; Power Supply 2: absent;
Possible state value for a power supply are: on, off, absent.
Context
- MIB
- LENOVO-GbTOR-G8272-MIB
- OID
.1.3.6.1.4.1.19046.2.7.24.1.3.1.41- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hardware
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-GbTOR-G8272-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8272-MIB::hwPowerSupplyState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8272-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8272-MIB::hwPowerSupplyState'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255