https://qa.mandrakesoft.com/show_bug.cgi?id=1020
Product: sarg
Component: documentation
Summary: Problems with default sarg configuration (sarg.conf)
Version: 1.3-0.PRE2.1mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
There are two bugs in the sarg.conf file shipped in the package.
The first is:
#output_dir /var/www/html/squid
which should be uncommented. It defaults to some very strange dir (rather
than that one). If it were possible to make it default to that one even with
that commented, that would make sense too. The other problem is:
# TAG: report_type type
# What kind of reports to generate.
# topsites - shows the site, connect and bytes
# sites&users - shows which users were accessing a site
# date/time - shows the amount of bytes used by day and hour
# denied - show all denied sites with full URL
# auth_failures - show autentication failures
#
# Eg.: report_type topsites denied
#
report_type topsites sites&users date/time denied auth_failures
which contains incorrect syntax. It should read:
# TAG: report_type type
# What kind of reports to generate.
# topsites - shows the site, connect and bytes
# sites_users - shows which users were accessing a site
# users_sites - shows sites accessed by the user
# date_time - shows the amount of bytes used by day and hour
# denied - show all denied sites with full URL
# auth_failures - show autentication failures
#
# Eg.: report_type topsites denied
#
#report_type topsites users_sites sites_users date_time denied auth_failures
site_user_time_date
Finally, with those two things fixed it works, but there's no reason that all
of the settings in the file couldn't be commented out, it has defaults for all
of them (which hopefully match the settings that are set in it now).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.