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.ilReceived on Thu May 31 2012 - 03:24:54 MDT
This archive was generated by hypermail 2.2.0 : Thu May 31 2012 - 12:00:05 MDT