configs: Add thresholds on Storm King
Add thresholds to the sensors on IBM's Storm King op panel.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6053b304763cc802b04cd504ef1bdfe993acf0e3
diff --git a/configurations/storm_king.json b/configurations/storm_king.json
index db35849..212fad7 100644
--- a/configurations/storm_king.json
+++ b/configurations/storm_king.json
@@ -5,6 +5,22 @@
"Bus": 29,
"Name": "Ambient 1 Temp",
"Name1": "Station Pressure",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Index": 1,
+ "Name": "Ambient Upper Critical",
+ "Severity": 0,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Index": 1,
+ "Name": "Ambient Lower Critical",
+ "Severity": 0,
+ "Value": 0
+ }
+ ],
"Type": "DPS310"
},
{
@@ -21,18 +37,21 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 3,
"Name": "HardShutdown",
"Severity": 4,
"Value": 53
},
{
"Direction": "greater than",
+ "Hysteresis": 3,
"Name": "SoftShutdown",
"Severity": 3,
"Value": 48
},
{
"Direction": "greater than",
+ "Hysteresis": 3,
"Name": "Warning",
"Severity": 0,
"Value": 45
@@ -46,12 +65,43 @@
"Bus": 29,
"Name": "Ambient 2 Temp",
"Name1": "Relative Humidity",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Index": 1,
+ "Name": "Ambient Upper Critical",
+ "Severity": 0,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Index": 1,
+ "Name": "Ambient Lower Critical",
+ "Severity": 0,
+ "Value": 0
+ }
+ ],
"Type": "SI7020"
},
{
"Address": "0x48",
"Bus": 29,
"Name": "Ambient 0 Temp",
+ "PollRate": 1,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "Ambient Upper Critical",
+ "Severity": 0,
+ "Value": 100
+ },
+ {
+ "Direction": "less than",
+ "Name": "Ambient Lower Critical",
+ "Severity": 0,
+ "Value": 0
+ }
+ ],
"Type": "TMP75"
}
],