dreport: Added OBMC console log plugin
Plugin used for collecting OBMC console log data.
Change-Id: I959442e7a1c4cc78934b49a10326f8c16920637a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/tools/dreport.d/plugins.d/obmcconsole b/tools/dreport.d/plugins.d/obmcconsole
new file mode 100644
index 0000000..e8d6ef2
--- /dev/null
+++ b/tools/dreport.d/plugins.d/obmcconsole
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# config: 2 25
+# @brief: Collect OBMC console log.
+#
+
+. $DREPORT_INCLUDE/functions
+
+desc="OBMC console log"
+file_name="/var/log/obmc-console.log"
+
+add_copy_file "$file_name" "$desc"