<div dir="ltr">HI all,<div><br></div><div>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.</div><div><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">name</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">: </span><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">check ambient_mb temp </span><br></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">description</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">></span><br></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">'If this condition passes at least one temp is running<br></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">too hot. log an event.'<br></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">class</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">condition</span><br></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">condition</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">count</span><br></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">paths</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">core sensors</span><br></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">properties</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">core temp</span><br></span></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">defer</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">20000000us</span><br></span></span></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">callback</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box">log the critical high event</span><br></span></span></span></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">countop</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-pds" style="box-sizing:border-box">'</span>>=<span class="gmail-pl-pds" style="box-sizing:border-box">'</span></span><br></span></span></span></span></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-pds" style="box-sizing:border-box"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">countbound</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197)">1</span><br></span></span></span></span></span></span></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-pds" style="box-sizing:border-box"><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197)"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">op</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98)"><span class="gmail-pl-pds" style="box-sizing:border-box">'</span>>=<span class="gmail-pl-pds" style="box-sizing:border-box">'</span></span><br></span></span></span></span></span></span></span></span></div><div><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-s" style="box-sizing:border-box"><span class="gmail-pl-pds" style="box-sizing:border-box"><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197)"><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(3,47,98)"><span class="gmail-pl-pds" style="box-sizing:border-box"><span class="gmail-pl-ent" style="box-sizing:border-box;color:rgb(34,134,58)">bound</span><span style="color:rgb(36,41,46)">: </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197)">31000</span><br></span></span></span></span></span></span></span></span></span></span></div><div>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).</div><div>So, is there any method to avoid it?Like event assert/de-assert that defined by IPMI sel log specific? </div></div>