envir2TempUnit
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.8.2.2
Object
scalar mandatory
r/w
Enumeration
This OID describes the unit of environment sensor. Setting the OID to Celsius(1) or Fahrenheit(2) to change the temperature unit.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.8.2.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- envir2Temp
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 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::envir2TempUnit.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::envir2TempUnit'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | celsius |
2 | fahrenheit |