Add threshold settings for SkylakeCPUs
This commit adds threshold settings into json configuration of
SkylakeCPUs. Only DIMM threshold settings are added because other
inputs are using hwmon sysfs attr files as actual settings.
Change-Id: I0c9fb5005fd1604b1eeb58fa1f1b7ced201c8e01
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
diff --git a/configurations/WFT Baseboard.json b/configurations/WFT Baseboard.json
index a3cc987..bf356c0 100644
--- a/configurations/WFT Baseboard.json
+++ b/configurations/WFT Baseboard.json
@@ -799,12 +799,44 @@
"cpu_id": 0,
"address": "0x30",
"name": "Skylake CPU 0",
+ "thresholds": [
+ {
+ "direction": "greater than",
+ "name": "upper critical",
+ "label": "DIMM",
+ "severity": 1,
+ "value": 99
+ },
+ {
+ "direction": "greater than",
+ "name": "upper non critical",
+ "label": "DIMM",
+ "severity": 0,
+ "value": 89
+ }
+ ],
"type": "SkylakeCPU"
},
{
"cpu_id": 1,
"address": "0x31",
"name": "Skylake CPU 1",
+ "thresholds": [
+ {
+ "direction": "greater than",
+ "name": "upper critical",
+ "label": "DIMM",
+ "severity": 1,
+ "value": 99
+ },
+ {
+ "direction": "greater than",
+ "name": "upper non critical",
+ "label": "DIMM",
+ "severity": 0,
+ "value": 89
+ }
+ ],
"type": "SkylakeCPU"
}
],
@@ -814,4 +846,4 @@
"part_number": "$BOARD_PART_NUMBER",
"serial_number": "$BOARD_SERIAL_NUMBER",
"probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': '.*WFT'})"
-}
\ No newline at end of file
+}