sysd_monitor: Create default monitoring json
This will be the default json used by phosphor layer for monitoring and
error creation
Change-Id: Idb387c7e2ef8e037927d860249d3d340175bbf1a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/phosphor-target-monitor-default.json b/phosphor-target-monitor-default.json
new file mode 100644
index 0000000..22fe2c9
--- /dev/null
+++ b/phosphor-target-monitor-default.json
@@ -0,0 +1,29 @@
+{
+ "targets" : {
+ "multi-user.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.BMC.Error.MultiUserTargetFailure"},
+ "obmc-chassis-poweron@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Chassis.Error.PowerOnFailure"},
+ "obmc-chassis-poweroff@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Chassis.Error.PowerOffFailure"},
+ "obmc-host-start@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Host.Error.HostStartFailure"},
+ "obmc-host-startmin@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Host.Error.HostStartMinFailure"},
+ "obmc-host-shutdown@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Host.Error.HostShutdownFailure"},
+ "obmc-host-stop@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Host.Error.HostStopFailure"},
+ "obmc-host-reboot@0.target" : {
+ "errorsToMonitor": ["default"],
+ "errorToLog": "xyz.openbmc_project.State.Host.Error.HostRebootFailure"}
+ }
+}
+