summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xyz/openbmc_project/Sensor/Threshold.errors.yaml7
-rw-r--r--xyz/openbmc_project/Sensor/Threshold.metadata.yaml10
2 files changed, 17 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Sensor/Threshold.errors.yaml b/xyz/openbmc_project/Sensor/Threshold.errors.yaml
new file mode 100644
index 0000000..4b8e5c0
--- /dev/null
+++ b/xyz/openbmc_project/Sensor/Threshold.errors.yaml
@@ -0,0 +1,7 @@
+# xyz.openbmc_project.Sensor.Threshold.CriticalHigh
+- name: CriticalHigh
+ description: Sensor device has exceeded its upper bound.
+
+# xyz.openbmc_project.Sensor.Threshold.CriticalLow
+- name: CriticalLow
+ description: Sensor device has exceeded its lower bound.
diff --git a/xyz/openbmc_project/Sensor/Threshold.metadata.yaml b/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
new file mode 100644
index 0000000..fa5ff1e
--- /dev/null
+++ b/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
@@ -0,0 +1,10 @@
+- name: CriticalHigh
+ level: ERR
+ meta:
+ - str: "SENSOR_TYPE=%s"
+ type: string
+- name: CriticalLow
+ level: ERR
+ meta:
+ - str: "SENSOR_TYPE=%s"
+ type: string
OpenPOWER on IntegriCloud