agentSwitchPowerSupplyCondition

COMPAQ-AGENT-MIB · .1.3.6.1.4.1.232.161.3.3.2.1.1.8

Object

column mandatory Enumeration
The condition of the power supply.
              
This value will be one of the following:
              
other(1)
  The status could not be determined or not present.
              
ok(2)
  The power supply is operating normally.
              
degraded(3)
  A temperature sensor, fan or other power supply component is
  outside of normal operating range.
              
failed(4)
  A power supply component detects a condition that could
  possibly damage the system.

Context

MIB
COMPAQ-AGENT-MIB
OID
.1.3.6.1.4.1.232.161.3.3.2.1.1.8
Type
column
Access
readonly
Status
mandatory
Parent
agentSwitchPowerSupplyEntry

Walk 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 'COMPAQ-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-AGENT-MIB::agentSwitchPowerSupplyCondition'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'COMPAQ-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-AGENT-MIB::agentSwitchPowerSupplyCondition.<cpqRackAssetIndex>.<cpqRackCommonEnclosureRack>.<cpqRackCommonEnclosureIndex>.<cpqRackNetConnectorRack>.<cpqRackNetConnectorChassis>.<cpqRackNetConnectorIndex>.<agentSwitchPowerSupplyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'COMPAQ-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'COMPAQ-AGENT-MIB::agentSwitchPowerSupplyCondition'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2ok
3degraded
4failed