[Phosphor-logging] Is there any method to avoid same event to record Constantly.

tao-ching Yu yutaoc1984 at gmail.com
Tue Jan 16 18:52:30 AEDT 2018


HI all,

I have implemented the critical high event for sensors that referred by
example.yaml from phosphor-dbus-monitor. For example as below. When ambient
temperature over the critical threshold would log a critical event.
name: check ambient_mb temp
description: >
'If this condition passes at least one temp is running
too hot. log an event.'
class: condition
condition: count
paths: core sensors
properties: core temp
defer: 20000000us
callback: log the critical high event
countop: '>='
countbound: 1
op: '>='
bound: 31000
I have noticed that the "defer" which was an interval of the same
condition, but if the sensors keep over the critical high then the event
would be log every 20s and make the logging full(Maximum log number is 200).
So, is there any method to avoid it?Like event assert/de-assert that
defined by IPMI sel log specific?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180116/969ce2e1/attachment.html>


More information about the openbmc mailing list