diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2014-05-20 00:57:07 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2014-05-20 00:57:07 +0300 |
commit | 90617f2f1764ea72eb85b2f942847bab05558019 (patch) | |
tree | 98e8f7b706b96afee7934857c907a4d0dc132793 /charts.d/squid.chart.sh | |
parent | 00e7da4bb2a99baae57a7d4328ff5bab1bd7228b (diff) |
support for non-interpolated dimensions for both incremental and absolute values; fixed json date and number generation for smaller length; nonzero mode now generates at least a dimension without any data to allow proper chart rendering; when exiting the memory structures are not destroied so that other threads will not crash the server
Diffstat (limited to 'charts.d/squid.chart.sh')
-rwxr-xr-x | charts.d/squid.chart.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/charts.d/squid.chart.sh b/charts.d/squid.chart.sh index a9f757f91d..71f8bd0425 100755 --- a/charts.d/squid.chart.sh +++ b/charts.d/squid.chart.sh @@ -23,17 +23,17 @@ DIMENSION client_http_kbytes_out out incremental -8 1 DIMENSION client_http_hit_kbytes_out hits incremental -8 1 CHART squid.clients_requests '' "Squid Client Requests" "requests/s" squid '' line 20003 $update_every -DIMENSION client_http_requests requests incremental 1 1 -DIMENSION client_http_hits hits incremental 1 1 -DIMENSION client_http_errors errors incremental -1 1 +DIMENSION client_http_requests requests incremental-no-interpolation 1 1 +DIMENSION client_http_hits hits incremental-no-interpolation 1 1 +DIMENSION client_http_errors errors incremental-no-interpolation -1 1 CHART squid.servers_net '' "Squid Server Bandwidth" "kilobits/s" squid '' area 20002 $update_every DIMENSION server_all_kbytes_in in incremental 8 1 DIMENSION server_all_kbytes_out out incremental -8 1 CHART squid.servers_requests '' "Squid Server Requests" "requests/s" squid '' line 20004 $update_every -DIMENSION server_all_requests requests incremental 1 1 -DIMENSION server_all_errors errors incremental -1 1 +DIMENSION server_all_requests requests incremental-no-interpolation 1 1 +DIMENSION server_all_errors errors incremental-no-interpolation -1 1 EOF return 0 |