Saturday 17 August 2013

Monitoring Proxy Squid dan lusca dengan Squidstat di ubuntu server



LANGKAH -LANGKAH MEMBUAT SQUIDSTATS

1. apt-get install librrds-perl libsnmp-session-perl snmpd rrdtool snmp apache2 -y

2. perl -MCPAN -e 'install Config::IniFiles'

3. wget http://jaringanwarnet.com/downloads/squidstats-r54.tar

4. tar -xvf squidstats-r54.tar

5. cd squidstats-r54

5. cp mib.txt /etc/squid/

6. cp snmpd.conf /etc/snmp/

8. untuk squid.conf tambahkan berikut ini :

snmp_port 3401

acl snmppublic snmp_community public

snmp_access allow snmppublic all

9. make && make install

10. snmpwalk -v 1 -c public localhost

11. squidstats.pl createdb

12. squidstats.pl gather

13. crontab -e (kemudian copy rule dibawah ini)

*/5 * * * * /usr/local/bin/squidstats.pl gather >/dev/null

14. cp squidstats.conf /etc/apache2/conf.d

15. reboot

16. cek hasilnya ke http://isi dg ipproxy/squidstats/graph-summary.cgi


Artikel Terkait:

Share This
Subscribe Here

0 comments:

 

Site Info

free counters

SyakirahNET Copyright © 2009 BeMagazine Blogger Template is Designed by Blogger Template
In Collaboration with fifa

Related Posts Plugin for WordPress, Blogger...