clusterv2BaseRole
QTECH-ALT-MIB ·
.1.3.6.1.4.1.2751.100.22.1.4
Object
scalar Enumeration
The role of the device. none means cluster device isn't running.
Context
- MIB
- QTECH-ALT-MIB
- OID
.1.3.6.1.4.1.2751.100.22.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- clusterv2Base
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 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-ALT-MIB::clusterv2BaseRole.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-ALT-MIB::clusterv2BaseRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | candidateDevice |
2 | memberDevice |
3 | commanderDevice |
255 | none |