summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2017-10-15 05:50:51 -0500
committerJayanth Othayoth <ojayanth@in.ibm.com>2017-10-24 10:12:07 -0500
commit74fe5e432be1690c2995693bf840b07c86aeaace (patch)
treeb2b4142346008d2cb4692062261a3b085eb1c800
parent14d790fe54f40b836cf160144fe4f8e91fe47036 (diff)
downloadphosphor-debug-collector-74fe5e432be1690c2995693bf840b07c86aeaace.tar.gz
phosphor-debug-collector-74fe5e432be1690c2995693bf840b07c86aeaace.zip
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>
-rw-r--r--tools/dreport.d/plugins.d/obmcconsole12
1 files changed, 12 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud