Search squid archive

Re: How to use MRTG of Multiple httpd-accelerator mode ?

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

 



tis 2007-04-17 klockan 11:28 +0900 skrev Seonkyu Park:
> Hello Everyone
> I'm using squid for reverse proxy of several domains.
> 
> My squid.conf is below.
> 
> cache_peer 1.1.1.1 parent 80 0 no-query originserver no-digest
> cache_peer 2.2.2.2 parent 80 0 no-query originserver no-digest
> cache_peer 3.3.3.3 parent 80 0 no-query originserver no-digest
> 
> cache_peer_domain 1.1.1.1 www.abc.com
> cache_peer_domain 2.2.2.2 www.def.com
> cache_peer_domain 3.3.3.3 www.ghi.com
> 
> 
> I want mrtg graph each domains.
> 
> eg. 1.1.1.1 cache traffic graph
>       2.2.2.2 cache traffic graph
>       3.3.3.3 cache traffic graph
> 
> How can do this ?..

You can graph cache misses from the peer statistics. But there is no
per-domain hit statistics kept by Squid (only global).

Another option is to write a small script doing monitoring the
access.log online and feeding the results into mrtg/rrdtool.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux