meta-ibm: update health metric config
Based on the updated config schema for health metric, change the config
for IBM platforms. The storage metric exposes storage free rather than
storage used, hence update the thresholds for lower bound accordingly.
Related diff from phosphor-health-monitor -
https://gerrit.openbmc.org/c/openbmc/phosphor-health-monitor/+/69592
Change-Id: I9e28a6e99e2d3e728dded8215f02ca39c6c95678
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/meta-ibm/recipes-phosphor/health/files/bmc_health_config.json b/meta-ibm/recipes-phosphor/health/files/bmc_health_config.json
index 39d8484..bb6e6e3 100644
--- a/meta-ibm/recipes-phosphor/health/files/bmc_health_config.json
+++ b/meta-ibm/recipes-phosphor/health/files/bmc_health_config.json
@@ -4,13 +4,13 @@
"Window_size": 120,
"Threshold":
{
- "Critical":
+ "Critical_Upper":
{
"Value": 90.0,
"Log": true,
"Target": ""
},
- "Warning":
+ "Warning_Upper":
{
"Value": 80.0,
"Log": false,
@@ -23,7 +23,7 @@
"Window_size": 120,
"Threshold":
{
- "Critical":
+ "Critical_Upper":
{
"Value": 85.0,
"Log": true,
@@ -37,9 +37,9 @@
"Window_size": 120,
"Threshold":
{
- "Critical":
+ "Critical_Lower":
{
- "Value": 85.0,
+ "Value": 15.0,
"Log": true,
"Target": ""
}
@@ -51,9 +51,9 @@
"Window_size":120,
"Threshold":
{
- "Critical":
+ "Critical_Lower":
{
- "Value": 85.0,
+ "Value": 15.0,
"Log": true,
"Target": ""
}