LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to use SARG (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-sarg-839221/)

abdulmateen 10-20-2010 04:07 AM

how to use SARG
 
I have installed and configured Squid ver: 2.6.STABLE21, and installed SARG rpm (sarg-2.3-2.el5.test.i386.rpm). the problem is how to use SARG without webmin.
I want to view report.

prayag_pjs 10-20-2010 04:15 AM

Use the sarg-reports command to generate reports as shown below.

# to generate the report for today
Quote:

sarg-report today
# on daily basis
Quote:

sarg-report daily
# on weekly basis
Quote:

sarg-report weekly
# on monthly basis
Quote:

sarg-report monthly
Note: Add the sarg-report to the crontab.

The reports generated by sarg are stored under /var/www/squid-reports. These are html reports can you can view from a browser.

Quote:

$ ls /var/www/squid-reports
Daily index.hyml
Quote:

$ ls /var/www/squid-reports/Daily
2010Aug28-2010Aug28 images index.html


All times are GMT -5. The time now is 05:06 PM.