Add class to monitor for unit failures

This class has an analyze() method that will
check the state of a unit, and then stop or start
a target unit if the state is failed.

The units and the action are passed in via the constructor.

Change-Id: Ibc8e54b8371d2261eb55cce5825c5cee6d214bab
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
4 files changed
tree: 3b072935312874c6c79c3b69b125779fa8395144
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. .gitignore
  5. bootstrap.sh
  6. configure.ac
  7. LICENSE
  8. Makefile.am
  9. phosphor-mapper
  10. README.md
  11. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.