hasState
IBM-ENETDISPATCHER-MIB ·
.1.3.6.1.4.1.2.6.144.1.2.1.6.3
Object
scalar mandatory
Enumeration
Status of this Network Dispatcher machine.
-idle, (0) this machine is routing packets and is not trying
to establish contact with its partner Network
Dispatcher
-listen, (1) high availability has just started and
network dispatcher is listening for partner,
-active, (2) this machine is routing packets.
-standby,(3) this machine is monitoring the active machine.
-preempt,(4) transitory state during switch from primary to backup
-elect, (5) network dispatcher is negotiating with partner
for who will primary or backup
-no_exec,(6) the executor is not running
Context
- MIB
- IBM-ENETDISPATCHER-MIB
- OID
.1.3.6.1.4.1.2.6.144.1.2.1.6.3- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- indHiAvailStatObjects
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 'IBM-ENETDISPATCHER-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-ENETDISPATCHER-MIB::hasState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-ENETDISPATCHER-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-ENETDISPATCHER-MIB::hasState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | idle |
1 | listen |
2 | active |
3 | standby |
4 | preempt |
5 | elect |
6 | noExec |