Monitoring Web Server Dengan AWSTATS
Monitoring Web Server Dengan AWSTATS
AWASTATS
AWStats adalah singkatan dari Advanced Web Statistics. AWStats
sangat powerful untuk log analyzer yang bisa digunakan untuk
memonitoring web, ftp, mail dan streaming server statistics.
Laporan disajikan dalam bentuk grafis dan statistik sehinnga
mudah untuk dibaca.
AWStats dapat dijalankan melalui browser web CGI (Common
Gateway Interface) atau langsung dari command line. AWStats ini
dapat dengan cepat menganalisa log file yang besar. AWStats
dapat menganalisa file log dari Apache (NCSA gabungan / XLF / ELF
atau umum / CLF log format), Microsoft IIS (log W3C format), dan
sebagian besar WebStar web, proxy, wap dan streaming media
server serta server ftp dan mail log.
anda dapat mengunduh file awstats di
http://awstats.sourceforge.net/ , untuk fitur-fitu yang ada di awstats
dilahkan baca saja diwebsitenya.
Instalasi.
Setelah anda mengunduh anda extrak filenya
#tar -xzvf awstats-6.9.zip
Direktori default awstats adalah /usr/local/awstats. Jika kita melakukan ekstrak tidak
pada direktori tersebut tidak masalah. Kita bisa pindahkan saja direktori hasil extrak
ke /usr/local/awstats, atau ke defaullt direktori apache ( /var/www/html).
# mv awstat-6.9 /var/www/html
Kemudian anda masuk ke dalam direktori awstat untuk mengeksekusi aplikasinya.
# cd /var/www/html/awstats/tools/
#perl awstats_configure.pl atau ./awstats_configure.pl
-—-> Running OS detected: Linux, BSD or Unix
Warning: AWStats standard directory on Linux OS is
‘/usr/local/awstats’.
If you want to use standard directory, you should first move all
content
of AWStats distribution from current directory:
/var/www/html/awstats
to standard directory:
/usr/local/awstats
And then, run configure.pl from this location.
Do you want to continue setup from this NON standard
directory [yN] ?
( Anda jawab dengan Y )
—–> Check for web server install
Enter full config file path of your Web server.
Example: /etc/httpd/httpd.conf
Example: /usr/local/apache2/conf/httpd.conf
Example: c:\Program files\apache group\apache\conf\httpd.conf
Config file path (’none’ to skip web server setup):
( masukan direktori sesuai dengan konfigurasi apache yang anda
miliki)
> /etc/httpd/conf/httpd.conf
—–> Need to create a new config file ?
Do you want me to build a new AWStats config/profile
file (required if first install) [y/N] ?
( jawab dengan y untuk membuat file config awstats )
-—-> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:
( Masukan nama domain yang anda miliki)
> www.fery.ok
A SIMPLE config file has been created:
/etc/awstats/awstats.www.fery.ok.ok.conf
You should have a look inside to check and change manually main
parameters.
You can then manually update your statistics for ‘www.fery.ok’ with
command:
> perl awstats.pl -update -config=www.fery.ok
You can also build static report pages for ‘www.fery.ok’ with
command:
> perl awstats.pl -output=pagetype -config=www.fery.ok
Press ENTER to finish…