fixed unit label
Costa Tsaousis (ktsaou) committed
Feb 24, 2015 at 15:41 UTC
093220efe3aea683d23d0abf1ac302588ea15f29
1 file changed
+4
-4
charts.d/squid.chart.sh
+4
-4
@@ -30,21 +30,21 @@ squid_check() {
30
squid_create() {
31
# create the charts
32
cat <<EOF
33
-CHART squid.clients_net '' "Squid Client Bandwidth" "kilobits / $squid_update_every sec" squid '' area 20001 $squid_update_every
33
+CHART squid.clients_net '' "Squid Client Bandwidth" "kilobits / sec" squid '' area 20001 $squid_update_every
34
DIMENSION client_http_kbytes_in in incremental 8 $((1 * squid_update_every))
35
DIMENSION client_http_kbytes_out out incremental -8 $((1 * squid_update_every))
36
DIMENSION client_http_hit_kbytes_out hits incremental -8 $((1 * squid_update_every))
37
38
-CHART squid.clients_requests '' "Squid Client Requests" "requests / $squid_update_every sec" squid '' line 20003 $squid_update_every
38
+CHART squid.clients_requests '' "Squid Client Requests" "requests / sec" squid '' line 20003 $squid_update_every
39
DIMENSION client_http_requests requests incremental 1 $((1 * squid_update_every))
40
DIMENSION client_http_hits hits incremental 1 $((1 * squid_update_every))
41
DIMENSION client_http_errors errors incremental -1 $((1 * squid_update_every))
42
43
-CHART squid.servers_net '' "Squid Server Bandwidth" "kilobits / $squid_update_every sec" squid '' area 20002 $squid_update_every
43
+CHART squid.servers_net '' "Squid Server Bandwidth" "kilobits / sec" squid '' area 20002 $squid_update_every
44
DIMENSION server_all_kbytes_in in incremental 8 $((1 * squid_update_every))
45
DIMENSION server_all_kbytes_out out incremental -8 $((1 * squid_update_every))
46
47
-CHART squid.servers_requests '' "Squid Server Requests" "requests / $squid_update_every sec" squid '' line 20004 $squid_update_every
47
+CHART squid.servers_requests '' "Squid Server Requests" "requests / sec" squid '' line 20004 $squid_update_every
48
DIMENSION server_all_requests requests incremental 1 $((1 * squid_update_every))
49
DIMENSION server_all_errors errors incremental -1 $((1 * squid_update_every))
50
EOF