Tag Archives: Squid

Zabbix 2.2.5 Template for Squid 3.1.10

Zabbix server comes with a certain number of Templates. But what if the Template you need is not there? In my case it is a way to monitor a number of items connected to Squid proxy server. In that case, … Continue reading

Posted in Linux | Tagged , | Comments Off on Zabbix 2.2.5 Template for Squid 3.1.10

Blocking sites under Squid

I am working with a CentOS 6 server with Squid 3.1.10-20, which has a SquidGuard. There are three ways to do this : 1. Directly in /etc/squid/squid.conf : ************************** acl mynetwork src 10.0.0.0/8 Define the IP range for the ban … Continue reading

Posted in Linux | Tagged , , | Comments Off on Blocking sites under Squid

Squid analysis, part 3

And what, if you need, like I did, the time it takes proxy server (squid) to reach certain sites? Well, then you write a script that does precisely that, and you analyze the results 😉 And here is my script. … Continue reading

Posted in Linux | Tagged , | Comments Off on Squid analysis, part 3

Squid proxy, MRTG+SNMP – part 2

See previous post, how to make SNMP work and pull in Squid MIBs. MRTG (Multi Router Traffic Grapher) # yum install net-snmp* # yum install mrtg* # yum install gcc* # yum install gd* # yum install zlib* # yum … Continue reading

Posted in Linux | Tagged , , | Comments Off on Squid proxy, MRTG+SNMP – part 2

Squid proxy and working/response speed – part 1

This can be done in one of the two ways : 1. By hand, from a command line 2. Using SNMP queries from another host (or localhost), where there is a MRTG, Zabbix, Nagios or something similar. By hand, from … Continue reading

Posted in Linux | Tagged , | Comments Off on Squid proxy and working/response speed – part 1

Squid and Delay Pools

I need to set a certain throughput for VIP users (for limiting I already have Squish). Delay Pools look like something that can be used for this. Definitions : Delay pools provide a way to limit the bandwidth of certain … Continue reading

Posted in Linux | Tagged , | Comments Off on Squid and Delay Pools

Proxy/Squid slows down

One of the reasons that proxy server has slown down in its functions, can be that the response from its DNS servers is very slow (seee DNS servers named in /etc/resolv.conf file). So it would be good to have the … Continue reading

Posted in Linux | Tagged , | Comments Off on Proxy/Squid slows down

Squid+DansGuardian (DG)+Squish

See my earlier post, on methods to limit users through proxy server. Since I have found nothing (free) newer than Squish, for limiting total amount of data for users (per IP or username) for a defined amount of time, and … Continue reading

Posted in Linux | Tagged , , | Comments Off on Squid+DansGuardian (DG)+Squish

Limiting proxy

My combination : Squid+DG, and Squid+SG (SG = SquidGuard, DG = DansGuardian) What can be done, as far as the limitations go : 1. To limit size of the download file for user IP addresses 2. To limit a total … Continue reading

Posted in Linux | Tagged , , | Comments Off on Limiting proxy

If your Squid proxy starts acting up

If, all of the sudden, your users start saying that proxy is slow, here are the things that need checking : 1. Log size in /var/log/squid If it is near 2G, they need to be rotated : # service squid … Continue reading

Posted in Linux | Tagged , , | Comments Off on If your Squid proxy starts acting up