THIS MODULE IS OBSOLETE. USE THE PYTHON ONE - IT SUPPORTS MULTIPLE JOBS AND IT IS MORE EFFICIENT
The plugin will monitor a squid server.
It will produce 4 charts:
- Squid Client Bandwidth in kbps
- in
- out
- hits
- Squid Client Requests in requests/sec
- requests
- hits
- errors
- Squid Server Bandwidth in kbps
- in
- out
- Squid Server Requests in requests/sec
- requests
- errors
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
If any succeeds, it will use this.
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 hostsquid_port=PORT
the port the squid is listeningsquid_url="URL"
the URL with the statistics to be fetched from squidsquid_timeout=SECONDS
how much time we should wait for squid to respondsquid_update_every=SECONDS
the frequency of the data collection
Example /etc/netdata/squid.conf
:
squid_host=127.0.0.1
squid_port=3128
squid_url="cache_object://127.0.0.1:3128/counters"
squid_timeout=2
squid_update_every=5