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

Context

MIB
B100-MIB
OID
.1.3.6.1.4.1.12196.13.0.9
Type
scalar
Access
readonly
Status
current
Parent
b100

Scalars 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
0none
1master
2standby
3passive