Monitoring Squid dengan squidmon.py dari urykhy


https://i2.wp.com/www.gstatic.com/codesite/ph/images/defaultlogo.png

Gimana Sih caranya mengetahui bahwa performance dari squid kita ?
berikut sedikit Tips http://code.google.com/u/urykhy/

buka console
kemudian masuk ke

cd /var/log/squid/

download file squidmon.py

wget http://squidmon.googlecode.com/svn/trunk/squidmon.py

pastikan file squidmon.py telah didownload

ls

ubah permession file squidmun.py

chmod 777 squidmon.py

kemudian exekusi file tersebut dengan perintah

cat /var/log/squid/access.log | ./squidmon.py

maka akan performance squid akan di tampilkan seperti ini

cache effect: 12.02%, save 28668.19K of 238456.12K
most accessed sites (by traffic)
URI Kbytes Ratio
download.windowsupdate.com 50851 0.64
dnl-00.geo.kaspersky.com 44885 0.00
au.download.windowsupdate.com 13564 0.00
armdl.adobe.com 11642 0.00
profile.ak.fbcdn.net 8116 19.94
safebrowsing-cache.google.com 6796 2.15
www.facebook.com 5679 0.18
ekartama.com 5251 36.88
dnl-17.geo.kaspersky.com 4926 12.81
3347-mozilla.voxcdn.com 4695 0.00
id.jobsdb.com 4372 2.12
sphotos.ak.fbcdn.net 3065 39.84
ud-pc.com 2877 0.00
www.bolanews.com 2318 46.41
content.jobsdb.co.id 2239 59.44
dnl-14.geo.kaspersky.com 2217 2.16
download.nullsoft.com 2185 100.00
v19.lscache5.c.youtube.com 2100 0.00
openx2.tempointeraktif.com 2050 15.40
dl.google.com 1898 0.00
static.ak.fbcdn.net 1877 98.41
creative.ak.fbcdn.net 1768 66.57
waspada.co.id 1685 46.85
www.gtopala.com 1664 0.08
image.tempointeraktif.com 1483 72.53

sekian, terima kasih. mohon keritik dan sarannya

3 Comments to “Monitoring Squid dengan squidmon.py dari urykhy”

  1. Thanks gan..

    nice tutorial..

    keep posting, numpang nampang d pageone yo.. ^_^

  2. makasih byk gan.

    keep posting

  3. kalo misal cuma dapat 11-12% trus diapakan?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: