diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-24 08:23:33 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-24 08:23:33 +0000 |
commit | afb17394a6a94e13cbb4ac468bf192af3bffa9a4 (patch) | |
tree | 3115022843661653da14c06a05c2a8555a227f99 /sitesummary-client | |
parent | cfe4805b3c5f2069a6b418ebdb3116cdf5e4f511 (diff) | |
download | sitesummary-afb17394a6a94e13cbb4ac468bf192af3bffa9a4.tar.gz sitesummary-afb17394a6a94e13cbb4ac468bf192af3bffa9a4.tar.bz2 sitesummary-afb17394a6a94e13cbb4ac468bf192af3bffa9a4.tar.xz |
Allow the client to report to several collectors.
Diffstat (limited to 'sitesummary-client')
-rw-r--r-- | sitesummary-client | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sitesummary-client b/sitesummary-client index f75461a..2f053da 100644 --- a/sitesummary-client +++ b/sitesummary-client @@ -7,7 +7,7 @@ set -e -serverurl=http://localhost/cgi-bin/sitesummary-collector.cgi +serverurls="http://localhost/cgi-bin/sitesummary-collector.cgi" fragdirs="/usr/lib/sitesummary/collect.d \ /etc/sitesummary/collect.d" @@ -37,6 +37,7 @@ for fragdir in $fragdirs ; do done tar zcf $tmpdir.tar.gz . - +for url in $serverurls ; do #WGETOPTS="--no-check-certificate" -wget $WGETOPTS --post-file $tmpdir.tar.gz -O $tmpdir.result $serverurl + wget $WGETOPTS --post-file $tmpdir.tar.gz -O $tmpdir.result $url +done |