<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all<div class=""><br class=""></div><div class="">I add the sensor in entity-manager config like below</div><div class=""><div class="">{</div><div class=""> "Index": 2,</div><div class=""> "Name": "MB_VMEM",</div><div class=""> "PowerState": "On",</div><div class=""> "ScaleFactor": 1,</div><div class=""> "Thresholds": [</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 1.32</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 1.26</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 1.14</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 1.08</div><div class=""> }</div><div class=""> ],</div><div class=""> "Type": "ADC"</div><div class=""> },</div><div class=""> {</div><div class=""> "Index": 3,</div><div class=""> "Name": "MB_P12V",</div><div class=""> "PowerState": "On",</div><div class=""> "ScaleFactor": 0.23,</div><div class=""> "Thresholds": [</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 13.23</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 12.6</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 11.4</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 10.77</div><div class=""> }</div><div class=""> ],</div><div class=""> "Type": "ADC"</div><div class=""> },</div><div class=""> {</div><div class=""> "Index": 4,</div><div class=""> "Name": "MB_P5V",</div><div class=""> "PowerState": "On",</div><div class=""> "ScaleFactor": 0.55,</div><div class=""> "Thresholds": [</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 5.48</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 5.24</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 4.76</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 4.48</div><div class=""> }</div><div class=""> ],</div><div class=""> "Type": "ADC"</div><div class=""> },</div><div class=""> {</div><div class=""> "Index": 5,</div><div class=""> "Name": "MB_P5V_SB",</div><div class=""> "PowerState": "On",</div><div class=""> "ScaleFactor": 0.25,</div><div class=""> "Thresholds": [</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 5.48</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "greater than",</div><div class=""> "Name": "upper non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 5.24</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower non critical",</div><div class=""> "Severity": 0,</div><div class=""> "Value": 4.76</div><div class=""> },</div><div class=""> {</div><div class=""> "Direction": "less than",</div><div class=""> "Name": "lower critical",</div><div class=""> "Severity": 1,</div><div class=""> "Value": 4.48</div><div class=""> }</div><div class=""> ],</div><div class=""> "Type": "ADC"</div><div class=""> },</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I use the busctrl command to see MB_P5V_SB information, it is normal.</div><div class="">root@fws7830bmc:~# busctl introspect --no-pager xyz.openbmc_project.EntityManager /xyz/openbmc_project/inventory/system/board/FWS7830_<br class="">Baseboard/MB_P5V<br class="">NAME TYPE SIGNATURE RESULT/VALUE FLAGS<br class="">org.freedesktop.DBus.Introspectable interface - - -<br class="">.Introspect method - s -<br class="">org.freedesktop.DBus.Peer interface - - -<br class="">.GetMachineId method - s -<br class="">.Ping method - - -<br class="">org.freedesktop.DBus.Properties interface - - -<br class="">.Get method ss v -<br class="">.GetAll method s a{sv} -<br class="">.Set method ssv - -<br class="">.PropertiesChanged signal sa{sv}as - -<br class="">xyz.openbmc_project.Configuration.ADC interface - - -<br class="">.Index property t 4 emits-change<br class="">.Name property s "MB_P5V" emits-change<br class="">.PowerState property s "On" emits-change<br class="">.ScaleFactor property d 0.55 emits-change<br class="">.Type property s "ADC" emits-change<br class="">xyz.openbmc_project.Configuration.ADC.Thresholds0 interface - - -<br class="">.Delete method - - -<br class="">.Direction property s "greater than" emits-change writable<br class="">.Name property s "upper critical" emits-change writable<br class="">.Severity property d 1 emits-change writable<br class="">.Value property d 5.48 emits-change writable<br class="">xyz.openbmc_project.Configuration.ADC.Thresholds1 interface - - -<br class="">.Delete method - - -<br class="">.Direction property s "greater than" emits-change writable<br class="">.Name property s "upper non critical" emits-change writable<br class="">.Severity property d 0 emits-change writable<br class="">.Value property d 5.24 emits-change writable<br class="">xyz.openbmc_project.Configuration.ADC.Thresholds2 interface - - -<br class="">.Delete method - - -<br class="">.Direction property s "less than" emits-change writable<br class="">.Name property s "lower non critical" emits-change writable<br class="">.Severity property d 0 emits-change writable<br class="">.Value property d 4.76 emits-change writable<br class="">xyz.openbmc_project.Configuration.ADC.Thresholds3 interface - - -<br class="">.Delete method - - -<br class="">.Direction property s "less than" emits-change writable<br class="">.Name property s "lower critical" emits-change writable<br class="">.Severity property d 1 emits-change writable<br class="">.Value property d 4.48 emits-change writable</div><div class=""><br class=""></div><div class="">But I use "ipmitoo sensor” command, it return the error information below as</div>
MB P3V3 | 3.271 | Volts | ok | na | 2.947 | 3.046 | 3.511 | 3.596 | na <br class=""><font color="#ffaa00" class="">MB P5V | 2.982 | Volts | ok | na | 2.662 | 2.829 | 3.123 | 3.264 | na </font> <br class="">MB P5V SB | 5.048 | Volts | ok | na | 4.484 | 4.766 | 5.245 | 5.471 | na <br class=""><font color="#ffaa00" class="">MB P12V | 7.215 | Volts | ok | na | 6.386 | 6.723 | 7.429 | 7.829 | na </font></div><div class=""><font color="#ffaa00" class=""><br class=""></font></div><div class="">Please give me some advise.</div><div class=""><br class=""></div><div class="">Many thanks</div><div class="">Paul<font color="#ffaa00" class=""> </font></div><div class=""><br class=""></div></body></html>