summaryrefslogtreecommitdiffstats
path: root/collectors/charts.d.plugin/squid
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-03 10:23:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-03 10:23:38 +0000
commit574098461cd45be12a497afbdac6f93c58978387 (patch)
tree9eb60a5930b7c20d42f7fde1e234cae3968ed3d9 /collectors/charts.d.plugin/squid
parentAdding upstream version 1.16.1. (diff)
downloadnetdata-0f1fa13e6d6436678dcf4d0695c36d200ccee93c.tar.xz
netdata-0f1fa13e6d6436678dcf4d0695c36d200ccee93c.zip
Adding upstream version 1.17.0.upstream/1.17.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/charts.d.plugin/squid')
-rw-r--r--collectors/charts.d.plugin/squid/README.md48
1 files changed, 24 insertions, 24 deletions
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)](<>)