SARG - Squid Analysis Report Generator
顧名思義 就是產生 Squid Report
下載網址 http://sarg.sf.net/
如果要使用繪圖功能請安裝 gd-devel
程式安裝步驟
1. run ./configure
configure options:
--enable-bindir=where sarg binary will be saved
default: /usr/bin
--enable-sysconfdir - where the configuration directory is
default: /usr/local/sarg
--enable-htmldir - where the www html root dir is
default: /var/www/html
--enable-mandir - where the sarg man page will be saved
default: /usr/local/man/man1
這裡我們用
./configure --enable-sysconfdir=/etc/sarg --with-gd
2. make
3. make install
4. Go to /etc/sarg (or file entered with --sysconfdir on configure)
and change sarg.conf as you need.
建議可以修改的選項
a. 基本選項
access_log /var/log/squid/access.log
output_dir /var/www/html/sarg
overwrite_report yes
b. 如果有使用 gd 畫圖
charset Windows-1251
c. 如果 Squid 整合 AD
ntlm_user_format domainname+username
Wednesday, December 06, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment