haState
OBS ✓
B100-MIB ·
.1.3.6.1.4.1.12196.13.0.9
Object
scalar Enumeration
The HA status of the current machine
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Status
Explore Observium network monitoring
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 'B100-MIB' -M '/opt/observium/mibs/kemp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'B100-MIB::haState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'B100-MIB' -M '/opt/observium/mibs/kemp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'B100-MIB::haState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | master |
2 | standby |
3 | passive |