commit | 50bf816a6e4801d4f529a1bd2252a97366df880a | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Feb 01 16:24:01 2021 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon Feb 22 16:41:48 2021 +0000 |
tree | f06c1e0baa3061f2a34a011533bfa4054a64831a | |
parent | 403d1f5229e0058b0398eb4b63a4a602ada4fc83 [diff] |
sensor-mon: Check for threshold alarms on startup Add the functionality to the ThresholdAlarmLogger class to check for any active alarms on startup and make a createEventLog() call for them. It also keeps track of the alarm values so that the propertiesChanged handler can know if an alarm changed state or is just new. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I0dec7fc7c42d5007c1466700470faefbf6976dff