hastResourceRole

BEGEMOT-HAST-MIB · .1.3.6.1.4.1.12325.1.220.1.2.1.3

Object

column r/w Enumeration
Resource role.

Context

MIB
BEGEMOT-HAST-MIB
OID
.1.3.6.1.4.1.12325.1.220.1.2.1.3
Type
column
Access
readwrite
Status
current
Parent
hastResourceEntry

Walk 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 'BEGEMOT-HAST-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BEGEMOT-HAST-MIB::hastResourceRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BEGEMOT-HAST-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BEGEMOT-HAST-MIB::hastResourceRole.<hastResourceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BEGEMOT-HAST-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BEGEMOT-HAST-MIB::hastResourceRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0undef
1init
2primary
3secondary