tree: 246d43426f51515382893fcf7ad317f5f1527b0f [path history] [tgz]
  1. service_files/
  2. alarm_timestamps.hpp
  3. main.cpp
  4. Makefile.am
  5. README.md
  6. shutdown_alarm_monitor.cpp
  7. shutdown_alarm_monitor.hpp
  8. types.hpp
sensor-monitor/README.md

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.

Currently, this monitor is enabled by default.