raidDiskState
CHECKPOINT-TRAP-MIB ·
.1.3.6.1.4.1.2620.1.2000.0.23
Object
scalar Integer32
Raid disk state (can get more then one): ONLINE(0x00), MISSING(0x01), NOT_COMPATIBLE(0x02), DISC_FAILED(0x03), INITIALIZING(0x04), OFFLINE_REQUESTED(0x05), FAILED_REQUESTED(0x06), UNCONFIGURED_GOOD_SPUN_UP(0x07), UNCONFIGURED_GOOD_SPUN_DOWN (0x08), UNCONFIGURED_BAD(0x09), HOTSPARE(0x0A), DRIVE_OFFLINE(0x0B), REBUILD(0x0C), FAILED(0x0D), COPYBACK(0x0F), OTHER_OFFLINE(0xFF) or UNKNOWN (other)
Context
- MIB
- CHECKPOINT-TRAP-MIB
- OID
.1.3.6.1.4.1.2620.1.2000.0.23- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- chkpntTrapInfo
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 'CHECKPOINT-TRAP-MIB' -M '/opt/observium/mibs/checkpoint:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CHECKPOINT-TRAP-MIB::raidDiskState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CHECKPOINT-TRAP-MIB' -M '/opt/observium/mibs/checkpoint:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CHECKPOINT-TRAP-MIB::raidDiskState'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535