diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-08-09 13:22:02 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-29 20:15:45 +0000 |
commit | d35ec0e40a7813e0566f7dc5dffe1a432e790d0b (patch) | |
tree | eb5c4c998db32e6b609536b2db3b425f945f5cb7 /meta-openbmc-machines/meta-openpower/meta-ibm | |
parent | 0ef5e444588187a03b8a6a50637cf45b8690d2ec (diff) | |
download | talos-openbmc-d35ec0e40a7813e0566f7dc5dffe1a432e790d0b.tar.gz talos-openbmc-d35ec0e40a7813e0566f7dc5dffe1a432e790d0b.zip |
Create error log when cores are too hot
Update the witherspoon thermal-policy PDM yaml
to create an error log when more than 3 cores are > 115C.
Change-Id: Icbf9125f922117dfece42f58e22d504fdcb58561
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml index 185ccef08..84b6b9a02 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml @@ -149,6 +149,7 @@ members: - shutdown - log + - create criticalhigh error - name: shutdown description: > @@ -174,3 +175,16 @@ properties: core temp severity: ERR message: The system is too hot. Shutting down. + +- name: create criticalhigh error + description: > + 'Create a CriticalHigh Error log.' + class: callback + callback: elog + paths: core sensors + properties: core temp + error: xyz::openbmc_project::Sensor::Threshold::Error::CriticalHigh + metadata: + - name: xyz::openbmc_project::Sensor::Threshold::CriticalHigh::SENSOR_TYPE + value: temperature + type: string |