Sensor Details

Thu Nguyen thu at amperemail.onmicrosoft.com
Fri Dec 25 11:28:03 AEDT 2020


On 12/24/20 22:53, Jayashree D wrote:
>
> Classification: *Public*
>
> Hi Team,
>
> Is there a way to get the details of sensor events like crossed 
> threshold/fault etc from any other service running on bmc (ex. 
> phosphor-led-manager).
>
> Please provide your inputs/suggestions on this.
>
> Regards,
>
> Jayashree
>
> ::DISCLAIMER::
> ------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and 
> intended for the named recipient(s) only. E-mail transmission is not 
> guaranteed to be secure or error-free as information could be 
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
> may contain viruses in transmission. The e mail and its contents (with 
> or without referred errors) shall therefore not attach any liability 
> on the originator or HCL or its affiliates. Views or opinions, if any, 
> presented in this email are solely those of the author and may not 
> necessarily reflect the views or opinions of HCL or its affiliates. 
> Any form of reproduction, dissemination, copying, disclosure, 
> modification, distribution and / or publication of this message 
> without the prior written consent of authorized representative of HCL 
> is strictly prohibited. If you have received this email in error 
> please delete it and notify the sender immediately. Before opening any 
> email and/or attachments, please check them for viruses and other defects.
> ------------------------------------------------------------------------

You can create the signal to monitor the properties of the sensor DBus 
object such as the threshold warning/errors.

When there is any event in signal properties the call back function will 
be called.

Then you can get the detail of sensor event.


Regards,

Thu Nguyen.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201225/3c215158/attachment-0001.htm>


More information about the openbmc mailing list