diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-03-23 21:36:12 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-03-23 21:36:12 +0000 |
commit | 91886ce1f5d3e1115130b97b13b72241ff54246d (patch) | |
tree | 72d66720bf6b27b41bb5f57cc80906b64caacf18 | |
parent | 31175e113c6f2380885e1be9e5cb67ab4e9f5061 (diff) | |
download | sitesummary-91886ce1f5d3e1115130b97b13b72241ff54246d.tar.gz sitesummary-91886ce1f5d3e1115130b97b13b72241ff54246d.tar.bz2 sitesummary-91886ce1f5d3e1115130b97b13b72241ff54246d.tar.xz |
Save some time when collecting cdp information by skipping the
loopback interface. It is unlikely to be connected to a Cisco
switch.
-rw-r--r-- | collect.d/system | 1 | ||||
-rw-r--r-- | debian/changelog | 8 |
2 files changed, 9 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 diff --git a/debian/changelog b/debian/changelog index d6308d2..f9e11da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sitesummary (0.0.63) UNRELEASED; urgency=low + + * Save some time when collecting cdp information by skipping the + loopback interface. It is unlikely to be connected to a Cisco + switch. + + -- Petter Reinholdtsen <pere@debian.org> Tue, 23 Mar 2010 22:35:46 +0100 + sitesummary (0.0.62) unstable; urgency=low * Upload to unstable with correct dist. The last upload |