agentSwitchPowerSupplyCurPwrOutput
COMPAQ-AGENT-MIB ·
.1.3.6.1.4.1.232.161.3.3.2.1.1.3
Object
The current power output of the power supply in watts.
The value will be -1 if the power supply does not report the
value.
Context
- MIB
- COMPAQ-AGENT-MIB
- OID
.1.3.6.1.4.1.232.161.3.3.2.1.1.3- 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::agentSwitchPowerSupplyCurPwrOutput'
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::agentSwitchPowerSupplyCurPwrOutput.<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::agentSwitchPowerSupplyCurPwrOutput'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647