From 574098461cd45be12a497afbdac6f93c58978387 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 3 Sep 2019 12:23:38 +0200 Subject: Adding upstream version 1.17.0. Signed-off-by: Daniel Baumann --- collectors/charts.d.plugin/squid/README.md | 48 +++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'collectors/charts.d.plugin/squid') diff --git a/collectors/charts.d.plugin/squid/README.md b/collectors/charts.d.plugin/squid/README.md index cfb61790a..831a04f73 100644 --- a/collectors/charts.d.plugin/squid/README.md +++ b/collectors/charts.d.plugin/squid/README.md @@ -7,50 +7,50 @@ The plugin will monitor a squid server. It will produce 4 charts: -1. **Squid Client Bandwidth** in kbps +1. **Squid Client Bandwidth** in kbps - * in - * out - * hits +- in +- out +- hits -2. **Squid Client Requests** in requests/sec +2. **Squid Client Requests** in requests/sec - * requests - * hits - * errors +- requests +- hits +- errors -3. **Squid Server Bandwidth** in kbps +3. **Squid Server Bandwidth** in kbps - * in - * out +- in +- out -4. **Squid Server Requests** in requests/sec +4. **Squid Server Requests** in requests/sec - * requests - * errors +- requests +- errors -### autoconfig +## autoconfig The plugin will by itself detect squid servers running on localhost, on ports 3128 or 8080. It will attempt to download URLs in the form: -- `cache_object://HOST:PORT/counters` -- `/squid-internal-mgr/counters` +- `cache_object://HOST:PORT/counters` +- `/squid-internal-mgr/counters` If any succeeds, it will use this. -### configuration +## configuration If you need to configure it by hand, create the file `/etc/netdata/squid.conf` with the following variables: -- `squid_host=IP` the IP of the squid host -- `squid_port=PORT` the port the squid is listening -- `squid_url="URL"` the URL with the statistics to be fetched from squid -- `squid_timeout=SECONDS` how much time we should wait for squid to respond -- `squid_update_every=SECONDS` the frequency of the data collection +- `squid_host=IP` the IP of the squid host +- `squid_port=PORT` the port the squid is listening +- `squid_url="URL"` the URL with the statistics to be fetched from squid +- `squid_timeout=SECONDS` how much time we should wait for squid to respond +- `squid_update_every=SECONDS` the frequency of the data collection Example `/etc/netdata/squid.conf`: @@ -64,4 +64,4 @@ squid_update_every=5 --- -[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fcollectors%2Fcharts.d.plugin%2Fsquid%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)]() +[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fcollectors%2Fcharts.d.plugin%2Fsquid%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)](<>) -- cgit v1.2.3