Search squid archive

Re: configuring squid to go directly in case of upstream proxies are down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/05/2012 16:52, Eliezer Croitoru wrote:
you can do it using an external helper acl.
what i would do is a simple "heat beat" marker in a ramfs.
one loop that will run in the background and will check the status of
the parent cache_peer every 30 secs or 60 secs and in a case of a
failure to create a file in the ramfs\tmp that will indicate that the
parent proxy is down.

two scripts are included for PROXY heartbeat check.

Eliezer

<SNIP>
Added into my git repo
https://github.com/elico/squid-helpers/tree/master/squid_helpers/proxy_hb_check

also built a ruby proxystatcheck.rb external helper with cache to lower the disk I\O on every url check.

Eliezer

--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux