dreport: Added uptime plugin

Plugin used for collecting uptime command output data.

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