Search squid archive

RE: Alerting when cache Peer is used.

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

 



2010/09/20 12:40:56| WARNING: Forwarding loop detected for:
Client: 10.25.88.175 http_port: 10.1.82.175:8080

As far as alerts are concerned i got your point thanks!
 
i am getting these kind of messages in my cache.log can i ignore these warnings in reference to my requirements(internet backup path of each other) or i need to make some configuration changes. Please guide
 
thanking you &
 
regards,
 
Bilal Aslam

----------------------------------------
> Date: Fri, 17 Sep 2010 23:31:55 +1200
> From: squid3@xxxxxxxxxxxxx
> To: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  Alerting when cache Peer is used.
>
> On 17/09/10 23:14, GIGO . wrote:
>>
>> I have configured my proxy servers in two regions for backup internet path of each other by declaring the following directives.
>>
>> Directives on Proxy A:
>>
>> cache_peer A parent 8080 0 proxy-only
>> prefer_direct on
>> nonhierarchical_direct off
>> cache_peer_access A allow all
>>
>>
>> Directives on Proxy B:
>>
>> cache_peer B parent 8080 0 proxy-only
>> prefer_direct on
>> nonhierarchical_direct off
>> cache_peer_access B allow all
>>
>>
>> Is there a way that whenever a peer cache is used an email alert is generated to the admins.
>>
>
> Not from Squid. That is a job for network availability software.
>
> You could hack up a script to scan squid access.log for the peer
> hierarchy codes (DIRECT or FIRST_UP_PARENT etc) being used.
>
>
> Note that the setting is only "prefer" _direct. It can go to the peer
> with perfectly working network access if the origin web server simply
> takes too long to reply to a connect attempt.
>
> Amos
> --
> Please be using
> Current Stable Squid 2.7.STABLE9 or 3.1.8
> Beta testers wanted for 3.2.0.2 		 	   		  


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

  Powered by Linux