NAS: Display Squid cachemgr
In a previous post I detailed how to install Squid on a Synology DS107+. This post explains how you are able to include Squid’s cache-manager UI. This post is for advanced users and I am not going to re-explain how to configure a 3rd party application in the DS.
- Adjust your cachemgr.conf and include your Squid’s url. In my case this is an extra line with 172.16.0.97:8080
- Ensure that you have configured the correct ACLs for the cache-manager. If you took my squid.conf then you are fine.
- Test the cache-manager: squidclient -h 172.16.0.97 -p 8080 mgr:info
Squid Object Cache: Version 2.6.STABLE21 Start Time: Fri, 19 Sep 2008 13:57:53 GMT Current Time: Fri, 19 Sep 2008 14:08:44 GMT Connection information for squid: Number of clients accessing cache: 2 Number of HTTP requests received: 154 Number of ICP messages received: 0 Number of ICP messages sent: 0 Number of queued ICP replies: 0 Request failure ratio: 0.01 Average HTTP requests per minute since start: 14.2 Average ICP messages per minute since start: 0.0 Select loop called: 135277 times, 4.810 ms avg
- The Squid installation comes with the cachemgr.cgi in /opt/libexec/cachemgr.cgi. Best way is to symlink (ln -s) the file into your 3rd party-directory
With the above information you will be able to tune Squid accordingly.
Recent Comments