summaryrefslogtreecommitdiffstats
path: root/tools/dreport.d/plugins.d
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dreport.d/plugins.d')
-rw-r--r--tools/dreport.d/plugins.d/diskusage13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/dreport.d/plugins.d/diskusage b/tools/dreport.d/plugins.d/diskusage
new file mode 100644
index 0000000..54fb6b9
--- /dev/null
+++ b/tools/dreport.d/plugins.d/diskusage
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# config: 123 10
+# @brief: Collect disk usage information.
+#
+
+. $DREPORT_INCLUDE/functions
+
+desc="disk usage"
+file_name="disk-usage.log"
+command="df -hT"
+
+add_cmd_output "$command" "$file_name" "$desc"
OpenPOWER on IntegriCloud