Ada banyak cara membuat graphing tool utility untuk monitoring traffiknya squid, baik ntu MRTG, Squidgraph, Cacti, dll. Namun kali ini nubi ini mencoba berbagi sedikit ilmu yg ane punya..maklum nubi..
… To the Point ….Bikin Graphing Traffic Cumi make Squidstats
please login or register. simple registration is needed to see the content
setelah itu
1. install paket pendukung yg dibutuhkan oleh squid stats graph
please login or register. simple registration is needed to see the content
2. install pendukung perl
please login or register. simple registration is needed to see the content
3. Copy & paste file mib.txt -> /etc/squid/ dan file snmpd.conf -> /etc/snmp/
untuk squid.conf tambahkan berikut ini :
please login or register. simple registration is needed to see the content
setelah ditambah baris diatas maka restart squid
4. extract squidstats package dan edit pada file Makefile.defaults menjadi bagian seperti ini
please login or register. simple registration is needed to see the content
STATS_USER ?= proxy sesuai in ama user n groupnya:D
>5. Compile squidstats dan install
>5. Compile squidstats dan install
please login or register. simple registration is needed to see the content
6. Jalankan createdb dan gather squidstats
please login or register. simple registration is needed to see the content
7. edit crontab -e dan tambahkan baris ini:
please login or register. simple registration is needed to see the content
8. buat file didalam direktory /etc/apache2/conf.d dengan nama squidstats.conf dengan isi berikut
please login or register. simple registration is needed to see the content
copykan file “graph.css” ke/var/www/
9. Restart Apache
please login or register. simple registration is needed to see the content
jadi deh kek gini
ngeceknya ketik in di bwowser ip-proxy/squidstats/graph-summary.cgi?graph=all&range=1d&refresh_time=300
untuk bwt ngambil data yg uda ane punya bisa di ambil dari sini



jgn ada pertamax nya ya …
nice info pai… semakin banyak bahan ane… , alhamdulillah
thx sharing ny gan
izin kopas pai…
mmm…anu, ane mesti posting baru bisa lugin, knp ya
matur tengkyu mas bro TS …. sangat membantu saya .. terima kasih
sama2 um..
ERROR:Could not save png to ‘/var/db/squidstats/graphs/ipcachereq.1d.png’
itu knp ya gan?
udah diinstall belum paket pendykung squidstatsnya gan?
udah lengkap gan sesui petunjuk,knp ya
libpngnya di install manual ato otamatis dari apt??
otomatis dari apt
mau nanya nich gan…
kok pada saat aku restart apache2 keluar eror kayak gini yah
root@proxy:/var/www# service apache2 restart
* Restarting web server apache2 apache2: Syntax error on line 233 of /etc/apache2/apache2.conf: Syntax error on line 7 of /etc/apache2/conf.d/squidstats.conf: /etc/apache2/conf.d/squidstats.conf:7: was not closed.
[fail]
root@proxy:/var/www#
mohon pencerahannya.makasih sebelumnya…
buat file didalam direktory /etc/apache2/conf.d dengan nama squidstats.conf dengan isi berikut
ScriptAlias /squidstats/ “/usr/local/www/cgi-bin/”
AllowOverride None
Options +ExecCGI -Multiviews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Alias /graphs/ “/var/db/squidstats/graphs/”
Restart Apache
service apache2 restart
silahkan coba gan
kayaknya gw tau neh tutorial
Gan mo tanya kok pas di masuki perintah ini
# squidstats.pl gather
Use of uninitialized value $r[0] in join or string at /usr/local/bin/squidstats.pl line 97.
ERROR: opening ‘/db/squidstats/rrd/squid.rrd’: No such file or directory
Mohon pencerahannya Gan…
Trims
coba perhatikan errornya itu gan….
trus apa semua package nya uda ada
dak ngerti di no.3 yg di atas
bisa tolong di jelasin master
thanks..
nice article !
kok payah kali dan login tapi penampakan dak muncul2
coba teken F5
Dah dicoba… hm, tapi graphnya gak mau nongpoy kenapa ya pai? Dah running 5 menitan, tapi masih blank…. cuma ada menu select doank.

[code]root@debian:/usr/src/squidstats-r54# crontab -e */5 * * * * /usr/local/bin/squidstats.pl gather >/dev/null
crontab: usage error: no arguments permitted after this option
usage: crontab [-u user] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
(default operation is replace, per 1003.2)
-e (edit user's crontab)
-l (list user's crontab)
-r (delete user's crontab)
-i (prompt before deleting user's crontab)[/code]
knp yah gan ane pake debian squeeze
crontab -e dulu mas
baru keluar buat masukin timing buat ngelognya
BYUUUUH2 AKU NDOK KENE TAMBAH PUINTER
poin nomor 3 tolong dijelaskan lagi..
mau di copy dimana??file apa saja yang mau di copy?
udah dicoba tapi blankk…payah nihh….kasih pencerahannya donk..