From 0c85b5bb44647a4a103273163d1fe0c27934f7c8 Mon Sep 17 00:00:00 2001 From: Adam Calabrigo Date: Tue, 15 Oct 2024 00:11:11 +0000 Subject: [PATCH] DARWIN: update sensor_service.json after PM support --- .../configs/darwin/sensor_service.json | 1273 ++++++++++------- 1 file changed, 754 insertions(+), 519 deletions(-) diff --git a/fboss/platform/configs/darwin/sensor_service.json b/fboss/platform/configs/darwin/sensor_service.json index 983a207fc5e2d..c62070d7ef554 100644 --- a/fboss/platform/configs/darwin/sensor_service.json +++ b/fboss/platform/configs/darwin/sensor_service.json @@ -1,525 +1,760 @@ { - "pmUnitSensorsList": [ - { - "slotPath": "/", - "pmUnitName": "CPU_CARD", - "sensors": [ - { - "name": "PCH_TEMP", - "sysfsPath": "/run/devmap/sensors/PCH_THERMAL/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - }, - { - "name": "CPU_PHYS_ID_0", - "sysfsPath": "/run/devmap/sensors/CPU_CORE_TEMP/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 105 - }, - "compute": "@/1000.0" - }, - { - "name": "CPU_CORE0_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_CORE_TEMP/temp2_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 105 - }, - "compute": "@/1000.0" - }, - { - "name": "CPU_CORE1_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_CORE_TEMP/temp3_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 105 - }, - "compute": "@/1000.0" - }, - { - "name": "CPU_CORE2_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_CORE_TEMP/temp4_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 105 - }, - "compute": "@/1000.0" - }, - { - "name": "CPU_CORE3_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_CORE_TEMP/temp5_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 105 - }, - "compute": "@/1000.0" - }, - { - "name": "CPU_BOARD_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_BOARD_TEMP_MAX6658/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - }, - { - "name": "BACK_PANEL_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_BOARD_TEMP_MAX6658/temp2_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 75 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS1_VIN", - "sysfsPath": "/run/devmap/sensors/CPU_MPS1_PMBUS/in1_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 14, - "lowerCriticalVal": 9 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS1_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_MPS1_PMBUS/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 110 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS1_IIN", - "sysfsPath": "/run/devmap/sensors/CPU_MPS1_PMBUS/curr1_input", - "type": 2, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS1_IOUT", - "sysfsPath": "/run/devmap/sensors/CPU_MPS1_PMBUS/curr2_input", - "type": 2, - "thresholds": { - "upperCriticalVal": 45 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS2_VIN", - "sysfsPath": "/run/devmap/sensors/CPU_MPS2_PMBUS/in1_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 14, - "lowerCriticalVal": 9 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS2_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_MPS2_PMBUS/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 110 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS2_IIN", - "sysfsPath": "/run/devmap/sensors/CPU_MPS2_PMBUS/curr1_input", - "type": 2, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - }, - { - "name": "MPS2_IOUT", - "sysfsPath": "/run/devmap/sensors/CPU_MPS2_PMBUS/curr2_input", - "type": 2, - "thresholds": { - "upperCriticalVal": 35 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V7_VCCIN_VRRDY", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in1_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.875, - "lowerCriticalVal": 1.12 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_0V6_VTT", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in2_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 0.69, - "lowerCriticalVal": 0.51 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V2_VDDQ", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in3_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.38, - "lowerCriticalVal": 1.02 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_2V5_VPP", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in4_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 2.99, - "lowerCriticalVal": 2.21 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V5_PCH", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in5_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.725, - "lowerCriticalVal": 1.27 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V05_COM", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in6_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.208, - "lowerCriticalVal": 0.89 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V3_KRHV", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in7_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.495, - "lowerCriticalVal": 1.1 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V7_SCFUSE", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in8_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.955, - "lowerCriticalVal": 1.44 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_3V3", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in9_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 3.795, - "lowerCriticalVal": 2.8 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_5V0", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in10_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 5.75, - "lowerCriticalVal": 4.25 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V2_ALW", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in11_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.38, - "lowerCriticalVal": 1.02 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_3V3_ALW", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in12_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 3.795, - "lowerCriticalVal": 2.8 - } - }, - { - "name": "POS_12V", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in13_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 13.8, - "lowerCriticalVal": 9.72 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V2_LAN1", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in14_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.38, - "lowerCriticalVal": 1.02 - }, - "compute": "@/1000.0" - }, - { - "name": "POS_1V2_LAN2", - "sysfsPath": "/run/devmap/sensors/CPU_POS_UCD90160/in15_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.38, - "lowerCriticalVal": 1.02 - }, - "compute": "@/1000.0" - }, - { - "name": "FRONT_PANEL_TEMP", - "sysfsPath": "/run/devmap/sensors/CPU_FP_TEMP_LM73/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - } - ] + "sensorMapList": { + "SMB": { + "CPU_PHYS_ID_0": { + "path": "/run/devmap/sensors/CPU_CORE_TEMP/temp1_input", + "thresholds": { + "upperCriticalVal": 105.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "CPU_CORE0_TEMP": { + "path": "/run/devmap/sensors/CPU_CORE_TEMP/temp2_input", + "thresholds": { + "upperCriticalVal": 105.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "CPU_CORE1_TEMP": { + "path": "/run/devmap/sensors/CPU_CORE_TEMP/temp3_input", + "thresholds": { + "upperCriticalVal": 105.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "CPU_CORE2_TEMP": { + "path": "/run/devmap/sensors/CPU_CORE_TEMP/temp4_input", + "thresholds": { + "upperCriticalVal": 105.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "CPU_CORE3_TEMP": { + "path": "/run/devmap/sensors/CPU_CORE_TEMP/temp5_input", + "thresholds": { + "upperCriticalVal": 105.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "CPU_BOARD_TEMP": { + "path": "/run/devmap/sensors/CPU_BOARD_TEMP_MAX6658/temp1_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "BACK_PANEL_TEMP": { + "path": "/run/devmap/sensors/CPU_BOARD_TEMP_MAX6658/temp2_input", + "thresholds": { + "upperCriticalVal": 75.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "FRONT_PANEL_TEMP": { + "path": "/run/devmap/sensors/CPU_FP_TEMP_LM73/temp1_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "POS_1V7_VCCIN_VRRDY": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in1_input", + "thresholds": { + "upperCriticalVal": 1.875, + "lowerCriticalVal": 1.12 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_0V6_VTT": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in2_input", + "thresholds": { + "upperCriticalVal": 0.69, + "lowerCriticalVal": 0.51 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V2_VDDQ": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in3_input", + "thresholds": { + "upperCriticalVal": 1.38, + "lowerCriticalVal": 1.02 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_2V5_VPP": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in4_input", + "thresholds": { + "upperCriticalVal": 2.99, + "lowerCriticalVal": 2.21 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V5_PCH": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in5_input", + "thresholds": { + "upperCriticalVal": 1.725, + "lowerCriticalVal": 1.27 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V05_COM": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in6_input", + "thresholds": { + "upperCriticalVal": 1.208, + "lowerCriticalVal": 0.89 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V3_KRHV": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in7_input", + "thresholds": { + "upperCriticalVal": 1.495, + "lowerCriticalVal": 1.1 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V7_SCFUSE": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in8_input", + "thresholds": { + "upperCriticalVal": 1.955, + "lowerCriticalVal": 1.44 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_3V3": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in9_input", + "thresholds": { + "upperCriticalVal": 3.795, + "lowerCriticalVal": 2.8 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_5V0": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in10_input", + "thresholds": { + "upperCriticalVal": 5.75, + "lowerCriticalVal": 4.25 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V2_ALW": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in11_input", + "thresholds": { + "upperCriticalVal": 1.38, + "lowerCriticalVal": 1.02 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_3V3_ALW": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in12_input", + "thresholds": { + "upperCriticalVal": 3.795, + "lowerCriticalVal": 2.8 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_12V": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in13_input", + "thresholds": { + "upperCriticalVal": 13.8, + "lowerCriticalVal": 9.72 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V2_LAN1": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in14_input", + "thresholds": { + "upperCriticalVal": 1.38, + "lowerCriticalVal": 1.02 + }, + "compute": "@/1000.0", + "type": 1 + }, + "POS_1V2_LAN2": { + "path": "/run/devmap/sensors/CPU_POS_UCD90160/in15_input", + "thresholds": { + "upperCriticalVal": 1.38, + "lowerCriticalVal": 1.02 + }, + "compute": "@/1000.0", + "type": 1 + }, + "MPS1_VIN": { + "path": "/run/devmap/sensors/CPU_MPS1_PMBUS/in1_input", + "thresholds": { + "upperCriticalVal": 14.0, + "lowerCriticalVal": 9.0 + }, + "compute": "@/1000.0", + "type": 1 + }, + "MPS1_TEMP": { + "path": "/run/devmap/sensors/CPU_MPS1_PMBUS/temp1_input", + "thresholds": { + "upperCriticalVal": 110.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "MPS1_IIN": { + "path": "/run/devmap/sensors/CPU_MPS1_PMBUS/curr1_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "MPS1_IOUT": { + "path": "/run/devmap/sensors/CPU_MPS1_PMBUS/curr2_input", + "thresholds": { + "upperCriticalVal": 45.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "MPS2_VIN": { + "path": "/run/devmap/sensors/CPU_MPS2_PMBUS/in1_input", + "thresholds": { + "upperCriticalVal": 14.0, + "lowerCriticalVal": 9.0 + }, + "compute": "@/1000.0", + "type": 1 + }, + "MPS2_TEMP": { + "path": "/run/devmap/sensors/CPU_MPS2_PMBUS/temp1_input", + "thresholds": { + "upperCriticalVal": 110.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "MPS2_IIN": { + "path": "/run/devmap/sensors/CPU_MPS2_PMBUS/curr1_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "MPS2_IOUT": { + "path": "/run/devmap/sensors/CPU_MPS2_PMBUS/curr2_input", + "thresholds": { + "upperCriticalVal": 35.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "SC_BOARD_TEMP": { + "path": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp1_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "SC_BOARD_MIDDLE_TEMP": { + "path": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp2_input", + "thresholds": { + "upperCriticalVal": 75.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "SC_BOARD_LEFT_TEMP": { + "path": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp3_input", + "thresholds": { + "upperCriticalVal": 75.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "SC_FRONT_PANEL_TEMP": { + "path": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp4_input", + "thresholds": { + "upperCriticalVal": 75.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "SC_TH3_DIODE1_TEMP": { + "path": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp7_input", + "thresholds": { + "upperCriticalVal": 125.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "SC_TH3_DIODE2_TEMP": { + "path": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp8_input", + "thresholds": { + "upperCriticalVal": 125.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "SC_POS_12V_TH3_A": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in1_input", + "thresholds": { + "upperCriticalVal": 13.8, + "lowerCriticalVal": 9.5 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_12V_TH3_B": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in2_input", + "thresholds": { + "upperCriticalVal": 13.8, + "lowerCriticalVal": 9.5 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_12V_STDBY": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in3_input", + "thresholds": { + "upperCriticalVal": 13.8, + "lowerCriticalVal": 9.5 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_5V0": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in4_input", + "thresholds": { + "upperCriticalVal": 5.75, + "lowerCriticalVal": 4.25 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_3V3": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in5_input", + "thresholds": { + "upperCriticalVal": 3.795, + "lowerCriticalVal": 2.805 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_3V3_QSFPDD_A": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in6_input", + "thresholds": { + "upperCriticalVal": 3.795, + "lowerCriticalVal": 2.805 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_3V3_QSFPDD_B": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in7_input", + "thresholds": { + "upperCriticalVal": 3.795, + "lowerCriticalVal": 2.805 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_3V3_STDBY": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in8_input", + "thresholds": { + "upperCriticalVal": 3.795, + "lowerCriticalVal": 2.475 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_2V5_LT": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in9_input", + "thresholds": { + "upperCriticalVal": 5.1, + "lowerCriticalVal": 0.5 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_2V5_RT": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in10_input", + "thresholds": { + "upperCriticalVal": 5.1, + "lowerCriticalVal": 0.5 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_1V8": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in11_input", + "thresholds": { + "upperCriticalVal": 2.07, + "lowerCriticalVal": 1.53 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_1V5_A": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in12_input", + "thresholds": { + "upperCriticalVal": 1.725, + "lowerCriticalVal": 1.275 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_1V5_B": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in13_input", + "thresholds": { + "upperCriticalVal": 1.38, + "lowerCriticalVal": 1.02 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_1V2": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in14_input", + "thresholds": { + "upperCriticalVal": 1.38, + "lowerCriticalVal": 1.02 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_0V8_AVDD": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in15_input", + "thresholds": { + "upperCriticalVal": 0.92, + "lowerCriticalVal": 0.72 + }, + "compute": "@/1000.0", + "type": 1 + }, + "SC_POS_0V9_VDD": { + "path": "/run/devmap/sensors/SC_POS_UCD90320/in16_input", + "thresholds": { + "upperCriticalVal": 1.35, + "lowerCriticalVal": 0.38 + }, + "compute": "@/1000.0", + "type": 1 + }, + "TH3_VRD1_VIN": { + "path": "/run/devmap/sensors/SC_TH3_CORE_IR35223/in1_input", + "thresholds": { + "upperCriticalVal": 14.5, + "lowerCriticalVal": 9.0 + }, + "compute": "@/1000.0", + "type": 1 + }, + "TH3_VRD1_VOUT": { + "path": "/run/devmap/sensors/SC_TH3_CORE_IR35223/in2_input", + "compute": "@/1000.0", + "type": 1 + }, + "TH3_VRD1_TEMP": { + "path": "/run/devmap/sensors/SC_TH3_CORE_IR35223/temp1_input", + "thresholds": { + "upperCriticalVal": 125.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "TH3_VRD1_POUT": { + "path": "/run/devmap/sensors/SC_TH3_CORE_IR35223/power2_input", + "thresholds": { + "upperCriticalVal": 400.0 + }, + "compute": "@/1000000.0", + "type": 0 + }, + "TH3_VRD1_IIN": { + "path": "/run/devmap/sensors/SC_TH3_CORE_IR35223/curr1_input", + "thresholds": { + "upperCriticalVal": 60.5 + }, + "compute": "@/1000.0", + "type": 2 + }, + "TH3_VRD1_IOUT": { + "path": "/run/devmap/sensors/SC_TH3_CORE_IR35223/curr2_input", + "thresholds": { + "upperCriticalVal": 464.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "TH3_VRD2_VIN": { + "path": "/run/devmap/sensors/SC_TH3_ANLG_IR35223/in1_input", + "thresholds": { + "upperCriticalVal": 14.5, + "lowerCriticalVal": 9.0 + }, + "compute": "@/1000.0", + "type": 1 + }, + "TH3_VRD2_VOUT": { + "path": "/run/devmap/sensors/SC_TH3_ANLG_IR35223/in2_input", + "compute": "@/1000.0", + "type": 1 + }, + "TH3_VRD2_TEMP": { + "path": "/run/devmap/sensors/SC_TH3_ANLG_IR35223/temp1_input", + "thresholds": { + "upperCriticalVal": 125.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "TH3_VRD2_POUT": { + "path": "/run/devmap/sensors/SC_TH3_ANLG_IR35223/power2_input", + "thresholds": { + "upperCriticalVal": 400.0 + }, + "compute": "@/1000000.0", + "type": 0 + }, + "TH3_VRD2_IIN": { + "path": "/run/devmap/sensors/SC_TH3_ANLG_IR35223/curr1_input", + "thresholds": { + "upperCriticalVal": 60.5 + }, + "compute": "@/1000.0", + "type": 2 + }, + "TH3_VRD2_IOUT": { + "path": "/run/devmap/sensors/SC_TH3_ANLG_IR35223/curr2_input", + "thresholds": { + "upperCriticalVal": 124.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "QSFPDD_VRD_VIN": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/in1_input", + "thresholds": { + "upperCriticalVal": 14.5, + "lowerCriticalVal": 9.0 + }, + "compute": "@/1000.0", + "type": 1 + }, + "QSFPDD_VRD_VOUT_A": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/in2_input", + "compute": "@/1000.0", + "type": 1 + }, + "QSFPDD_VRD_VOUT_B": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/in3_input", + "compute": "@/1000.0", + "type": 1 + }, + "QSFPDD_VRD_TEMP": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/temp1_input", + "thresholds": { + "upperCriticalVal": 125.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "QSFPDD_VRD_POUT_A": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/power2_input", + "thresholds": { + "upperCriticalVal": 400.0 + }, + "compute": "@/1000000.0", + "type": 0 + }, + "QSFPDD_VRD_POUT_B": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/power3_input", + "thresholds": { + "upperCriticalVal": 400.0 + }, + "compute": "@/1000000.0", + "type": 0 + }, + "QSFPDD_VRD_IIN": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/curr1_input", + "thresholds": { + "upperCriticalVal": 60.5 + }, + "compute": "@/1000.0", + "type": 2 + }, + "QSFPDD_VRD_IOUT_A": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/curr2_input", + "thresholds": { + "upperCriticalVal": 120.0 + }, + "compute": "@/1000.0", + "type": 2 + }, + "QSFPDD_VRD_IOUT_B": { + "path": "/run/devmap/sensors/SC_QSFPDD_IR35223/curr3_input", + "thresholds": { + "upperCriticalVal": 120.0 + }, + "compute": "@/1000.0", + "type": 2 + } }, - { - "slotPath": "/FAN_SLOT@0", - "pmUnitName": "FAN", - "sensors": [ - { - "name": "FAN1_RPM", - "sysfsPath": "/run/devmap/sensors/FAN_CPLD/fan1_input", - "type": 4, - "thresholds": { - "upperCriticalVal": 25500, - "lowerCriticalVal": 2600 - } - }, - { - "name": "FAN2_RPM", - "sysfsPath": "/run/devmap/sensors/FAN_CPLD/fan2_input", - "type": 4, - "thresholds": { - "upperCriticalVal": 25500, - "lowerCriticalVal": 2600 - } - }, - { - "name": "FAN3_RPM", - "sysfsPath": "/run/devmap/sensors/FAN_CPLD/fan3_input", - "type": 4, - "thresholds": { - "upperCriticalVal": 25500, - "lowerCriticalVal": 2600 - } - }, - { - "name": "FAN4_RPM", - "sysfsPath": "/run/devmap/sensors/FAN_CPLD/fan4_input", - "type": 4, - "thresholds": { - "upperCriticalVal": 25500, - "lowerCriticalVal": 2600 - } - }, - { - "name": "FAN5_RPM", - "sysfsPath": "/run/devmap/sensors/FAN_CPLD/fan5_input", - "type": 4, - "thresholds": { - "upperCriticalVal": 25500, - "lowerCriticalVal": 2600 - } - }, - { - "name": "FS_FAN_RPM", - "sysfsPath": "/run/devmap/sensors/FS_FAN_SLG4F4527/fan1_input", - "type": 4, - "thresholds": { - "upperCriticalVal": 29500, - "lowerCriticalVal": 2600 - } - } - ] + "FAN1": { + "FAN1_RPM": { + "path": "/run/devmap/sensors/FAN_CPLD/fan1_input", + "thresholds": { + "upperCriticalVal": 29500.0, + "lowerCriticalVal": 2600.0 + }, + "type": 4 + } }, - { - "slotPath": "/SCM_SLOT@0", - "pmUnitName": "SWITCH_CARD", - "sensors": [ - { - "name": "SC_BOARD_TEMP", - "sysfsPath": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - }, - { - "name": "SC_BOARD_MIDDLE_TEMP", - "sysfsPath": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp2_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 75 - }, - "compute": "@/1000.0" - }, - { - "name": "SC_BOARD_LEFT_TEMP", - "sysfsPath": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp3_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 75 - }, - "compute": "@/1000.0" - }, - { - "name": "SC_FRONT_PANEL_TEMP", - "sysfsPath": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp4_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 75 - }, - "compute": "@/1000.0" - }, - { - "name": "SC_TH3_DIODE1_TEMP", - "sysfsPath": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp7_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 125 - }, - "compute": "@/1000.0" - }, - { - "name": "SC_TH3_DIODE2_TEMP", - "sysfsPath": "/run/devmap/sensors/SC_BOARD_TEMP_MAX6581/temp8_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 125 - }, - "compute": "@/1000.0" - } - ] + "FAN2": { + "FAN2_RPM": { + "path": "/run/devmap/sensors/FAN_CPLD/fan2_input", + "thresholds": { + "upperCriticalVal": 29500.0, + "lowerCriticalVal": 2600.0 + }, + "type": 4 + } }, - { - "slotPath": "/PSU_SLOT@0", - "pmUnitName": "PEM", - "sensors": [ - { - "name": "PEM_ECB_VOUT_CH1", - "sysfsPath": "/run/devmap/sensors/PEM_ECB_MAX5970/in1_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 14 - }, - "compute": "(15.5*@)/1000.0" - }, - { - "name": "PEM_ECB_VOUT_CH2", - "sysfsPath": "/run/devmap/sensors/PEM_ECB_MAX5970/in2_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 14 - }, - "compute": "15.5*@/1000.0" - }, - { - "name": "PEM_ECB_IOUT_CH1", - "sysfsPath": "/run/devmap/sensors/PEM_ECB_MAX5970/curr1_input", - "type": 2, - "thresholds": { - "upperCriticalVal": 60, - "lowerCriticalVal": 0.5 - }, - "compute": "(48390/343)*@/1000.0" - }, - { - "name": "PEM_ECB_IOUT_CH2", - "sysfsPath": "/run/devmap/sensors/PEM_ECB_MAX5970/curr2_input", - "type": 2, - "thresholds": { - "upperCriticalVal": 60, - "lowerCriticalVal": 0.5 - }, - "compute": "(48390/343)*@/1000.0" - }, - { - "name": "PEM_ADC_VIN", - "sysfsPath": "/run/devmap/sensors/PEM_ADC_MAX11645/in_voltage1_raw", - "type": 1, - "thresholds": { - "upperCriticalVal": 13.5, - "lowerCriticalVal": 10.9 - }, - "compute": "@*2.048*7.64/4096" - }, - { - "name": "PEM_ADC_VOUT", - "sysfsPath": "/run/devmap/sensors/PEM_ADC_MAX11645/in_voltage0_raw", - "type": 1, - "thresholds": { - "lowerCriticalVal": 10.8 - }, - "compute": "@*2.048*7.64/4096" - }, - { - "name": "PEM_ADC_VDROP", - "sysfsPath": "/run/devmap/sensors/PEM_ADC_MAX11645/in_voltage1-voltage0_raw", - "type": 1, - "thresholds": { - "upperCriticalVal": 0.08, - "lowerCriticalVal": 0 - }, - "compute": "@/1000.0" - }, - { - "name": "PEM_INTERNAL_TEMP", - "sysfsPath": "/run/devmap/sensors/PEM_TEMP_MAX6658/temp1_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - }, - { - "name": "PEM_EXTERNAL_TEMP", - "sysfsPath": "/run/devmap/sensors/PEM_TEMP_MAX6658/temp2_input", - "type": 3, - "thresholds": { - "upperCriticalVal": 85 - }, - "compute": "@/1000.0" - } - ] + "FAN3": { + "FAN3_RPM": { + "path": "/run/devmap/sensors/FAN_CPLD/fan3_input", + "thresholds": { + "upperCriticalVal": 29500.0, + "lowerCriticalVal": 2600.0 + }, + "type": 4 + } + }, + "FAN4": { + "FAN4_RPM": { + "path": "/run/devmap/sensors/FAN_CPLD/fan4_input", + "thresholds": { + "upperCriticalVal": 29500.0, + "lowerCriticalVal": 2600.0 + }, + "type": 4 + } + }, + "FAN5": { + "FAN5_RPM": { + "path": "/run/devmap/sensors/FAN_CPLD/fan5_input", + "thresholds": { + "upperCriticalVal": 29500.0, + "lowerCriticalVal": 2600.0 + }, + "type": 4 + } + }, + "RACKMON": { + "FS_FAN_RPM": { + "path": "/run/devmap/sensors/FS_FAN_SLG4F4527/fan1_input", + "thresholds": { + "upperCriticalVal": 29500.0, + "lowerCriticalVal": 2600.0 + }, + "type": 4 + } + }, + "PEM": { + "PEM_ECB_VOUT_CH1": { + "path": "/run/devmap/sensors/PEM_ECB_MAX5970/in1_input", + "thresholds": { + "upperCriticalVal": 14.0 + }, + "compute": "(15.5*@)/1000.0", + "type": 1 + }, + "PEM_ECB_VOUT_CH2": { + "path": "/run/devmap/sensors/PEM_ECB_MAX5970/in2_input", + "thresholds": { + "upperCriticalVal": 14.0 + }, + "compute": "(15.5*@)/1000.0", + "type": 1 + }, + "PEM_ECB_IOUT_CH1": { + "path": "/run/devmap/sensors/PEM_ECB_MAX5970/curr1_input", + "thresholds": { + "upperCriticalVal": 60.0, + "lowerCriticalVal": 0.5 + }, + "compute": "(48390/343)*@/1000.0", + "type": 2 + }, + "PEM_ECB_IOUT_CH2": { + "path": "/run/devmap/sensors/PEM_ECB_MAX5970/curr2_input", + "thresholds": { + "upperCriticalVal": 60.0, + "lowerCriticalVal": 0.5 + }, + "compute": "(48390/343)*@/1000.0", + "type": 2 + }, + "PEM_ADC_VIN": { + "path": "/run/devmap/sensors/PEM_ADC_MAX11645/in_voltage1_raw", + "thresholds": { + "upperCriticalVal": 13.5, + "lowerCriticalVal": 10.9 + }, + "compute": "@*2.048*7.64/4096", + "type": 1 + }, + "PEM_ADC_VOUT": { + "path": "/run/devmap/sensors/PEM_ADC_MAX11645/in_voltage0_raw", + "thresholds": { + "lowerCriticalVal": 10.8 + }, + "compute": "@*2.048*7.64/4096", + "type": 1 + }, + "PEM_ADC_VDROP": { + "path": "/run/devmap/sensors/PEM_ADC_MAX11645/in_voltage1-voltage0_raw", + "thresholds": { + "upperCriticalVal": 0.08, + "lowerCriticalVal": 0.0 + }, + "compute": "@/1000.0", + "type": 1 + }, + "PEM_INTERNAL_TEMP": { + "path": "/run/devmap/sensors/PEM_TEMP_MAX6658/temp1_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 3 + }, + "PEM_EXTERNAL_TEMP": { + "path": "/run/devmap/sensors/PEM_TEMP_MAX6658/temp2_input", + "thresholds": { + "upperCriticalVal": 85.0 + }, + "compute": "@/1000.0", + "type": 3 + } } - ] + } }