configurations: catalina: add sensor threshold hysteresis
Set hysteresis to 2% of trigger threshold to ensure more precise
triggering assert and deassert of sensor threshold event log.
Add hysteresis setting for below config files:
- catalina_fio.json
- catalina_hdd_nvme.json
- catalina_hdd.json
- catalina_pdb.json
- catalina_scm.json
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I4df8f35f650fa73943214cee51e23e6a10884ad4
diff --git a/configurations/meta/catalina_fio.json b/configurations/meta/catalina_fio.json
index 12bcc5a..796a03c 100644
--- a/configurations/meta/catalina_fio.json
+++ b/configurations/meta/catalina_fio.json
@@ -13,12 +13,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.9,
"Name": "upper critical",
"Severity": 1,
"Value": 45
},
{
"Direction": "less than",
+ "Hysteresis": 0.1,
"Name": "lower critical",
"Severity": 1,
"Value": 5
@@ -33,12 +35,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.9,
"Name": "upper critical",
"Severity": 1,
"Value": 45
},
{
"Direction": "less than",
+ "Hysteresis": 0.1,
"Name": "lower critical",
"Severity": 1,
"Value": 5