From e567dd24a8d943b4655ed2db74ce3639b05652bc Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Thu, 27 Apr 2017 12:27:17 -0500 Subject: phosphor-fan-monitor framework This application will monitor the actual speeds of fans (via their sensors) and compare them to their expected speeds. If a fan is too slow for too long, it will have its Functional property in the inventory set to false. If it starts working again, the property will be set back to true. It will use configuration data to say which fans to check and which values to use for various timeout and deviation parameters. Change-Id: Ic61613018a758727835b70f2df0ecd1bf12e8256 Signed-off-by: Matt Spinler --- monitor/Makefile.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 monitor/Makefile.am (limited to 'monitor/Makefile.am') diff --git a/monitor/Makefile.am b/monitor/Makefile.am new file mode 100644 index 0000000..44458bd --- /dev/null +++ b/monitor/Makefile.am @@ -0,0 +1,17 @@ +AM_DEFAULT_SOURCE_EXT = .cpp +AM_CPPFLAGS = -iquote ${top_srcdir} + +sbin_PROGRAMS = \ + phosphor-fan-monitor + +phosphor_fan_monitor_SOURCES = \ + main.cpp + +phosphor_fan_monitor_LDADD = \ + $(SDBUSPLUS_LIBS) \ + $(PHOSPHOR_LOGGING_LIBS) + +phosphor_fan_monitor_CXXFLAGS = \ + $(SDBUSPLUS_CFLAGS) \ + $(PHOSPHOR_LOGGING_CFLAGS) + -- cgit v1.2.1