diff options
author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-11-03 06:11:09 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-11-10 16:26:23 +0000 |
commit | 622272764bb745f26f0afd8a9738f404f6739458 (patch) | |
tree | d094bc28a5816d5cc5c8858b5a73208d1e950c49 | |
parent | 61b12b82a40f9d60924590a9dcb346184e8115e1 (diff) | |
download | phosphor-debug-collector-622272764bb745f26f0afd8a9738f404f6739458.tar.gz phosphor-debug-collector-622272764bb745f26f0afd8a9738f404f6739458.zip |
dreport: Added ip address plugin
Change-Id: I1ec3489330abf23eaf87e26a12424d1949f3bf4b
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
-rw-r--r-- | tools/dreport.d/plugins.d/ipaddr | 13 |
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" |