English Forums > Web Proxy Filtering and Caching

How to get some minima stats/reports from squid web proxy?

(1/2) > >>

ssbarnea:
While I was able to get Squid to work it seems that the plugin provides zero stats/reports regarding squid activity.

There is not way to find basic information like: cache size (mb), saved traffic (mb), hit/miss ratio, which network clients used the proxy.

fabian:
you need a external tool like sarg or squidguard.

xames:
How to install squidguard on opnsense then?

I don't know if squidguard is necesary, I only want to know something about my squid clients, seems nothing on opnsense for that? read information on readible format of course.

marcri:
I use Check_MK with Squid-Plugin. On OPNsense use these script:


--- Code: ---root@opn:~ # cat /opt/check_mk/plugins/squid
#!/bin/sh

if type squidclient > /dev/null 2>&1 ; then
  echo "<<<check_squid>>>"
 
/usr/local/sbin/squidclient -p 8080 -T2 mgr:5min | grep ' = '

--- End code ---

Sarg runs on OPNSense, too. I copied "sarg-reports" script from linux, so daily, weekly and monthly reports were generated by cron

fabian:
xames: sorry, the alternative is called lightsqud. Both are available via pkg but not as a official plugin.

Navigation

[0] Message Index

[#] Next page

Go to full version