zxAnEnvPowerMode
ZTE-AN-ENVMON-MIB ·
.1.3.6.1.4.1.3902.1082.10.10.2.3.1.5
Object
scalar deprecated
r/w
Enumeration
The current power supply mode of the equipment, emergency power saving action is on the basis of the power mode zxAnEnvPowerMode. normal(1) means using AC power as power supply. battery(2) means using storage battery as power supply.
Context
- MIB
- ZTE-AN-ENVMON-MIB
- OID
.1.3.6.1.4.1.3902.1082.10.10.2.3.1.5- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Default
normal- Parent
- zxAnPowerSupplyGlobalObjects
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 'ZTE-AN-ENVMON-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-ENVMON-MIB::zxAnEnvPowerMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-ENVMON-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-ENVMON-MIB::zxAnEnvPowerMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | battery |