cpqCmcSetFan2
CPQCMC-MIB ·
.1.3.6.1.4.1.232.153.2.2.5.10
Object
scalar mandatory
r/w
Enumeration
Is used for run and stop control of fan2.
(2) fan will run and stop according to temperature of sensor 2
and threshold of fan2
(3) fan will run independent of temperature and threshold
(4) fan will stop independent of temperature and threshold
(3) and (4) can be used for alert handling
Context
- MIB
- CPQCMC-MIB
- OID
.1.3.6.1.4.1.232.153.2.2.5.10- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqCmcControl
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 'CPQCMC-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQCMC-MIB::cpqCmcSetFan2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQCMC-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQCMC-MIB::cpqCmcSetFan2'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | auto |
3 | on |
4 | off |