upsAdvConfigMainsSetting
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.5.2.35
Object
scalar mandatory
Enumeration
Configure the type of mains supply system. singleInput (1) indicates a single supply system. dualInput (2) indicates a dual supply system.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.5.2.35- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsAdvConfig
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsAdvConfigMainsSetting.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::upsAdvConfigMainsSetting'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | singleInput |
2 | dualInput |