summaryrefslogtreecommitdiffstats
path: root/fail-monitor/monitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-format updatesMatt Spinler2018-09-191-4/+5
| | | | | | | | Pick up latest clang-format from the docs repo and rerun with clang-format-6.0 Change-Id: I2f0411bb01d78f096563d63b197ce12daf43bcbd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* clang-format this repoEd Tanous2018-05-301-25/+13
| | | | | | | | Use the proper-clang-format file on this repository as required by the openbmc documentation. Change-Id: I4f1e0d707388605f1e818dfdc647533a335e5f2d Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Add class to monitor for unit failuresMatt Spinler2017-06-261-0/+132
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>
OpenPOWER on IntegriCloud