hwSetMonEquipCtrlState
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.2.2.1.1.11
Object
column r/w
Enumeration
Monitor control status. It is an enumeration type: If the enumeration value is 1, it indicates the background control; If the enumeration value is 2, it indicates the automatic control. If the enumeration value is 255, it indicates monitor module operation status unknown. In manual state, monitor works under background commands; while monitors runs well automatically in auto state. For details, see the corresponding user manual of the monitor.
Context
- MIB
- EMAP-MIB
- OID
.1.3.6.1.4.1.2011.6.164.1.2.2.1.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMonitorEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwSetMonEquipCtrlState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwSetMonEquipCtrlState.<hwMonIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMAP-MIB::hwSetMonEquipCtrlState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | manualMode |
2 | autoMode |
255 | unknown |