I am using GNU/Linux OpenSUSE 11.3 as server operating system for this tutorial. Make easy to read your squid access report, install the sarg application follow this link. With sarg you can monitor the user activities that using squid as the cache server. To make the sarg report automatically using cron please follow this instruction. If u have problem yo can comment in this page or yoy can mail me faturr [at] gmail.com. Thank you for reading.
$ sudo vi /etc/sysconfig/sarg
RUN_SARGREPORT=yes
$ sudo crontab -e
#sarg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
00 08-18/1 * * * sarg-reports today
00 00 * * * sarg-reports daily
00 01 * * 1 sarg-reports weekly
30 02 1 * * sarg-reports monthly
The preview edit is look like like this image.
The sarg report is look like this.
Problem with installation and configuration? We can help you or your company. Call +62 888 198 0879 or +62 821 337 600 29.
No comments:
Post a Comment