minor squid fixes
paulfantom committed
Jul 13, 2016 at 12:23 UTC
96756a858235fbfd104f31bbd923da4498494746
1 file changed
+4
-4
python.d/squid.chart.py
+4
-4
@@ -14,7 +14,7 @@ ORDER = ['clients_net', 'clients_requests', 'servers_net', 'servers_requests']
14
15
CHARTS = {
16
'clients_net': {
17
- 'options': [None, "Squid Client Bandwidth", "kilobits/s", "clients", "squid.clients.net" "area"],
17
+ 'options': [None, "Squid Client Bandwidth", "kilobits/s", "clients", "squid.clients.net", "area"],
18
'lines': [
19
["client_http_kbytes_in", "in", "incremental", 8, 1],
20
["client_http_kbytes_out", "out", "incremental", -8, 1],
@@ -23,12 +23,12 @@ CHARTS = {
23
'clients_requests': {
24
'options': [None, "Squid Client Requests", "requests/s", "clients", "squid.clients.requests", 'line'],
25
'lines': [
26
- ["client_http_requests", "requests"],
27
- ["client_http_hits", "hits"],
26
+ ["client_http_requests", "requests", "incremental"],
27
+ ["client_http_hits", "hits", "incremental"],
28
["client_http_errors", "errors", "incremental", -1, 1]
29
]},
30
'servers_net': {
31
- 'options': [None, "Squid Server Bandwidth", "kilobits/s", "servers", "squid.servers.net" "area"],
31
+ 'options': [None, "Squid Server Bandwidth", "kilobits/s", "servers", "squid.servers.net", "area"],
32
'lines': [
33
["server_all_kbytes_in", "in", "incremental", 8, 1],
34
["server_all_kbytes_out", "out", "incremental", -8, 1]