Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Adam on July 07, 2003, 05:38:26 AM

Title: generating SARG Reports
Post by: Adam on July 07, 2003, 05:38:26 AM
Hi there,

I have SARG installed on my e-snith 5.x server. When I use SARG Reports under the Administration section of Server Manager I can only see a period that was generated for me back in June.

How do I get other periods to appear ? Do I need to run something to get the other periods ?

cheers,

Adam
Title: Re: generating SARG Reports
Post by: Cyrus Bharda on July 07, 2003, 07:00:50 AM
Adam,

I dont know why you are only seeing those stats, but my SARG reports show every day/week/month since I started it, maybe the service has stopped, or was stopped?

Maybe you should check to see if it is running?

Cyrus Bharda
Title: Re: generating SARG Reports
Post by: Cyrus Bharda on July 07, 2003, 07:40:21 AM
Adam,

OK well found out that it does run via a crontab job, so firstly check to see if these lines are in your /etc/crontab file somewhere:

# Generate SARG reports

01 0 * * * root /usr/sbin/sarg.daily.e-smith &>/dev/null
05 0 * * 1 root /usr/sbin/sarg.weekly.e-smith &>/dev/null
10 0 1 * * root /usr/sbin/sarg.monthly.e-smith &>/dev/null

If they are in there and you are not getting erros from crontab everyday then I would reinstall, if they are not there, check to see if there is a template fragment here:

/etc/e-smith/templates/etc/crontab/sarg

If that template is not there, I would suggest reinstalling, but if it is there, I would sugest re-expanding the template:

/sbin/e-smith/expand-template /etc/e-smith/templates/etc/crontab

And then checking to see if it is the crontab file, if it is then wait overnight to see if it worked, if it didnt and everything is there I would just try uninstalling it and reinstalling it from scratch, that's all I can think of :-)

Cyrus Bharda
Title: Re: generating SARG Reports
Post by: alejanndro lengua on July 30, 2003, 11:43:45 PM
I wonder if SARG/Squid would also record Instant Messaging access
when accessed thru SME server in transparent proxy mode.