Files
librenms-librenms/includes/definitions/discovery/hpe-ilo.yaml
rasssta 3d996a0408 hpe-ilo - Added support for Logical Drive Status (#12612)
* Update hpe-ilo.yaml

Added support for Logical Drive Status.

When using 3rd party disks with for example P420i, the controller reports the Logical Drive Condition as degraded as the disk is unauthenticated. So to get the actual status of the logical device one has to look at Logical Drive Status instead (which also reports a lot of other states).

* Update hpe-ilo_4.json

* Update hpe-ilo.yaml

* Update hpe-ilo_4.json

Typo
2021-03-12 21:15:48 +01:00

170 lines
9.5 KiB
YAML

mib: CPQHLTH-MIB:CPQIDA-MIB:CPQSTDEQ-MIB:CPQHOST-MIB
modules:
mempools:
data:
-
total: CPQHOST-MIB::cpqHoPhysicalMemorySize
free: CPQHOST-MIB::cpqHoPhysicalMemoryFree
index: 0
precision: 1048576
descr: 'Physical Memory'
-
total: CPQHOST-MIB::cpqHoPagingMemorySize
free: CPQHOST-MIB::cpqHoPagingMemoryFree
index: 1
precision: 1048576
descr: 'Paging Memory'
os:
sysDescr_regex: '/Integrated Lights-Out \d (?<version>[\d.]+)/'
hardware: CPQSINFO-MIB::cpqSiProductName.0
serial: CPQSINFO-MIB::cpqSiSysSerialNum.0
version: CPQHOST-MIB::cpqHoFwVerVersion.0
version_regex: '/(?<version>[\d.]+)/'
sensors:
power:
data:
-
oid: cpqHeFltTolPowerSupplyTable
value: cpqHeFltTolPowerSupplyCapacityUsed
num_oid: '.1.3.6.1.4.1.232.6.2.9.3.1.7.{{ $index }}'
index: 'cpqHeFltTolPowerSupplyBay.{{ $index }}'
descr: 'PowerSupply #{{ $cpqHeFltTolPowerSupplyBay }}'
high_limit: cpqHeFltTolPowerSupplyCapacityMaximum
temperature:
data:
-
oid: cpqHeTemperatureTable
value: cpqHeTemperatureCelsius
num_oid: '.1.3.6.1.4.1.232.6.2.6.8.1.4.{{ $index }}'
snmp_flags: '-OQUs'
index: 'cpqHeTemperatureCelsius.{{ $index }}'
descr: cpqHeTemperatureLocale
high_limit: '90' #cpqHeTemperatureThreshold
-
oid: cpqDaPhyDrvTable
value: cpqDaPhyDrvCurrentTemperature
num_oid: '.1.3.6.1.4.1.232.3.2.5.1.1.70.{{ $index }}'
snmp_flags: '-OQUs'
index: 'cpqDaPhyDrvCurrentTemperature.{{ $index }}'
descr: cpqDaPhyDrvLocationString
state:
data:
-
oid: cpqDaPhyDrvTable
value: cpqDaPhyDrvCondition
num_oid: '.1.3.6.1.4.1.232.3.2.5.1.1.37.{{ $index }}'
descr: 'Disk #{{ $cpqDaPhyDrvLocationString }}'
index: 'cpqDaPhyDrvCondition.{{ $index }}'
state_name: cpqDaPhyDrvCondition
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 2 }
- { descr: failed, graph: 1, value: 4, generic: 2 }
-
oid: cpqHeFltTolPowerSupplyTable
value: cpqHeFltTolPowerSupplyCondition
num_oid: '.1.3.6.1.4.1.232.6.2.9.3.1.4.{{ $index }}'
descr: 'PowerSupply #{{ $cpqHeFltTolPowerSupplyBay }}'
index: 'cpqHeFltTolPowerSupplyCondition.{{ $index }}'
state_name: cpqHeFltTolPowerSupplyCondition
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 1 }
- { descr: failed, graph: 1, value: 4, generic: 1 }
-
oid: cpqHeFltTolFanTable
value: cpqHeFltTolFanCondition
num_oid: '.1.3.6.1.4.1.232.6.2.6.7.1.9.{{ $index }}'
descr: 'Fan #{{ $cpqHeFltTolFanIndex }}'
index: 'cpqHeFltTolFanCondition.{{ $index }}'
state_name: cpqHeFltTolFanCondition
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 1 }
- { descr: failed, graph: 1, value: 4, generic: 1 }
-
oid: cpqSeCpuTable
value: cpqSeCpuStatus
num_oid: '.1.3.6.1.4.1.232.1.2.2.1.1.6.{{ $index }}'
descr: 'Processor #{{ $cpqSeCpuSlot }}'
index: 'cpqSeCpuStatus.{{ $index }}'
state_name: cpqSeCpuStatus
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 1 }
- { descr: failed, graph: 1, value: 4, generic: 1 }
-
oid: cpqHeResMem2ModuleTable
value: cpqHeResMem2ModuleCondition
num_oid: '.1.3.6.1.4.1.232.6.2.14.13.1.20.{{ $index }}'
descr: cpqHeResMem2ModuleHwLocation
index: 'cpqHeResMem2ModuleCondition.{{ $index }}'
state_name: cpqHeResMem2ModuleCondition
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 1 }
- { descr: degradedModuleIndexUnknown, graph: 1, value: 4, generic: 1 }
-
oid: cpqDaCntlrTable
value: cpqDaCntlrCondition
num_oid: '.1.3.6.1.4.1.232.3.2.2.1.1.6.{{ $index }}'
descr: 'Array Controller Slot#{{ $cpqDaCntlrSlot }}'
index: 'cpqDaCntlrCondition.{{ $index }}'
state_name: cpqDaCntlrCondition
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 1 }
- { descr: failed, graph: 1, value: 4, generic: 1 }
-
oid: cpqDaLogDrvTable
value: cpqDaLogDrvCondition
num_oid: '.1.3.6.1.4.1.232.3.2.3.1.1.11.{{ $index }}'
descr: 'Logical Drive #{{ $cpqDaLogDrvIndex }}'
index: 'cpqDaLogDrvCondition.{{ $index }}'
state_name: cpqDaLogDrvCondition
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: degraded, graph: 1, value: 3, generic: 1 }
- { descr: failed, graph: 1, value: 4, generic: 1 }
-
oid: cpqDaLogDrvTable
value: cpqDaLogDrvStatus
num_oid: '.1.3.6.1.4.1.232.3.2.3.1.1.4.{{ $index }}'
descr: 'Logical Drive Status #{{ $cpqDaLogDrvIndex }}'
index: 'cpqDaLogDrvIndex.{{ $index }}'
state_name: cpqDaLogDrvStatus
states:
- { descr: other, graph: 1, value: 1, generic: 3 }
- { descr: ok, graph: 1, value: 2, generic: 0 }
- { descr: failed, graph: 1, value: 3, generic: 2 }
- { descr: unconfigured, graph: 1, value: 4, generic: 3 }
- { descr: recovering, graph: 1, value: 5, generic: 2 }
- { descr: readyRebuild, graph: 1, value: 6, generic: 1 }
- { descr: rebuilding, graph: 1, value: 7, generic: 2 }
- { descr: wrongDrive, graph: 1, value: 8, generic: 2 }
- { descr: badConnect, graph: 1, value: 9, generic: 1 }
- { descr: overheating, graph: 1, value: 10, generic: 2 }
- { descr: shutdown, graph: 1, value: 11, generic: 2 }
- { descr: expanding, graph: 1, value: 12, generic: 1 }
- { descr: notAvailable, graph: 1, value: 13, generic: 3 }
- { descr: queuedForExpansion, graph: 1, value: 14, generic: 1 }
- { descr: multipathAccessDegraded, graph: 1, value: 15, generic: 1 }
- { descr: erasing, graph: 1, value: 16, generic: 1 }
- { descr: predictiveSpareRebuildReady, graph: 1, value: 17, generic: 1 }
- { descr: rapidParityInitializationInProgress, graph: 1, value: 18, generic: 1 }
- { descr: rapidParityInitializationPending, graph: 1, value: 19, generic: 1 }
- { descr: noAccessEncryptedWithNoControllerKey, graph: 1, value: 20, generic: 0 }
- { descr: unencryptedToEncryptedTransformationInProgress, graph: 1, value: 21, generic: 1 }
- { descr: newLogicalDriveKeyRekeyInProgress, graph: 1, value: 22, generic: 1 }
- { descr: noAccessEncryptedWithControllerEncryptionNotEnabled, graph: 1, value: 23, generic: 1 }
- { descr: unencryptedToEncryptedTransformationNotStarted, graph: 1, value: 24, generic: 1 }
- { descr: newLogicalDriveKeyRekeyRequestReceived, graph: 1, value: 25, generic: 1 }