OPNsense Forum
English Forums => Web Proxy Filtering and Caching => Topic started by: ssbarnea on April 14, 2019, 04:52:01 pm
-
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.
-
you need a external tool like sarg or squidguard.
-
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.
-
I use Check_MK with Squid-Plugin. On OPNsense use these script:
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 ' = '
Sarg runs on OPNSense, too. I copied "sarg-reports" script from linux, so daily, weekly and monthly reports were generated by cron
-
xames: sorry, the alternative is called lightsqud. Both are available via pkg but not as a official plugin.
-
I am still hopping to find a simple solution for including a mini dashboard item regarding the caching status, not a hack.