summaryrefslogtreecommitdiffstats
path: root/charts.d/squid.chart.sh
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2014-05-12 01:17:38 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2014-05-12 01:17:38 +0300
commit6b21dd924c3f9fa908551e92db26dcd781894281 (patch)
treea3f94ce20ff10a7069e0305fb159a8beb84d3f6c /charts.d/squid.chart.sh
parent961e0b759e6db4ef2bfdb4375c1845cfa60892df (diff)
added support for giving duration in microseconds per plugin
Diffstat (limited to 'charts.d/squid.chart.sh')
-rwxr-xr-xcharts.d/squid.chart.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/charts.d/squid.chart.sh b/charts.d/squid.chart.sh
index 774187a821..a9f757f91d 100755
--- a/charts.d/squid.chart.sh
+++ b/charts.d/squid.chart.sh
@@ -49,24 +49,24 @@ squid_update() {
# write the result of the work.
cat <<VALUESEOF
-BEGIN squid.clients_net
+BEGIN squid.clients_net $1
SET client_http_kbytes_in = $client_http_kbytes_in
SET client_http_kbytes_out = $client_http_kbytes_out
SET client_http_hit_kbytes_out = $client_http_hit_kbytes_out
END
-BEGIN squid.clients_requests
+BEGIN squid.clients_requests $1
SET client_http_requests = $client_http_requests
SET client_http_hits = $client_http_hits
SET client_http_errors = $client_http_errors
END
-BEGIN squid.servers_net
+BEGIN squid.servers_net $1
SET server_all_kbytes_in = $server_all_kbytes_in
SET server_all_kbytes_out = $server_all_kbytes_out
END
-BEGIN squid.servers_requests
+BEGIN squid.servers_requests $1
SET server_all_requests = $server_all_requests
SET server_all_errors = $server_all_errors
END