sensor reaction
Matt Spinler
mspinler at linux.ibm.com
Tue Feb 11 02:03:52 AEDT 2025
On 2/10/2025 1:25 AM, Jeff9 Chan(陳松儉_ASRockRack) wrote:
> Hi all, With entity manager, dbus-sensors, we can have event log for
> sensor threshold, how to add more action for it? For example we should
> shutdown host if a leak sensor reached critical state, can we start
> another service according to sensor
>
>
> Hi all,
>
> With entity manager, dbus-sensors, we can have event log for
> sensor threshold, how to add more action for it? For example we should
> shutdown host if a leak sensor reached critical state, can we start
> another service according to sensor status? phosphor-dbus-monitor? Any
> better solution?
>
Hi,
https://github.com/openbmc/phosphor-fan-presence/tree/master/docs/sensor-monitor
will do shutdowns by looking for assertions on the SoftShutdown or
HardShutdown
threshold interfaces.
You're welcome to add anything else there. In the past I've used
phosphor-dbus-monitor
to do things like that, though I've found it can be tough to debug when
it doesn't work.
> best regards
>
> **
>
> *Jeff Chan*
>
> *ASRock Inc. *
>
> *Tel: +886-2-55599600 ext.38670*
>
More information about the openbmc
mailing list