Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.04 KB

File metadata and controls

29 lines (20 loc) · 1.04 KB

Sensor Monitor

This application can take action based on sensor thresholds and values.

Available Monitors

ShutdownAlarmMonitor

This monitor will watch all instances of the xyz.openbmc_project.Sensor.Threshold.HardShutdown and xyz.openbmc_project.Sensor.Threshold.SoftShutdown D-Bus interfaces for the alarm properties to trip. When this happens, a configurable timer is started at the end of which a power off is executed if the alarms haven't reset by that time. Event logs will also be created.

The configuration options SHUTDOWN_ALARM_HARD_SHUTDOWN_DELAY_MS and SHUTDOWN_ALARM_SOFT_SHUTDOWN_DELAY_MS can be used to change the delays.

ThresholdAlarmLogger

This monitor will watch the alarm properties on the following threshold D-Bus interfaces:

  • xyz.openbmc_project.Sensor.Threshold.Warning
  • xyz.openbmc_project.Sensor.Threshold.Critical
  • xyz.openbmc_project.Sensor.Threshold.PerformanceLoss

When the alarm properties are asserted, event logs are created. When they are deasserted, informational event logs are created.