towerops/priv/profiles/os_discovery/xclarity.yaml
2026-01-21 14:30:04 -06:00

93 lines
4.2 KiB
YAML

mib: LENOVO-XCC-MIB:LENOVO-XCC-ALERT-MIB:LENOVO-SMI-MIB:LENOVO-PRODUCTS-MIB
modules:
os:
hardware: LENOVO-XCC-MIB::machineLevelProductName.0
serial: LENOVO-XCC-MIB::machineLevelSerialNumber.0
version: LENOVO-XCC-MIB::xccVpdVersionString.1
sensors:
temperature:
data:
-
oid: temperature
value: tempReading
num_oid: '.1.3.6.1.4.1.19046.11.1.1.1.2.1.3.{{ $index }}'
index: 'tempReading.{{ $index }}'
descr: tempDescr
high_limit: tempCritLimitHigh
low_limit: tempCritLimitLow
low_warn_limit: tempNonCritLimitLow
warn_limit: tempNonCritLimitHigh
voltage:
data:
-
oid: voltage
value: voltReading
num_oid: '.1.3.6.1.4.1.19046.11.1.1.2.2.1.3.{{ $index }}'
index: 'voltReading.{{ $index }}'
descr: voltDescr
high_limit: voltCritLimitHigh
low_limit: voltCritLimitLow
low_warn_limit: voltNonCritLimitLow
warn_limit: voltNonCritLimitHigh
state:
data:
-
oid: systemHealthStat
num_oid: '.1.3.6.1.4.1.19046.11.1.1.4.1.{{ $index }}'
index: 'systemHealthStat.{{ $index }}'
states:
- { descr: 'completely failed', graph: 1, value: 0, generic: 2 }
- { descr: ok, graph: 1, value: 255, generic: 0 }
- { descr: degraded, graph: 1, value: 4, generic: 1 }
- { descr: failed, graph: 1, value: 2, generic: 2 }
low_warn_limit: 5
low_limit: 3
descr: 'Overall System Status'
-
oid: currentSysPowerStatus
num_oid: '.1.3.6.1.4.1.19046.11.1.5.1.1.{{ $index }}'
index: 'currentSysPowerStatus.{{ $index }}'
states:
- { descr: 'powered off', graph: 1, value: 0, generic: 2 }
- { descr: sleep, graph: 1, value: 1, generic: 1 }
- { descr: 'power on', graph: 1, value: 255, generic: 0 }
descr: 'Power status'
percent:
data:
-
oid: fans
value: fanSpeed
num_oid: '.1.3.6.1.4.1.19046.11.1.1.3.2.1.3.{{ $index }}'
index: 'fanSpeed.{{ $index }}'
descr: fanDescr
high_limit: fanCritLimitHigh
low_limit: fanCritLimitLow
low_warn_limit: fanNonCritLimitLow
warn_limit: fanNonCritLimitHigh
power:
data:
-
oid: fuelGaugeInformation
value: fuelGaugeTotalPowerInUse
num_oid: '.1.3.6.1.4.1.19046.11.1.1.10.1.10.{{ $index }}'
index: 'fuelGaugeTotalPowerInUse.{{ $index }}'
descr: 'Total in use'
high_limit: fuelGaugeTotalPowerAvailable
-
oid: fuelGaugeInformation
value: fuelGaugePowerConsumptionCpu
num_oid: '.1.3.6.1.4.1.19046.11.1.1.10.1.11.{{ $index }}'
index: 'fuelGaugePowerConsumptionCpu.{{ $index }}'
descr: 'CPU'
-
oid: fuelGaugeInformation
value: fuelGaugePowerConsumptionMemory
num_oid: '.1.3.6.1.4.1.19046.11.1.1.10.1.12.{{ $index }}'
index: 'fuelGaugePowerConsumptionMemory.{{ $index }}'
descr: 'Memory'
-
oid: fuelGaugeInformation
value: fuelGaugePowerConsumptionOther
num_oid: '.1.3.6.1.4.1.19046.11.1.1.10.1.13.{{ $index }}'
index: 'fuelGaugePowerConsumptionOther.{{ $index }}'
descr: 'Other'