aboutsummaryrefslogtreecommitdiffstats
path: root/collect.d/system
diff options
context:
space:
mode:
Diffstat (limited to 'collect.d/system')
-rw-r--r--collect.d/system1
1 files changed, 1 insertions, 0 deletions
diff --git a/collect.d/system b/collect.d/system
index 411e762..53485ae 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -73,6 +73,7 @@ fi
if type cdpr >/dev/null 2>&1; then
childs=""
for if in $(ip link show up|awk '/^[0-9]+:/ {print $2}' | cut -d: -f1) ; do
+ if [ lo = "$if" ] ; then continue; fi
cdpr -d $if -t 61 > cdpr.$if &
childs="$childs $!"
done