agentSwitchPowerSupplyStatus
COMPAQ-AGENT-MIB ·
.1.3.6.1.4.1.232.161.3.3.2.1.1.6
Object
column mandatory
Enumeration
The status of the power supply.
Context
- MIB
- COMPAQ-AGENT-MIB
- OID
.1.3.6.1.4.1.232.161.3.3.2.1.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- agentSwitchPowerSupplyEntry
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 'COMPAQ-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-AGENT-MIB::agentSwitchPowerSupplyStatus'
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::agentSwitchPowerSupplyStatus.<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::agentSwitchPowerSupplyStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noError |
2 | generalFailure |
3 | bistFailure |
4 | fanFailure |
5 | tempFailure |
6 | interlockOpen |
7 | epromFailed |
8 | vrefFailed |
9 | dacFailed |
10 | ramTestFailed |
11 | voltageChannelFailed |
12 | orringdiodeFailed |
13 | brownOut |
14 | giveupOnStartup |
15 | nvramInvalid |
16 | calibrationTableInvalid |