commit | d35ec0e40a7813e0566f7dc5dffe1a432e790d0b | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Wed Aug 09 13:22:02 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 29 20:15:45 2017 +0000 |
tree | eb5c4c998db32e6b609536b2db3b425f945f5cb7 | |
parent | 0ef5e444588187a03b8a6a50637cf45b8690d2ec [diff] |
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>
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 185ccef..84b6b9a 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