summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/dreport.d/plugins.d/ipaddr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/dreport.d/plugins.d/ipaddr b/tools/dreport.d/plugins.d/ipaddr
new file mode 100644
index 0000000..3f1159f
--- /dev/null
+++ b/tools/dreport.d/plugins.d/ipaddr
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# config: 2 30
+# @brief: Collect ip addr information.
+#
+
+. $DREPORT_INCLUDE/functions
+
+desc="ip addr"
+file_name="ipaddr.log"
+command="ip addr"
+
+add_cmd_output "$command" "$file_name" "$desc"
OpenPOWER on IntegriCloud