dreport: Added systemd failed units plugin

Plugin used for collecting systemd failed units
information.

Change-Id: Icc5f910f613b78fef2e7e557ddfe85692904bce2
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/tools/dreport.d/plugins.d/failedservices b/tools/dreport.d/plugins.d/failedservices
new file mode 100644
index 0000000..2d0113e
--- /dev/null
+++ b/tools/dreport.d/plugins.d/failedservices
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# config: 123 10
+# @brief: Collect failed services information.
+#
+
+. $DREPORT_INCLUDE/functions
+
+desc="failed services"
+file_name="failed-services.log"
+command="systemctl --failed"
+
+add_cmd_output "$command" "$file_name" "$desc"