<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>/etc/sarg/sarg.conf<br></div><div># sarg.conf<br>#<br># TAG:&nbsp; access_log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Where is the access.log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -l file<br>#<br>#access_log /usr/local/squid/var/logs/access.log<br>access_log /var/log/squid/access.log<br><br># TAG: graphs yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use graphics where is possible.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; graph_days_bytes_bar_color blue|green|yellow|orange|brown|red<br>#<br>graphs yes<br>graph_days_bytes_bar_color orange<br><br># TAG:&nbsp; graph_font<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The full path to the TTF font file to use to create the graphs. It is required<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if graphs is set to yes.<br>#<br>graph_font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf<br><br># TAG:&nbsp; title<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the title for html page.<br>#<br>title "Squid User Access Reports"<br><br># TAG:&nbsp; font_face<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the font for html page.<br>#<br>font_face Tahoma,Verdana,Arial<br><br># TAG:&nbsp; header_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the header color<br>#<br>header_color darkblue<br><br># TAG:&nbsp; header_bgcolor<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the header bgcolor<br>#<br>header_bgcolor blanchedalmond<br><br># TAG:&nbsp; font_size<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the text font size<br>#<br>font_size 12px<br><br># TAG:&nbsp; header_font_size<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the header font size<br>#<br>header_font_size 12px<br><br># TAG:&nbsp; title_font_size<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the title font size<br>#<br>title_font_size 11px<br><br># TAG:&nbsp; background_color<br># TAG:&nbsp; background_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page background color<br>#<br>&nbsp;background_color white<br><br># TAG:&nbsp; text_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page text color<br>#<br>text_color #000000<br><br># TAG:&nbsp; text_bgcolor<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page text background color<br>#<br>#text_bgcolor lavender<br><br># TAG:&nbsp; title_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page title color<br>#<br>#title_color green<br><br># TAG:&nbsp; logo_image<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page logo.<br>#<br>#logo_image none<br><br># TAG:&nbsp; logo_text<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page logo text.<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width height<br>#<br>#image_size 80 45<br><br># TAG:&nbsp; background_image<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page background image<br>#<br>#background_image none<br><br># TAG:&nbsp; password<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User password file used by Squid authentication scheme<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If used, generate reports just for that users.<br>#<br>#password none<br><br># TAG:&nbsp; temporary_dir<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Temporary directory name for work files<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -w dir<br>#<br>#temporary_dir /tmp<br><br># TAG:&nbsp; output_dir<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The reports will be saved in that directory<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -o dir<br>#<br>output_dir /var/www/html/squid-reports<br>#output_dir /var/www/sarg/ONE-SHOT<br><br># TAG:&nbsp; output_email<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Email address to send the reports. If you use this tag, no html reports will be generated.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -e email<br>#<br>#output_email none<br><br># TAG:&nbsp; resolve_ip yes/no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Convert ip address to dns name<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -n<br>#resolve_ip no<br>resolve_ip yes<br><br># TAG:&nbsp; user_ip yes/no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use Ip Address instead userid in reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -p<br></div><div>#user_ip no<br><br># TAG:&nbsp; topuser_sort_field field normal/reverse<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort field for the Topuser Report.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allowed fields: USER CONNECT BYTES TIME<br>#<br>#topuser_sort_field BYTES reverse<br><br># TAG:&nbsp; user_sort_field field normal/reverse<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort field for the User Report.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allowed fields: SITE CONNECT BYTES TIME<br>#<br>#user_sort_field BYTES reverse<br><br># TAG:&nbsp; exclude_users file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; users within the file will be excluded from reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; you can use indexonly to have only index.html file.<br>#<br>#exclude_users none<br><br># TAG:&nbsp; exclude_hosts file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hosts, domains or subnets will be excluded from reports.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg.: 192.168.10.10&nbsp;&nbsp; - exclude ip address only<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.0/24 - exclude full C class<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s1.acme.foo&nbsp;&nbsp;&nbsp;&nbsp; - exclude hostname only<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.acme.foo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - exclude full domain name<br>#<br>#exclude_hosts none<br><br># TAG:&nbsp; useragent_log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useragent.log file patch to generate useragent report.<br>#<br>#useragent_log none<br><br># TAG:&nbsp; date_format<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date format in reports: e (European=dd/mm/yy), u (American=mm/dd/yy), w (Weekly=yy.ww)<br>#<br>date_format e<br><br># TAG:&nbsp; per_user_limit file MB<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Saves userid on file if download exceed n MB.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option allow you to disable user access if user exceed a download limit.<br></div><div>#<br>#per_user_limit none<br><br># TAG: lastlog n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many reports files must be keept in reports directory.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The oldest report file will be automatically removed.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 - no limit.<br>#<br>#lastlog 0<br><br># TAG: remove_temp_files yes<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Remove temporary files: geral, usuarios, top, periodo from root report directory.<br>#<br>#remove_temp_files yes<br><br># TAG: index yes|no|only<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate the main index.html.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; only - generate only the main index.html<br>#<br>#index yes<br><br># TAG: index_tree date|file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How to generate the index.<br>#<br>#index_tree file<br><br># TAG: overwrite_report yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes - if report date already exist then will be overwrited.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no - if report date already exist then will be renamed to filename.n, filename.n+1<br>#<br>#overwrite_report no<br><br># TAG: records_without_userid ignore|ip|everybody<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What can I do with records without user id (no authentication) in access.log file ?<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ignore - This record will be ignored.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip - Use ip address instead. (default)<br>#&nbsp;&nbsp; everybody - Use "everybody" instead.<br>#<br>#records_without_userid ip<br><br># TAG: use_comma no|yes<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use comma instead point in reports.<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg.: use_comma yes =&gt; 23,450,110<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_comma no&nbsp; =&gt; 23.450.110<br>#<br>#use_comma no<br><br># TAG: mail_utility<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mail command to use to send reports via SMTP. Sarg calls it like this:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail_utility -s "SARG report, date" "output_email" &lt;"mail_content"<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Therefore, it is possible to add more arguments to the command by specifying them<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; here.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If you need too, you can use a shell script to process the content of /dev/stdin<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (/dev/stdin is the mail_content passed by sarg to the script) and call whatever<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command you like. It is not limited to mailing the report via SMTP.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Don't forget to quote the command if necessary (i.e. if the path contains<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; characters that must be quoted).<br>#<br>#mail_utility mailx<br>mail_utility mail<br><br># TAG: topsites_num n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many sites in topsites report.<br>#<br>#topsites_num 100<br><br># TAG: topsites_sort_order CONNECT|BYTES A|D<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort for topsites report, where A=Ascendent, D=Descendent<br>#<br>#topsites_sort_order CONNECT D<br><br># TAG: index_sort_order A/D<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort for index.html, where A=Ascendent, D=Descendent<br>#<br>#index_sort_order D<br><br># TAG: exclude_codes file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ignore records with these codes. Eg.: NONE/400<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write one code per line. Lines starting with a # are ignored.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only codes matching exactly one of the line is rejected. The<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; comparison is not case sensitive.<br>#<br></div><div>#exclude_codes /usr/local/sarg/exclude_codes<br><br># TAG: replace_index string<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Replace "index.html" in the main index file with this string<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If null "index.html" is used<br>#<br>#replace_index &lt;?php echo str_replace(".", "_", $REMOTE_ADDR); echo ".html"; ?&gt;<br><br># TAG: max_elapsed milliseconds<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If elapsed time is recorded in log is greater than max_elapsed use 0 for elapsed time.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use 0 for no checking<br>#<br>#max_elapsed 28800000<br># 8 Hours<br><br># TAG: report_type type<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What kind of reports to generate.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; topusers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - users, sites, times, bytes, connects, links to accessed sites, etc<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; topsites&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - site, connect and bytes report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sites_users&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - users and sites report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; users_sites&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - accessed sites by the user report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; date_time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - bytes used per day and hour report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; denied&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - denied sites with full URL report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auth_failures&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - autentication failures report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; site_user_time_date - sites, dates, times and bytes report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; downloads&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - downloads per user report<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg.: report_type topsites denied<br>#<br>#report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads<br><br># TAG: usertab filename<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can change the "userid" or the "ip address" to be a real user name on the reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If resolve_ip is active, the ip address is resolved before being looked up into this<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file. That is, if you want to map the ip address, be sure to set resolv_ip to no or<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the resolved name will be looked into the file instead of the ip address. Note that<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it can be used to resolve any ip address known to the dns and then map the unresolved<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip addresses to a name found in the usertab file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Table syntax:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userid name&nbsp;&nbsp; or&nbsp;&nbsp; ip address name<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SirIsaac Isaac Newton<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vinci Leonardo da Vinci<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.1 Karol Wojtyla<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Each line must be terminated with '\n'<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If usertab have value "ldap" (case ignoring), user names<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will be taken from LDAP server. This method as approaches for reception<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of usernames from Active Didectory<br>#<br>#usertab none<br><br># TAG: LDAPHost hostname<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FQDN or IP address of host with LDAP service or AD DC<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is '127.0.0.1'<br>#LDAPHost 127.0.0.1<br><br># TAG: LDAPPort port<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDAP service port number<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is '389'<br>#LDAPPort 389<br><br># TAG: LDAPBindDN CN=username,OU=group,DC=mydomain,DC=com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DN of LDAP user, who is authorized to read user's names from LDAP base<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is empty line<br>#LDAPBindDN cn=proxy,dc=mydomain,dc=local<br><br># TAG: LDAPBindPW secret<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Password of DN, who is authorized to read user's names from LDAP base<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is empty line<br>#LDAPBindPW secret<br><br># TAG: LDAPBaseSearch OU=users,DC=mydomain,DC=com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDAP search base<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is empty line<br>#LDAPBaseSearch ou=users,dc=mydomain,dc=local<br><br># TAG: LDAPFilterSearch (uid=%s)<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User search filter by user's logins in LDAP<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; First founded record will be used<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %s - will be changed to userlogins from access.log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; filter string can have up to 5 '%s' tags<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default value is '(uid=%s)'<br>#LDAPFilterSearch (uid=%s)<br><br># TAG: LDAPTargetAttr attributename<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name of the attribute containing a name of the user<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default value is 'cn'<br>#LDAPTargetAttr cn<br><br># TAG: long_url yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If yes, the full url is showed in report.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If no, only the site will be showed<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YES option generate very big sort files and reports.<br>#<br>#long_url no<br><br># TAG: date_time_by bytes|elap<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date/Time reports show the downloaded volume or the elapsed time or both.<br>#<br>#date_time_by bytes<br><br># TAG: charset name<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISO 8859 is a full series of 10 standardized multilingual single-byte coded (8bit)<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; graphic character sets for writing in alphabetic languages<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can use the following charsets:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - West European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - East European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - South European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - North European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cyrillic<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arabic<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greek<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hebrew<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Turkish<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin6<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows-1251<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Japan<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Koi8-r<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UTF-8<br>#<br>charset Latin1<br><br># TAG: user_invalid_char "&amp;/"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Records that contain invalid characters in userid will be ignored by Sarg.<br>#<br>#user_invalid_char "&amp;/"<br></div><div><br># TAG: privacy yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; privacy_string "***.***.***.***"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; privacy_string_color blue<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In some countries the sysadm cannot see the visited sites by a restrictive law.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Using privacy yes the visited url will be changes by privacy_string and the link<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will be removed from reports.<br>#<br>#privacy no<br>#privacy_string "***.***.***.***"<br>#privacy_string_color blue<br><br># TAG: include_users "user1:user2:...:usern"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reports will be generated only for listed users.<br>#<br>#include_users none<br><br># TAG: exclude_string "string1:string2:...:stringn"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Records from access.log file that contain one of listed strings will be ignored.<br>#<br>#exclude_string none<br><br># TAG: show_successful_message yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shows "Successful report generated on dir" at end of process.<br>#<br>#show_successful_message yes<br>show_successful_message no<br><br># TAG: show_read_statistics yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shows some reading statistics.<br>#<br>#show_read_statistics yes<br><br># TAG: topuser_fields<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which fields must be in Topuser report.<br>#<br>#topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE<br><br># TAG: user_report_fields<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which fields must be in User report.<br>#<br>#user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE<br></div><div><br># TAG: bytes_in_sites_users_report yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bytes field must be in Site &amp; Users Report ?<br>#<br>#bytes_in_sites_users_report no<br><br># TAG: topuser_num n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many users in topsites report. 0 = no limit<br>#<br>#topuser_num 0<br><br># TAG: datafile file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Save the report results in a file to populate some database<br>#<br>#datafile none<br><br># TAG: datafile_delimiter ";"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ascii character to use as a field separator in datafile<br>#<br>#datafile_delimiter ";"<br><br># TAG: datafile_fields all<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which data fields must be in datafile<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user;date;time;url;connect;bytes;in_cache;out_cache;elapsed<br>#<br>#datafile_fields user;date;time;url;connect;bytes;in_cache;out_cache;elapsed<br><br># TAG: datafile_url ip|name<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Saves the URL as ip or name in datafile<br>#<br>#datafile_url ip<br><br># TAG: weekdays<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The weekdays to take into account ( Sunday-&gt;0, Saturday-&gt;6 )<br># Example:<br>#weekdays 1-3,5<br># Default:<br>#weekdays 0-6<br><br># TAG: hours<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The hours to take into account<br># Example:<br>#hours 7-12,14,16,18-20<br></div><div># Default:<br>#hours 0-23<br><br># TAG: dansguardian_conf file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DansGuardian.conf file path<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate reports from DansGuardian logs.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use 'none' to disable it.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dansguardian_conf /usr/dansguardian/dansguardian.conf<br>#<br>#dansguardian_conf none<br><br># TAG: dansguardian_filter_out_date on|off<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option replaces dansguardian_ignore_date whose name was not appropriate with respect to its action.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note the change of parameter value compared with the old option.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'off' use the record even if its date is outside of the range found in the input log file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'on'&nbsp; use the record only if its date is in the range found in the input log file.<br>#<br>#dansguardian_filter_out_date on<br><br># TAG: squidguard_conf file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path to squidGuard.conf file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate reports from SquidGuard logs.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use 'none' to disable.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can use sarg -L filename to use an alternate squidGuard log.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; squidguard_conf /usr/local/squidGuard/squidGuard.conf<br>#<br>#squidguard_conf none<br><br># TAG: redirector_log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the location of the web proxy redirector log such as one created by squidGuard or Rejik. The option<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; may be repeated up to 64 times to read multiple files.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If this option is specified, it takes precedence over squidguard_conf.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The command line option -L override this option.<br>#<br>#redirector_log /usr/local/squidGuard/var/logs/urls.log<br><br># TAG: redirector_filter_out_date on|off<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option replaces squidguard_ignore_date and redirector_ignore_date whose names were not<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appropriate with respect to their action.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note the change of parameter value compared with the old options.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'off' use the record even if its date is outside of the range found in the input log file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'on'&nbsp; use the record only if its date is in the range found in the input log file.<br>#<br></div><div>#<br>#redirector_filter_out_date on<br><br># TAG: redirector_log_format<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Format string for web proxy redirector logs.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option was named squidguard_log_format before sarg 2.3.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REJIK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #year#-#mon#-#day# #hour# #list#:#tmp# #ip# #user# #tmp#/#tmp#/#url#/#end#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQUIDGUARD&nbsp; #year#-#mon#-#day# #hour# #tmp#/#list#/#tmp#/#tmp#/#url#/#tmp# #ip#/#tmp# #user# #end#<br>#redirector_log_format #year#-#mon#-#day# #hour# #tmp#/#list#/#tmp#/#tmp#/#url#/#tmp# #ip#/#tmp# #user# #end#<br><br># TAG: show_sarg_info yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows sarg information and site path on each report bottom<br>#<br>#show_sarg_info yes<br><br># TAG: show_sarg_logo yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows sarg logo<br>#<br>#show_sarg_logo yes<br><br># TAG: parsed_output_log directory<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Saves the processed log in a sarg format after parsing the squid log file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is a way to dump all of the data structures out, after parsing from<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the logs (presumably this data will be much smaller than the log files themselves),<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and pull them back in for later processing and merging with data from previous logs.<br>#<br>#parsed_output_log none<br><br># TAG: parsed_output_log_compress /bin/gzip|/usr/bin/bzip2|nocompress<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Command to run to compress sarg parsed output log. It may contain<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; options (such as -f to overwrite existing target file). The name of<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the file to compresse is provided at the end of this<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command line. Don't forget to quote things appropriately.<br>#<br>#parsed_output_log_compress /bin/gzip<br><br># TAG: displayed_values bytes|abbreviation<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; how the values will be displayed in reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eg. bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp; 209.526<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abbreviation -&nbsp; 210K<br>#<br>#displayed_values bytes<br></div><div><br># Report limits<br># TAG: authfail_report_limit n<br># TAG: denied_report_limit n<br># TAG: siteusers_report_limit n<br># TAG: squidguard_report_limit n<br># TAG: user_report_limit n<br># TAG: dansguardian_report_limit n<br># TAG: download_report_limit n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report limits (lines).<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '0' no limit<br>#<br>#authfail_report_limit 10<br>#denied_report_limit 10<br>#siteusers_report_limit 0<br>#squidguard_report_limit 10<br>#dansguardian_report_limit 10<br>#user_report_limit 10<br>#user_report_limit 50<br><br># TAG: www_document_root dir<br>#&nbsp;&nbsp;&nbsp;&nbsp; Where is your Web DocumentRoot<br>#&nbsp;&nbsp;&nbsp;&nbsp; Sarg will create sarg-php directory with some PHP modules:<br>#&nbsp;&nbsp;&nbsp;&nbsp; - sarg-squidguard-block.php - add urls from user reports to squidGuard DB<br>#<br>#www_document_root /var/www/html<br><br># TAG: block_it module_url<br>#&nbsp;&nbsp;&nbsp;&nbsp; This tag allow you to pass urls from user reports to a cgi or php module,<br>#&nbsp;&nbsp;&nbsp;&nbsp; to be blocked by some Squid acl<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; Eg.: block_it /sarg-php/sarg-block-it.php<br>#&nbsp;&nbsp;&nbsp;&nbsp; sarg-block-it is a php that will append a url to a flat file.<br>#&nbsp;&nbsp;&nbsp;&nbsp; You must change /var/www/html/sarg-php/sarg-block-it to point to your file<br>#&nbsp;&nbsp;&nbsp;&nbsp; in $filename variable, and chown to a httpd owner.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; sarg will pass http://module_url?url=url<br>#<br>#block_it none<br><br># TAG: external_css_file path<br>#&nbsp;&nbsp;&nbsp;&nbsp; Provide the path to an external css file to link into the HTML reports instead of<br>#&nbsp;&nbsp;&nbsp;&nbsp; the inline css written by sarg when this option is not set.<br></div><div>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; In versions prior to 2.3, this used to be an absolute file name to<br>#&nbsp;&nbsp;&nbsp;&nbsp; a file to include verbatim in each HTML page but, as it takes a lot of<br>#&nbsp;&nbsp;&nbsp;&nbsp; space, version 2.3 switched to a link to an external css file.<br>#&nbsp;&nbsp;&nbsp;&nbsp; Therefore, this option must contain the HTTP server path on which a client<br>#&nbsp;&nbsp;&nbsp;&nbsp; browser may find the css file.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; Sarg use theses style classes:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .logo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logo class<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .info&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg information class, align=center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .title_c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title class, align=center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .header_c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header class, align:center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .header_l&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header class, align:left<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .header_r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header class, align:right<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .text&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text class, align:right<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table text class, align:right<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .data2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table text class, align:left<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .data3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table text class, align:center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; link class<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; Sarg can be instructed to output the internal css it inline<br>#&nbsp;&nbsp;&nbsp;&nbsp; into the reports with this command:<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg --css<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; You can redirect the output to a file of your choice and edit<br>#&nbsp;&nbsp;&nbsp;&nbsp; it to your liking.<br>#<br>#external_css_file none<br>external_css_file /var/www/sarg/sarg.css<br><br># TAG: user_authentication yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp; Allow user authentication in User Reports using .htaccess<br>#&nbsp;&nbsp;&nbsp;&nbsp; Parameters:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AuthUserTemplateFile - The template to use to create the<br>#&nbsp;&nbsp;&nbsp;&nbsp; .htaccess file. In the template, %u is replaced by the<br>#&nbsp;&nbsp;&nbsp;&nbsp; user's ID for which the report is generated. The path of the<br>#&nbsp;&nbsp;&nbsp;&nbsp; template is relative to the directory containing sarg<br>#&nbsp;&nbsp;&nbsp;&nbsp; configuration file.<br>#<br># user_authentication no<br># AuthUserTemplateFile sarg_htaccess<br></div><div><br># TAG: download_suffix "suffix,suffix,...,suffix"<br>#&nbsp;&nbsp;&nbsp; file suffix to be considered as "download" in Download report.<br>#&nbsp;&nbsp;&nbsp; Use 'none' to disable.<br>#<br>download_suffix "zip,arj,bzip,gz,ace,doc,iso,adt,bin,cab,com,dot,drv$,lha,lzh,mdb,mso,ppt,rtf,src,shs,sys,exe,dll,mp3,avi,mpg,mpeg"<br><br># TAG: ulimit n<br>#&nbsp;&nbsp;&nbsp; The maximum number of open file descriptors to avoid "Too many open files" error message.<br>#&nbsp;&nbsp;&nbsp; You need to run sarg as root to use ulimit tag.<br>#&nbsp;&nbsp;&nbsp; If you run sarg with a low privilege user, set to 'none' to disable ulimit<br>#<br>#ulimit 20000<br><br># TAG: ntlm_user_format username|domainname+username<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NTLM users format.<br>#<br>#ntlm_user_format domainname+username<br><br># TAG: realtime_refresh_time num sec<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many time to auto refresh the realtime report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 = disable<br>#<br># realtime_refresh_time 3<br><br># TAG: realtime_access_log_lines num<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many last lines to get from access.log file<br>#<br># realtime_access_log_lines 1000<br><br># TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which records must be in realtime report.<br>#<br># realtime_types GET,PUT,CONNECT<br><br># TAG: realtime_unauthenticated_records: ignore|show<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What to do with unauthenticated records in realtime report.<br>#<br># realtime_unauthenticated_records: show<br><br># TAG: byte_cost value no_cost_limit<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cost per byte.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg. byte_cost 0.01 100000000<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; per byte cost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.01<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bytes with no cost = 100 Mb<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 = disable<br>#<br># byte_cost 0.01 50000000<br><br># TAG: squid24 on|off<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Compatilibity with squid version &lt;= 2.4 when using emulate_http_log on<br>#<br># squid24 off<br></div><div><br data-mce-bogus="1"></div><div>/usr/local/etc/sarg.conf</div><div># sarg.conf<br>#<br># TAG:&nbsp; access_log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Where is the access.log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -l file<br>#<br>access_log /var/log/squid/access.log<br><br># TAG: graphs yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use graphics where is possible.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; graph_days_bytes_bar_color blue|green|yellow|orange|brown|red<br>#<br>graphs yes<br>graph_days_bytes_bar_color orange<br><br># TAG:&nbsp; graph_font<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The full path to the TTF font file to use to create the graphs. It is required<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if graphs is set to yes.<br>#<br>#graph_font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf<br><br># TAG:&nbsp; title<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the title for html page.<br>#<br>#title "Squid User Access Reports"<br>title "RELATORIOS DE ACESSO A INTERNET - SARG"<br><br># TAG:&nbsp; font_face<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the font for html page.<br>#<br>#font_face Tahoma,Verdana,Arial<br>font_face Arial<br><br># TAG:&nbsp; header_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the header color<br>#<br>#header_color darkblue<br><br># TAG:&nbsp; header_bgcolor<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the header bgcolor<br>#<br>#header_bgcolor blanchedalmond<br></div><div><br># TAG:&nbsp; font_size<br>font_size 12px<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the text font size<br>#<br>#font_size 9px<br><br># TAG:&nbsp; header_font_size<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the header font size<br>#<br>#header_font_size 9px<br><br># TAG:&nbsp; title_font_size<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Especify the title font size<br>#<br>#title_font_size 11px<br><br># TAG:&nbsp; background_color<br># TAG:&nbsp; background_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page background color<br>#<br># background_color white<br><br># TAG:&nbsp; text_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page text color<br>#<br>#text_color #000000<br><br># TAG:&nbsp; text_bgcolor<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page text background color<br>#<br>#text_bgcolor lavender<br><br># TAG:&nbsp; title_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page title color<br>#<br>#title_color green<br><br># TAG:&nbsp; logo_image<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page logo.<br>#<br>#logo_image none<br></div><div><br># TAG:&nbsp; logo_text<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page logo text.<br>#<br>#logo_text ""<br><br># TAG:&nbsp; logo_text_color<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page logo texti color.<br>#<br>#logo_text_color #000000<br><br># TAG:&nbsp; logo_image_size<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page logo image size.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width height<br>#<br>#image_size 80 45<br><br># TAG:&nbsp; background_image<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Html page background image<br>#<br>#background_image none<br><br># TAG:&nbsp; password<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User password file used by Squid authentication scheme<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If used, generate reports just for that users.<br>#<br>#password none<br>password /var/www/html/squid-reports/.htpasswd<br><br># TAG:&nbsp; temporary_dir<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Temporary directory name for work files<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -w dir<br>#<br>#temporary_dir /tmp<br><br># TAG:&nbsp; output_dir<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The reports will be saved in that directory<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -o dir<br>#<br>output_dir /var/www/html/squid-reports<br><br># TAG:&nbsp; anonymous_output_files yes/no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use anonymous file and directory names in the report. If it is set to<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no (the default), the user id/ip/name is slightly mangled to create a<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; suitable file name to store the report of the user but the user's<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; identity can easily be guessed from the mangled name. If this option is<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set, any file or directory belonging to the user is replaced by a short<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number.&nbsp; The purpose is to hide the identity of the user when looking<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at the report file names but it may serve to shorten the path too.<br>#<br>#anonymous_output_files no<br><br># TAG:&nbsp; output_email<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Email address to send the reports. If you use this tag, no html reports will be generated.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -e email<br>#<br>#output_email none<br><br># TAG:&nbsp; resolve_ip modulelist<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List the modules to use to convert IP addresses into names.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Each named module is tried in sequence until one returns a result. Therefore<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the order of the modules is relevant.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The modules must be listed on one line each separated from the previous one with<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a space.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The possible modules are<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dns Use the DNS.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec Call an external program with the IP address as argument.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For compatibility with previous versions, yes is a synonymous for dns and<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no does nothing.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -n forces the use of the dns module.<br>#resolve_ip no<br><br># TAG:&nbsp; resolve_ip_exec command<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If resolve_ip selects the exec module, this is the command to run to<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resolve an IP address. The command must contain a placeholder where the<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP address is inserted. The placeholder must be %IP in uppercases. The<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; placeholder may be repeated multiple times if necessary.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The command is expected to return the host name without frills on its<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; standard output. If the command returns nothing, it is assumed that the<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command could not resolve the IP address and the next module in the<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chain is given a try with the same address.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option can only be used once. Therefore there is only one command<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; available to resolve an IP address but the program can do anything it<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; deems fit including attempting several strategies.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Beware that running an external program is exceedingly slow. So you<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should try the DNS first and only call an external program if the DNS<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fails.<br>#resolve_ip_exec nmblookup -A %IP | sed -n -e 's/^ *\(.*\) *&lt;00&gt; - *B.*/\1/p'<br><br># TAG:&nbsp; user_ip yes/no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use Ip Address instead userid in reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg -p<br>#user_ip no<br><br># TAG:&nbsp; topuser_sort_field field normal/reverse<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort field for the Topuser Report.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allowed fields: USER CONNECT BYTES TIME<br>#<br>#topuser_sort_field BYTES reverse<br><br># TAG:&nbsp; user_sort_field field normal/reverse<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort field for the User Report.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allowed fields: SITE CONNECT BYTES TIME<br>#<br>#user_sort_field BYTES reverse<br><br># TAG:&nbsp; exclude_users file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; users within the file will be excluded from reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; you can use indexonly to have only index.html file.<br>#<br>#exclude_users none<br><br># TAG:&nbsp; exclude_hosts file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hosts, domains or subnets will be excluded from reports.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg.: 192.168.10.10&nbsp;&nbsp; - exclude ip address only<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.0/24 - exclude full C class<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s1.acme.foo&nbsp;&nbsp;&nbsp;&nbsp; - exclude hostname only<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.acme.foo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - exclude full domain name<br>#<br>#exclude_hosts none<br><br># TAG:&nbsp; useragent_log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useragent.log file patch to generate useragent report.<br></div><div>#<br>#useragent_log none<br><br># TAG:&nbsp; date_format<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date format in reports: e (European=dd/mm/yy), u (American=mm/dd/yy), w (Weekly=yy.ww)<br>#<br>#date_format u<br><br># TAG:&nbsp; per_user_limit file MB<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Saves userid on file if download exceed n MB.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option allow you to disable user access if user exceed a download limit.<br>#<br>#per_user_limit none<br><br># TAG: lastlog n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many reports files must be keept in reports directory.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The oldest report file will be automatically removed.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 - no limit.<br>#<br>#lastlog 0<br><br># TAG: remove_temp_files yes<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Remove temporary files: geral, usuarios, top, periodo from root report directory.<br>#<br>#remove_temp_files yes<br><br># TAG: index yes|no|only<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate the main index.html.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; only - generate only the main index.html<br>#<br>#index yes<br><br># TAG: index_tree date|file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How to generate the index.<br>#<br>#index_tree file<br><br># TAG: index_fields<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The columns to show in the index of the reports<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Columns are: dirsize<br>#<br>#index_fields dirsize<br></div><div><br># TAG: overwrite_report yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes - if report date already exist then will be overwrited.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no - if report date already exist then will be renamed to filename.n, filename.n+1<br>#<br>#overwrite_report no<br><br># TAG: records_without_userid ignore|ip|everybody<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What can I do with records without user id (no authentication) in access.log file ?<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ignore - This record will be ignored.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip - Use ip address instead. (default)<br>#&nbsp;&nbsp; everybody - Use "everybody" instead.<br>#<br>#records_without_userid ip<br><br># TAG: use_comma no|yes<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use comma instead point in reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg.: use_comma yes =&gt; 23,450,110<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_comma no&nbsp; =&gt; 23.450.110<br>#<br>#use_comma no<br><br># TAG: mail_utility<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mail command to use to send reports via SMTP. Sarg calls it like this:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail_utility -s "SARG report, date" "output_email" &lt;"mail_content"<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Therefore, it is possible to add more arguments to the command by specifying them<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; here.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If you need too, you can use a shell script to process the content of /dev/stdin<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (/dev/stdin is the mail_content passed by sarg to the script) and call whatever<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command you like. It is not limited to mailing the report via SMTP.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Don't forget to quote the command if necessary (i.e. if the path contains<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; characters that must be quoted).<br>#<br>#mail_utility mailx<br><br># TAG: topsites_num n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many sites in topsites report.<br>#<br>#topsites_num 100<br></div><div><br># TAG: topsites_sort_order CONNECT|BYTES|TIME|USER A|D<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort for topsites report, where A=Ascendent, D=Descendent<br>#<br>#topsites_sort_order CONNECT D<br><br># TAG: index_sort_order A/D<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sort for index.html, where A=Ascendent, D=Descendent<br>#<br>#index_sort_order D<br><br># TAG: exclude_codes file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ignore records with these codes. Eg.: NONE/400<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write one code per line. Lines starting with a # are ignored.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only codes matching exactly one of the line is rejected. The<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; comparison is not case sensitive.<br>#<br>#exclude_codes /usr/local/sarg/exclude_codes<br><br># TAG: replace_index string<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Replace "index.html" in the main index file with this string<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If null "index.html" is used<br>#<br>#replace_index &lt;?php echo str_replace(".", "_", $REMOTE_ADDR); echo ".html"; ?&gt;<br><br># TAG: max_elapsed milliseconds<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If elapsed time is recorded in log is greater than max_elapsed use 0 for elapsed time.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use 0 for no checking<br>#<br>#max_elapsed 28800000<br># 8 Hours<br><br># TAG: report_type type<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What kind of reports to generate.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; topusers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - users, sites, times, bytes, connects, links to accessed sites, etc<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; topsites&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - site, connect and bytes report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sites_users&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - users and sites report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; users_sites&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - accessed sites by the user report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; date_time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - bytes used per day and hour report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; denied&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - denied sites with full URL report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auth_failures&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - autentication failures report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; site_user_time_date - sites, dates, times and bytes report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; downloads&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - downloads per user report<br></div><div>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg.: report_type topsites denied<br>#<br>#report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads<br><br># TAG: usertab filename<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can change the "userid" or the "ip address" to be a real user name on the reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If resolve_ip is active, the ip address is resolved before being looked up into this<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file. That is, if you want to map the ip address, be sure to set resolv_ip to no or<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the resolved name will be looked into the file instead of the ip address. Note that<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it can be used to resolve any ip address known to the dns and then map the unresolved<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip addresses to a name found in the usertab file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Table syntax:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userid name&nbsp;&nbsp; or&nbsp;&nbsp; ip address name<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SirIsaac Isaac Newton<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vinci Leonardo da Vinci<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.1 Karol Wojtyla<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Each line must be terminated with '\n'<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If usertab have value "ldap" (case ignoring), user names<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will be taken from LDAP server. This method as approaches for reception<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of usernames from Active Didectory<br>#<br>#usertab none<br><br># TAG: LDAPHost hostname<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FQDN or IP address of host with LDAP service or AD DC<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is '127.0.0.1'<br>#LDAPHost 127.0.0.1<br><br># TAG: LDAPPort port<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDAP service port number<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is '389'<br>#LDAPPort 389<br><br># TAG: LDAPBindDN CN=username,OU=group,DC=mydomain,DC=com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DN of LDAP user, who is authorized to read user's names from LDAP base<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is empty line<br>#LDAPBindDN cn=proxy,dc=mydomain,dc=local<br><br># TAG: LDAPBindPW secret<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Password of DN, who is authorized to read user's names from LDAP base<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is empty line<br>#LDAPBindPW secret<br><br># TAG: LDAPBaseSearch OU=users,DC=mydomain,DC=com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDAP search base<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default is empty line<br>#LDAPBaseSearch ou=users,dc=mydomain,dc=local<br><br># TAG: LDAPFilterSearch (uid=%s)<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User search filter by user's logins in LDAP<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; First founded record will be used<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %s - will be changed to userlogins from access.log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; filter string can have up to 5 '%s' tags<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default value is '(uid=%s)'<br>#LDAPFilterSearch (uid=%s)<br><br># TAG: LDAPTargetAttr attributename<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name of the attribute containing a name of the user<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default value is 'cn'<br>#LDAPTargetAttr cn<br><br># TAG: long_url yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If yes, the full url is showed in report.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If no, only the site will be showed<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YES option generate very big sort files and reports.<br>#<br>#long_url no<br><br># TAG: date_time_by bytes|elap<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date/Time reports show the downloaded volume or the elapsed time or both.<br>#<br>#date_time_by bytes<br><br># TAG: charset name<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISO 8859 is a full series of 10 standardized multilingual single-byte coded (8bit)<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; graphic character sets for writing in alphabetic languages<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can use the following charsets:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - West European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - East European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - South European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - North European<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cyrillic<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arabic<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Greek<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hebrew<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Turkish<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Latin6<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows-1251<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Japan<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Koi8-r<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UTF-8<br>#<br>#charset Latin1<br><br># TAG: user_invalid_char "&amp;/"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Records that contain invalid characters in userid will be ignored by Sarg.<br>#<br>#user_invalid_char "&amp;/"<br><br># TAG: privacy yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; privacy_string "***.***.***.***"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; privacy_string_color blue<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In some countries the sysadm cannot see the visited sites by a restrictive law.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Using privacy yes the visited url will be changes by privacy_string and the link<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will be removed from reports.<br>#<br>#privacy no<br>#privacy_string "***.***.***.***"<br>#privacy_string_color blue<br><br># TAG: include_users "user1:user2:...:usern"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reports will be generated only for listed users.<br>#<br>#include_users none<br><br># TAG: exclude_string "string1:string2:...:stringn"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Records from access.log file that contain one of listed strings will be ignored.<br>#<br>#exclude_string none<br><br># TAG: show_successful_message yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shows "Successful report generated on dir" at end of process.<br>#<br>#show_successful_message yes<br></div><div><br># TAG: show_read_statistics yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shows some reading statistics.<br>#<br>#show_read_statistics yes<br><br># TAG: topuser_fields<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which fields must be in Topuser report.<br>#<br>#topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE<br><br># TAG: user_report_fields<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which fields must be in User report.<br>#<br>#user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE<br><br># TAG: bytes_in_sites_users_report yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bytes field must be in Site &amp; Users Report ?<br>#<br>#bytes_in_sites_users_report no<br><br># TAG: topuser_num n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many users in topsites report. 0 = no limit<br>#<br>#topuser_num 0<br><br># TAG: datafile file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Save the report results in a file to populate some database<br>#<br>#datafile none<br><br># TAG: datafile_delimiter ";"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ascii character to use as a field separator in datafile<br>#<br>#datafile_delimiter ";"<br><br># TAG: datafile_fields all<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which data fields must be in datafile<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user;date;time;url;connect;bytes;in_cache;out_cache;elapsed<br>#<br>#datafile_fields user;date;time;url;connect;bytes;in_cache;out_cache;elapsed<br><br># TAG: datafile_url ip|name<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Saves the URL as ip or name in datafile<br>#<br>#datafile_url ip<br><br># TAG: weekdays<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The weekdays to take into account ( Sunday-&gt;0, Saturday-&gt;6 )<br># Example:<br>#weekdays 1-3,5<br># Default:<br>#weekdays 0-6<br><br># TAG: hours<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The hours to take into account<br># Example:<br>#hours 7-12,14,16,18-20<br># Default:<br>#hours 0-23<br><br># TAG: dansguardian_conf file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DansGuardian.conf file path<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate reports from DansGuardian logs.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use 'none' to disable it.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dansguardian_conf /usr/dansguardian/dansguardian.conf<br>#<br>#dansguardian_conf none<br><br># TAG: dansguardian_filter_out_date on|off<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option replaces dansguardian_ignore_date whose name was not appropriate with respect to its action.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note the change of parameter value compared with the old option.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'off' use the record even if its date is outside of the range found in the input log file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'on'&nbsp; use the record only if its date is in the range found in the input log file.<br>#<br>#dansguardian_filter_out_date on<br><br># TAG: squidguard_conf file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path to squidGuard.conf file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate reports from SquidGuard logs.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use 'none' to disable.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can use sarg -L filename to use an alternate squidGuard log.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; squidguard_conf /usr/local/squidGuard/squidGuard.conf<br>#<br>#squidguard_conf none<br></div><div><br># TAG: redirector_log file<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the location of the web proxy redirector log such as one created by squidGuard or Rejik. The option<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; may be repeated up to 64 times to read multiple files.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If this option is specified, it takes precedence over squidguard_conf.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The command line option -L override this option.<br>#<br>#redirector_log /usr/local/squidGuard/var/logs/urls.log<br><br># TAG: redirector_filter_out_date on|off<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option replaces squidguard_ignore_date and redirector_ignore_date whose names were not<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appropriate with respect to their action.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note the change of parameter value compared with the old options.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'off' use the record even if its date is outside of the range found in the input log file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'on'&nbsp; use the record only if its date is in the range found in the input log file.<br>#<br>#redirector_filter_out_date on<br><br># TAG: redirector_log_format<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Format string for web proxy redirector logs.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option was named squidguard_log_format before sarg 2.3.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REJIK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #year#-#mon#-#day# #hour# #list#:#tmp# #ip# #user# #tmp#/#tmp#/#url#/#end#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQUIDGUARD&nbsp; #year#-#mon#-#day# #hour# #tmp#/#list#/#tmp# #url# #ip#/#tmp# #user# #end#<br>#redirector_log_format #year#-#mon#-#day# #hour# #tmp#/#list#/#tmp# #url# #ip#/#tmp# #user# #end#<br><br># TAG: show_sarg_info yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows sarg information and site path on each report bottom<br>#<br>#show_sarg_info yes<br><br># TAG: show_sarg_logo yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows sarg logo<br>#<br>#show_sarg_logo yes<br><br># TAG: parsed_output_log directory<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Saves the processed log in a sarg format after parsing the squid log file.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is a way to dump all of the data structures out, after parsing from<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the logs (presumably this data will be much smaller than the log files themselves),<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and pull them back in for later processing and merging with data from previous logs.<br>#<br>#parsed_output_log none<br></div><div><br># TAG: parsed_output_log_compress /bin/gzip|/usr/bin/bzip2|nocompress<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Command to run to compress sarg parsed output log. It may contain<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; options (such as -f to overwrite existing target file). The name of<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the file to compresse is provided at the end of this<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command line. Don't forget to quote things appropriately.<br>#<br>#parsed_output_log_compress /bin/gzip<br><br># TAG: displayed_values bytes|abbreviation<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; how the values will be displayed in reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eg. bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp; 209.526<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abbreviation -&nbsp; 210K<br>#<br>#displayed_values bytes<br><br># Report limits<br># TAG: authfail_report_limit n<br># TAG: denied_report_limit n<br># TAG: siteusers_report_limit n<br># TAG: squidguard_report_limit n<br># TAG: user_report_limit n<br># TAG: dansguardian_report_limit n<br># TAG: download_report_limit n<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report limits (lines).<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '0' no limit<br>#<br>#authfail_report_limit 10<br>#denied_report_limit 10<br>#siteusers_report_limit 0<br>#squidguard_report_limit 10<br>#dansguardian_report_limit 10<br>#user_report_limit 10<br>#user_report_limit 50<br><br># TAG: www_document_root dir<br>#&nbsp;&nbsp;&nbsp;&nbsp; Where is your Web DocumentRoot<br>#&nbsp;&nbsp;&nbsp;&nbsp; Sarg will create sarg-php directory with some PHP modules:<br>#&nbsp;&nbsp;&nbsp;&nbsp; - sarg-squidguard-block.php - add urls from user reports to squidGuard DB<br>#<br>#www_document_root /var/www/html<br><br># TAG: block_it module_url<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp; This tag allow you to pass urls from user reports to a cgi or php module,<br>#&nbsp;&nbsp;&nbsp;&nbsp; to be blocked by some Squid acl<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; Eg.: block_it /sarg-php/sarg-block-it.php<br>#&nbsp;&nbsp;&nbsp;&nbsp; sarg-block-it is a php that will append a url to a flat file.<br>#&nbsp;&nbsp;&nbsp;&nbsp; You must change /var/www/html/sarg-php/sarg-block-it to point to your file<br>#&nbsp;&nbsp;&nbsp;&nbsp; in $filename variable, and chown to a httpd owner.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; sarg will pass http://module_url?url=url<br>#<br>#block_it none<br><br># TAG: external_css_file path<br>#&nbsp;&nbsp;&nbsp;&nbsp; Provide the path to an external css file to link into the HTML reports instead of<br>#&nbsp;&nbsp;&nbsp;&nbsp; the inline css written by sarg when this option is not set.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; In versions prior to 2.3, this used to be an absolute file name to<br>#&nbsp;&nbsp;&nbsp;&nbsp; a file to include verbatim in each HTML page but, as it takes a lot of<br>#&nbsp;&nbsp;&nbsp;&nbsp; space, version 2.3 switched to a link to an external css file.<br>#&nbsp;&nbsp;&nbsp;&nbsp; Therefore, this option must contain the HTTP server path on which a client<br>#&nbsp;&nbsp;&nbsp;&nbsp; browser may find the css file.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; Sarg use theses style classes:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .logo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logo class<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .info&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg information class, align=center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .title_c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title class, align=center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .header_c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header class, align:center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .header_l&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header class, align:left<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .header_r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; header class, align:right<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .text&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text class, align:right<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table text class, align:right<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .data2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table text class, align:left<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .data3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table text class, align:center<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; link class<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; Sarg can be instructed to output the internal css it inline<br>#&nbsp;&nbsp;&nbsp;&nbsp; into the reports with this command:<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sarg --css<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; You can redirect the output to a file of your choice and edit<br>#&nbsp;&nbsp;&nbsp;&nbsp; it to your liking.<br>#<br></div><div>#<br>#external_css_file none<br><br># TAG: user_authentication yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp; Allow user authentication in User Reports using .htaccess<br>#&nbsp;&nbsp;&nbsp;&nbsp; Parameters:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AuthUserTemplateFile - The template to use to create the<br>#&nbsp;&nbsp;&nbsp;&nbsp; .htaccess file. In the template, %u is replaced by the<br>#&nbsp;&nbsp;&nbsp;&nbsp; user's ID for which the report is generated. The path of the<br>#&nbsp;&nbsp;&nbsp;&nbsp; template is relative to the directory containing sarg<br>#&nbsp;&nbsp;&nbsp;&nbsp; configuration file.<br>#<br># user_authentication no<br># AuthUserTemplateFile sarg_htaccess<br><br># TAG: download_suffix "suffix,suffix,...,suffix"<br>#&nbsp;&nbsp;&nbsp; file suffix to be considered as "download" in Download report.<br>#&nbsp;&nbsp;&nbsp; Use 'none' to disable.<br>#<br>#download_suffix "zip,arj,bzip,gz,ace,doc,iso,adt,bin,cab,com,dot,drv$,lha,lzh,mdb,mso,ppt,rtf,src,shs,sys,exe,dll,mp3,avi,mpg,mpeg"<br><br># TAG: ulimit n<br>#&nbsp;&nbsp;&nbsp; The maximum number of open file descriptors to avoid "Too many open files" error message.<br>#&nbsp;&nbsp;&nbsp; You need to run sarg as root to use ulimit tag.<br>#&nbsp;&nbsp;&nbsp; If you run sarg with a low privilege user, set to 'none' to disable ulimit<br>#<br>#ulimit 20000<br><br># TAG: ntlm_user_format user|domainname+username<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NTLM users format.<br>#<br>#ntlm_user_format domainname+username<br><br># TAG: realtime_refresh_time num sec<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many time to auto refresh the realtime report<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 = disable<br>#<br># realtime_refresh_time 3<br><br># TAG: realtime_access_log_lines num<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How many last lines to get from access.log file<br>#<br># realtime_access_log_lines 1000<br></div><div><br># TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Which records must be in realtime report.<br>#<br># realtime_types GET,PUT,CONNECT<br><br># TAG: realtime_unauthenticated_records: ignore|show<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What to do with unauthenticated records in realtime report.<br>#<br># realtime_unauthenticated_records: show<br><br># TAG: byte_cost value no_cost_limit<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cost per byte.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg. byte_cost 0.01 100000000<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; per byte cost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.01<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bytes with no cost = 100 Mb<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 = disable<br>#<br># byte_cost 0.01 50000000<br><br># TAG: squid24 on|off<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Compatilibity with squid version &lt;= 2.4 when using emulate_http_log on<br>#<br># squid24 off<br><br># TAG: sorttable path<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The path to a javascript script to dynamically sort the tables.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The path is the link a browser must follow to find the script. For instance,<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it may be http://www.myproxy.org/sorttable.js or just /sorttable.js if the script<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is at the root of your web site.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If the path starts with "../" then it is assumed to be a relative<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path and sarg adds as many "../" as necessary to locate the js script from<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the output directory. Therefore, ../../sorttable.js links to the javascript<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; one level above output_dir.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If this entry is set, each sortable table will have the "sortable" class set.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You may have a look at http://www.kryogenix.org/code/browser/sorttable/<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for the implementation on which sarg is based.<br>#<br># sorttable /sorttable.js<br><br># TAG: hostalias<br></div><div>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The name of a text file containing the host names one per line and the<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; optional alias to use in the report instead of that host name.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Host names may contain up to one wildcard denoted by a *. The wildcard<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; must not end the host name.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The host name may be followed by an optional alias but if no alias is<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; provided, the host name, including the wildcard, replaces any matching<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host name found in the log.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Host names replaced by identical aliases are grouped together in the<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reports.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP addresses are supported and accept the CIDR notation both for IPv4 and<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPv6 addresses.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Regular expressions can also be used if sarg was compiled with libpcre.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A regular expression is formated as re:/regexp/ alias<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The regexp is a perl regular expression (see man perlre).<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subpatterns are allowed in the alias. Sarg recognizes sed (\1) or perl ($1)<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subpatterns. Only 9 subpatterns are allowed in the replacement string.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example:<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.gstatic.com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mt*.google.com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.myphone.microsoft.com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.myphone.microsoft.com:443 *.myphone.microsoft.com:secure<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.freeav.net antivirus:freeav<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *.mail.live.com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 65.52.00.00/14 *.mail.live.com<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re:/\.dropbox\.com(:443)?/ dropbox<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; re:/([\w-]+)\.(\w*[a-zA-Z]\w*)(?::\d+)?$/\1.\2<br>#hostalias /usr/local/sarg/hostalias<br><br># TAG: keep_temp_log yes|no<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Keep temporary files created by sarg to produce its reports. The normal<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operation mode is to delete those files when they are not necessary any more.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Never leave that option to "yes" for normal operation as temporary files<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; left over by previous run can be included in subsequent reports.<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use this option only to diagnose a problem with your reports. A better<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternative is to run sarg from the command line with optino -k.<br>#keep_temp_log no<br></div><div><br data-mce-bogus="1"></div><div>[root@proxy ~]# sarg<br>SARG: Registros no arquivo: 200787, lendo: 100,00%<br>SARG: Nenhum registro encontrado<br>SARG: Fim<br>[root@proxy ~]# time<br><br>real&nbsp;&nbsp;&nbsp; 0m0.000s<br>user&nbsp;&nbsp;&nbsp; 0m0.000s<br>sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.000s<br>[root@proxy ~]# date<br>Qui Set 29 09:34:40 BRT 2016<br>[root@proxy ~]# vim /etc/sarg/sarg.conf<br>[root@proxy ~]# cd /<br>[root@proxy /]# find . -name sarg.conf -print<br>./usr/local/etc/sarg.conf<br>./etc/sarg/sarg.conf<br>[root@proxy /]# vim /usr/local/etc/sarg.conf</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>centos-pt-br-request@centos.org<br><b>Para: </b>centos-pt-br@centos.org<br><b>Enviadas: </b>Quinta-feira, 29 de setembro de 2016 9:00:01<br><b>Assunto: </b>Digest CentOS-pt-br, volume 114, assunto 7<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">Enviar submissões para a lista de discussão CentOS-pt-br para <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;centos-pt-br@centos.org<br><br>Para se cadastrar ou descadastrar via WWW, visite o endereço<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;https://lists.centos.org/mailman/listinfo/centos-pt-br<br>ou, via email, envie uma mensagem com a palavra 'help' no assunto ou<br>corpo da mensagem para <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;centos-pt-br-request@centos.org<br><br>Você poderá entrar em contato com a pessoa que gerencia a lista pelo<br>endereço<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;centos-pt-br-owner@centos.org<br><br>Quando responder, por favor edite sua linha Assunto assim ela será<br>mais específica que "Re: Contents of CentOS-pt-br digest..."<br><br><br>Tópicos de Hoje:<br><br>&nbsp;&nbsp; 1. Sarg! (Glenio Cortes Himmen)<br>&nbsp;&nbsp; 2. Auto-Re: &nbsp;Sarg! (=?GBK?B?va3D9w==?=)<br>&nbsp;&nbsp; 3. Re: Sarg! (Vitor Lobo)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 28 Sep 2016 15:15:28 -0300 (BRT)<br>From: Glenio Cortes Himmen &lt;glenio.11622x@aparecida.go.gov.br&gt;<br>To: centos-pt-br@centos.org<br>Subject: [CentOS-pt-br] Sarg!<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;536860194.486985.1475086528075.JavaMail.zimbra@aparecida.go.gov.br&gt;<br>Content-Type: text/plain; charset="utf-8"<br><br>Senhores, <br><br>Estou tendo problemas com o Sarg. <br><br>Ele não está lendo os novos registros. <br><br>Abaixo as mensagens. <br><br>SARG: Registros no arquivo: 181872, lendo: 100,00% <br>SARG: Nenhum registro encontrado <br>SARG: Fim <br><br>SARG: Registros no arquivo: 181383, lendo: 100,00% <br>SARG: Nenhum registro encontrado <br>SARG: Fim <br><br>ARQUIVO/PERÍODO DATA DE CRIAÇÃO USUÁRIOS BYTES MÉDIA <br>2016Sep19-2016Sep22 Qui 22 Set 2016 13:38:38 BRT 1 351.57M 351.57M <br>2016Sep18-2016Sep22 Qui 22 Set 2016 10:06:54 BRT 28 4.43G 158.30M <br>2015Mar23-2015Mar27 Sex 27 Mar 2015 10:49:56 BRT 52 13.89G 267.25M <br>2015Mar08-2015Mar10 Ter 10 Mar 2015 16:34:32 BRT 47 3.90G 83.14M <br>2015Mar01-2015Mar05 Qui 05 Mar 2015 10:28:29 BRT 57 5.53G 97.05M <br>2015Feb23-2015Feb27 Sex 27 Fev 2015 08:41:04 BRT 62 5.11G 82.57M <br>2015Feb23-2015Feb26 Qui 26 Fev 2015 09:18:22 BRT 55 3.21G 58.42M <br>2015Feb23-2015Feb23 Seg 23 Fev 2015 17:08:32 BRT 49 1.78G 36.42M <br>2015Feb15-2015Feb20 Sex 20 Fev 2015 16:37:56 BRST 47 6.18G 131.69M <br>23Mar2015-27Mar2015 Sex 27 Mar 2015 10:49:08 BRT 52 13.87G 266.85M <br><br>Como vocês podem ver, a leitura feita em dois horários diferentes mostra que o arquivo contem mais dados, mas na hora de gerar o relatório, ele fala que não tem novidades. <br><br>Alguma dica? <br><br>CentOS release 6.8 (Final) <br>Gerado por sarg-2.3.8 Feb-07-2014 em Set/22/2016 13:38 <br><br>Glênio Côrtes Himmen <br>SMTA - Sup. Municipal de Trânsito de Aparecida <br>glenio.11622x@aparecida.go.gov.br <br>-------------- Próxima Parte ----------<br>Um anexo em HTML foi limpo...<br>URL: &lt;http://lists.centos.org/pipermail/centos-pt-br/attachments/20160928/aff83cc2/attachment-0001.html&gt;<br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 29 Sep 2016 02:11:14 +0800<br>From: "=?GBK?B?va3D9w==?=" &lt;kjjm@ahpu.edu.cn&gt;<br>To: centos-pt-br@centos.org<br>Subject: [CentOS-pt-br] Auto-Re: &nbsp;Sarg!<br>Message-ID: &lt;1609290211145e0d7e2a6e07b47bb0904b829ab9eeab@ahpu.edu.cn&gt;<br>Content-Type: text/plain; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;charset="GBK"<br><br>????<br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 29 Sep 2016 07:39:04 -0300<br>From: Vitor Lobo &lt;lobocode@gmail.com&gt;<br>To: "Portuguese (Brazilian) CentOS mailing list"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;centos-pt-br@centos.org&gt;<br>Subject: Re: [CentOS-pt-br] Sarg!<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;CAOcJv=kFxzCdAcPY+P1D3R=TL7r7nsv3p9wgBXZ+Hk6_aWYFag@mail.gmail.com&gt;<br>Content-Type: text/plain; charset="utf-8"<br><br>Glenio, bom dia.<br>Precisamos visualizar os arquivos de configuração do Sarg para lhe<br>auxiliar. Neste caso, se puder, posta no pastebim privado (abre conta la).<br>Visualiza também sem o timestamp da máquina host está correto.<br><br>Att,<br><br>Em 28 de setembro de 2016 15:15, Glenio Cortes Himmen &lt;<br>glenio.11622x@aparecida.go.gov.br&gt; escreveu:<br><br>&gt; Senhores,<br>&gt;<br>&gt; Estou tendo problemas com o Sarg.<br>&gt;<br>&gt; Ele não está lendo os novos registros.<br>&gt;<br>&gt; Abaixo as mensagens.<br>&gt;<br>&gt; SARG: Registros no arquivo: 181872, lendo: 100,00%<br>&gt; SARG: Nenhum registro encontrado<br>&gt; SARG: Fim<br>&gt;<br>&gt; SARG: Registros no arquivo: 181383, lendo: 100,00%<br>&gt; SARG: Nenhum registro encontrado<br>&gt; SARG: Fim<br>&gt;<br>&gt; ARQUIVO/PERÍODO &nbsp; &nbsp;DATA DE CRIAÇÃO &nbsp; &nbsp;USUÁRIOS &nbsp; &nbsp;BYTES &nbsp; &nbsp;MÉDIA<br>&gt; 2016Sep19-2016Sep22 &nbsp; &nbsp;Qui 22 Set 2016 13:38:38 BRT &nbsp; &nbsp;1 &nbsp; &nbsp;351.57M<br>&gt; &nbsp;351.57M<br>&gt; 2016Sep18-2016Sep22 &nbsp; &nbsp;Qui 22 Set 2016 10:06:54 BRT &nbsp; &nbsp;28 &nbsp; &nbsp;4.43G<br>&gt; &nbsp;158.30M<br>&gt; 2015Mar23-2015Mar27 &nbsp; &nbsp;Sex 27 Mar 2015 10:49:56 BRT &nbsp; &nbsp;52 &nbsp; &nbsp;13.89G<br>&gt; &nbsp;267.25M<br>&gt; 2015Mar08-2015Mar10 &nbsp; &nbsp;Ter 10 Mar 2015 16:34:32 BRT &nbsp; &nbsp;47 &nbsp; &nbsp;3.90G<br>&gt; &nbsp;83.14M<br>&gt; 2015Mar01-2015Mar05 &nbsp; &nbsp;Qui 05 Mar 2015 10:28:29 BRT &nbsp; &nbsp;57 &nbsp; &nbsp;5.53G<br>&gt; &nbsp;97.05M<br>&gt; 2015Feb23-2015Feb27 &nbsp; &nbsp;Sex 27 Fev 2015 08:41:04 BRT &nbsp; &nbsp;62 &nbsp; &nbsp;5.11G<br>&gt; &nbsp;82.57M<br>&gt; 2015Feb23-2015Feb26 &nbsp; &nbsp;Qui 26 Fev 2015 09:18:22 BRT &nbsp; &nbsp;55 &nbsp; &nbsp;3.21G<br>&gt; &nbsp;58.42M<br>&gt; 2015Feb23-2015Feb23 &nbsp; &nbsp;Seg 23 Fev 2015 17:08:32 BRT &nbsp; &nbsp;49 &nbsp; &nbsp;1.78G<br>&gt; &nbsp;36.42M<br>&gt; 2015Feb15-2015Feb20 &nbsp; &nbsp;Sex 20 Fev 2015 16:37:56 BRST &nbsp; &nbsp;47 &nbsp; &nbsp;6.18G<br>&gt; &nbsp;131.69M<br>&gt; 23Mar2015-27Mar2015 &nbsp; &nbsp;Sex 27 Mar 2015 10:49:08 BRT &nbsp; &nbsp;52 &nbsp; &nbsp;13.87G<br>&gt; &nbsp;266.85M<br>&gt;<br>&gt; Como vocês podem ver, a leitura feita em dois horários diferentes mostra<br>&gt; que o arquivo contem mais dados, mas na hora de gerar o relatório, ele fala<br>&gt; que não tem novidades.<br>&gt;<br>&gt; Alguma dica?<br>&gt;<br>&gt; CentOS release 6.8 (Final)<br>&gt; Gerado por sarg-2.3.8 Feb-07-2014 &lt;http://sarg.sourceforge.net&gt; em<br>&gt; Set/22/2016 13:38<br>&gt;<br>&gt; Glênio Côrtes Himmen<br>&gt; SMTA - Sup. Municipal de Trânsito de Aparecida<br>&gt; glenio.11622x@aparecida.go.gov.br<br>&gt;<br>&gt; _______________________________________________<br>&gt; CentOS-pt-br mailing list<br>&gt; CentOS-pt-br@centos.org<br>&gt; https://lists.centos.org/mailman/listinfo/centos-pt-br<br>&gt;<br>&gt;<br><br><br>-- <br>*Vitor Lobo*<br>Analista de Sistemas Jr.<br>LEMAF - Laboratório de Estudos e Projetos em Manejo Florestal<br>Campus UFLA - Cp: 3060<br>Lavras - MG<br>Cep - 37200-000<br>(35) 99236-7502<br>-------------- Próxima Parte ----------<br>Um anexo em HTML foi limpo...<br>URL: &lt;http://lists.centos.org/pipermail/centos-pt-br/attachments/20160929/20cfd690/attachment-0001.html&gt;<br><br>------------------------------<br><br>_______________________________________________<br>CentOS-pt-br mailing list<br>CentOS-pt-br@centos.org<br>https://lists.centos.org/mailman/listinfo/centos-pt-br<br><br><br>Fim da Digest CentOS-pt-br, volume 114, assunto 7<br>*************************************************<br></div></div></body></html>