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

225 lines
12 KiB
YAML

modules:
os:
hardware: TPLINK-SYSINFO-MIB::tpSysInfoHwVersion.0
serial: TPLINK-SYSINFO-MIB::tpSysInfoSerialNum.0
version: TPLINK-SYSINFO-MIB::tpSysInfoSwVersion.0
mempools:
data:
-
percent_used: TPLINK-SYSMONITOR-MIB::tpSysMonitorMemoryUtilization
descr: 'Memory #{{ $index }}'
processors:
data:
-
oid: TPLINK-SYSMONITOR-MIB::tpSysMonitorCpu5Seconds
num_oid: '.1.3.6.1.4.1.11863.6.4.1.1.1.1.2.{{ $index }}'
index: '{{ $index }}'
descr: 'Proc #{{ $index }}'
sensors:
additional_oids:
data:
-
oid:
- TPLINK-DDMSTATUS-MIB::ddmStatusTable
- TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowAlarm
- TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowWarn
- TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighAlarm
- TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighWarn
- TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowAlarm
- TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowWarn
- TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighAlarm
- TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighWarn
- TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowAlarm
- TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowWarn
- TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighAlarm
- TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighWarn
- TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowAlarm
- TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowWarn
- TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighAlarm
- TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighWarn
- TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowAlarm
- TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowWarn
- TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighAlarm
- TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighWarn
- LLDP-MIB::lldpLocPortTable
current:
data:
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.4.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusBiasCurrent
descr: 'DDM Bias Current {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
divisor: 1000
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: 'ddmStatusBiasCurrent.{{ $index }}'
low_limit: TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowAlarm
low_warn_limit: TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowWarn
high_limit: TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighAlarm
warn_limit: TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighWarn
dbm:
data:
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.5.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusTxPow
descr: 'DDM TX Power {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: 'ddmStatusTxPow.{{ $index }}'
user_func: mw_to_dbm
low_limit: TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowAlarm
low_warn_limit: TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowWarn
high_limit: TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighAlarm
warn_limit: TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighWarn
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.6.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusRxPow
descr: 'DDM RX Power {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: 'ddmStatusRxPow.{{ $index }}'
user_func: mw_to_dbm
low_limit: TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowAlarm
low_warn_limit: TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowWarn
high_limit: TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighAlarm
warn_limit: TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighWarn
power:
data:
-
oid: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoeGlobal
num_oid: '.1.3.6.1.4.1.11863.6.56.1.1.1.3.{{ $index }}'
value: TPLINK-POWER-OVER-ETHERNET-MIB::tpSystemPowerConsumption
descr: 'Power Consumption'
divisor: 10
index: tpSystemPowerConsumption
group: PoE
-
oid: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoeGlobal
num_oid: '.1.3.6.1.4.1.11863.6.56.1.1.1.4.{{ $index }}'
value: TPLINK-POWER-OVER-ETHERNET-MIB::tpSystemPowerRemain
descr: 'Power Remaining'
divisor: 10
index: tpSystemPowerRemain
group: PoE
-
oid: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoeGlobal
num_oid: '.1.3.6.1.4.1.11863.6.56.1.1.1.1.{{ $index }}'
value: TPLINK-POWER-OVER-ETHERNET-MIB::tpSystemPowerLimit
descr: 'Power Limit'
divisor: 10
index: tpSystemPowerLimit
group: PoE
-
oid: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoePortConfigTable
num_oid: '.1.3.6.1.4.1.11863.6.56.1.1.2.1.1.7.{{ $index }}'
value: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoePower
descr: '{{ $LLDP-MIB::lldpLocPortDesc }}'
divisor: 10
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: PoE_Ports
index: 'tpPoePower.{{ $index }}'
high_limit: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoePowerLimit
skip_values:
-
oid: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoePowerStatus
op: '='
value: 0
state:
data:
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.7.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusDataReady
descr: 'DDM Data Ready {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: '{{ $index }}'
skip_values: 2
states: &ddm_states
- {value: 0, generic: 0, graph: 0, descr: 'False'}
- {value: 1, generic: 2, graph: 1, descr: 'True'}
- {value: 2, generic: 2, graph: 2, descr: N/A}
state_name: ddmStatusDataReady
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.8.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusLossSignal
descr: 'DDM Loss of Signal {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: '{{ $index }}'
skip_values: 2
states: *ddm_states
state_name: ddmStatusLossSignal
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.9.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusTxFault
descr: 'DDM TX Fault {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: '{{ $index }}'
skip_values: 2
states: *ddm_states
state_name: ddmStatusTxFault
-
oid: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoePortConfigTable
num_oid: '.1.3.6.1.4.1.11863.6.56.1.1.2.1.1.11.{{ $index }}'
value: TPLINK-POWER-OVER-ETHERNET-MIB::tpPoePowerStatus
descr: '{{ $LLDP-MIB::lldpLocPortDesc }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: PoE_Ports
index: 'tpPoePowerStatus.{{ $index }}'
states:
- {value: 0, generic: 3, graph: 1, descr: 'Off'}
- {value: 1, generic: 1, graph: 1, descr: 'Turning-on'}
- {value: 2, generic: 0, graph: 1, descr: 'On'}
- {value: 3, generic: 2, graph: 1, descr: 'Overload'}
- {value: 4, generic: 2, graph: 1, descr: 'Short'}
- {value: 5, generic: 1, graph: 1, descr: 'Nonstandard'}
- {value: 6, generic: 2, graph: 1, descr: 'VoltageHigh'}
- {value: 7, generic: 2, graph: 1, descr: 'VoltageLow'}
- {value: 8, generic: 2, graph: 1, descr: 'HardwareFault'}
- {value: 9, generic: 2, graph: 1, descr: 'OverTemperature'}
state_name: tpPoePowerStatus
temperature:
data:
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.2.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusTemperature
descr: 'DDM Temperature {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: 'ddmStatusTemperature.{{ $index }}'
low_limit: TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowAlarm
low_warn_limit: TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowWarn
high_limit: TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighAlarm
warn_limit: TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighWarn
voltage:
data:
-
oid: TPLINK-DDMSTATUS-MIB::ddmStatusTable
num_oid: '.1.3.6.1.4.1.11863.6.96.1.7.1.1.3.{{ $index }}'
value: TPLINK-DDMSTATUS-MIB::ddmStatusVoltage
descr: 'DDM Voltage {{ $TPLINK-DDMSTATUS-MIB::ddmStatusPort }}'
entPhysicalIndex: '{{ $index }}'
entPhysicalIndex_measured: ports
group: SFPs
index: 'ddmStatusVoltage.{{ $index }}'
low_limit: TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowAlarm
low_warn_limit: TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowWarn
high_limit: TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighAlarm
warn_limit: TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighWarn