upsInputSource
CPQPOWER-MIB ·
.1.3.6.1.4.1.232.165.3.3.5
Object
scalar mandatory
Enumeration
The present external source of input power. The enumeration none(2) indicates that there is no external source of power, for example, the UPS is On Battery (an internal source). The bypassFeed(4) can only be used when the Bypass source is known to be a separate utility feed than the primaryUtility(3).
Context
- MIB
- CPQPOWER-MIB
- OID
.1.3.6.1.4.1.232.165.3.3.5- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsInput
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQPOWER-MIB::upsInputSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQPOWER-MIB::upsInputSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | none |
3 | primaryUtility |
4 | bypassFeed |
5 | secondaryUtility |
6 | generator |
7 | flywheel |
8 | fuelcell |