snChasPwrSupplyStatus

HP-SN-AGENT-MIB · .1.3.6.1.4.1.11.2.3.7.11.12.1.1.1.3

Object

scalar Integer32
A bit array that contains the value of the
Chassis Power Supplies. This is a packed bit string;
the 2 power supplies status are encoded into 4 bits
(a nibble). 
          
There are multiple power supplies per chassis in this release.
The following shows the meaning of each bit:
(bit 0 is the least significant bit).
          
  bit position   meaning
  ------------   -------
	  12-31  reserved
      11     Power  Supply 4 DC (0=bad, 1=good).
      10     Power  Supply 3 DC (0=bad, 1=good).
      9      Power  Supply 4 present status (0=present, 1=not-present).
      8      Power  Supply 3 present status (0=present, 1=not-present).
	  4-7    reserved
      3      Power  Supply 2 DC (0=bad, 1=good).
      2      Power  Supply 1 DC (0=bad, 1=good).
      1      Power  Supply 2 present status (0=present, 1=not-present).
      0      Power  Supply 1 present status (0=present, 1=not-present).

Context

MIB
HP-SN-AGENT-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.1.1.3
Type
scalar
Access
readonly
Status
current
Parent
snChasGen

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-AGENT-MIB::snChasPwrSupplyStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-AGENT-MIB::snChasPwrSupplyStatus'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647