agentSwitchPowerSupplyInputLineStatus
COMPAQ-AGENT-MIB ·
.1.3.6.1.4.1.232.161.3.3.2.1.1.7
Object
column mandatory
Enumeration
The status of line input power.
Context
- MIB
- COMPAQ-AGENT-MIB
- OID
.1.3.6.1.4.1.232.161.3.3.2.1.1.7- 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::agentSwitchPowerSupplyInputLineStatus'
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::agentSwitchPowerSupplyInputLineStatus.<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::agentSwitchPowerSupplyInputLineStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noError |
2 | lineOverVoltage |
3 | lineUnderVoltage |
4 | lineHit |
5 | brownOut |
6 | linePowerLoss |