summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-09-13 09:10:17 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-11-01 07:54:45 +0300
commit67aa1fd0a041be38f35229bed9b5123420b640e1 (patch)
treef6a8f2d8c9454d7af288fa27f613ba6ab67e283d
parentb8f52ae4caef899fdd97cea9d2175c260a0c912c (diff)
downloadopenbmc-67aa1fd0a041be38f35229bed9b5123420b640e1.tar.xz
meta-facebook: add memory usage warning threshold
Add a log only warning threshold at 70% memory usage. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I74c49efeaedacff20f59a646c2a8e37ec76b5e7f
-rw-r--r--meta-facebook/recipes-phosphor/health/files/bmc_health_config.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-facebook/recipes-phosphor/health/files/bmc_health_config.json b/meta-facebook/recipes-phosphor/health/files/bmc_health_config.json
index 0807bae899..2dd23974e5 100644
--- a/meta-facebook/recipes-phosphor/health/files/bmc_health_config.json
+++ b/meta-facebook/recipes-phosphor/health/files/bmc_health_config.json
@@ -28,6 +28,12 @@
"Value": 85.0,
"Log": true,
"Target": "reboot.target"
+ },
+ "Warning":
+ {
+ "Value": 70.0,
+ "Log": true,
+ "Target": ""
}
}
},