tachtler:squid_centos_6
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
tachtler:squid_centos_6 [2014/09/05 08:20] – klaus | tachtler:squid_centos_6 [2014/09/05 11:09] – [Ausführen von SquidAnalyzer] klaus | ||
---|---|---|---|
Zeile 1307: | Zeile 1307: | ||
< | < | ||
- | # make install | ||
# make install | # make install | ||
Installing / | Installing / | ||
Zeile 1355: | Zeile 1354: | ||
# Path where SquidAnalyzer should dump all HTML and images files. | # Path where SquidAnalyzer should dump all HTML and images files. | ||
# Choose a path that can be read by a Web browser | # Choose a path that can be read by a Web browser | ||
- | Output / | + | Output |
# The URL of the SquidAnalyzer javascript, HTML and images files. | # The URL of the SquidAnalyzer javascript, HTML and images files. | ||
# Tachtler | # Tachtler | ||
- | # default: WebUrl / | + | # default: WebUrl |
WebUrl / | WebUrl / | ||
# Set the path to the Squid log file | # Set the path to the Squid log file | ||
# Tachtler | # Tachtler | ||
- | # default: LogFile / | + | # default: LogFile |
- | LogFile / | + | LogFile / |
# If you want to use DNS name instead of client Ip address as username enable | # If you want to use DNS name instead of client Ip address as username enable | ||
- | # this directive. When you don't have authentication, | + | # this directive. When you don't have authentication, |
# the client ip address, this allow you to use the DNS name instead. | # the client ip address, this allow you to use the DNS name instead. | ||
- | # Note that you must have a working DNS resolution and that it can really slow | + | #Â Note |
- | # down the generation of reports. | + | #Â down |
UseClientDNSName | UseClientDNSName | ||
Zeile 1382: | Zeile 1381: | ||
# show as Ip addresses so if you want to display name instead | # show as Ip addresses so if you want to display name instead | ||
# create a file with this format : | # create a file with this format : | ||
- | # LOCATION_NAME IP_NETWORK_ADDRESS | + | # LOCATION_NAME IP_NETWORK_ADDRESS |
# Separator must be a tabulation | # Separator must be a tabulation | ||
- | NetworkAlias / | + | NetworkAlias |
# Set the file containing user alias name. If you don't have auth_proxy | # Set the file containing user alias name. If you don't have auth_proxy | ||
# enable user are seen as Ip addresses, or if you want to replace login | # enable user are seen as Ip addresses, or if you want to replace login | ||
# name by full user name, create a file with this format : | # name by full user name, create a file with this format : | ||
- | # FULL_USERNAME IP_ADDRESS || LOGIN_NAME | + | # FULL_USERNAME IP_ADDRESS || LOGIN_NAME |
# Separator must be a tabulation | # Separator must be a tabulation | ||
- | UserAlias / | + | UserAlias |
# How do we sort Network, User and Url report screen | # How do we sort Network, User and Url report screen | ||
# Value can be: bytes, hits or duration. Default is bytes. | # Value can be: bytes, hits or duration. Default is bytes. | ||
- | OrderNetwork bytes | + | OrderNetwork |
- | OrderUser bytes | + | OrderUser |
- | OrderUrl bytes | + | OrderUrl |
# How do we sort Mime types report screen | # How do we sort Mime types report screen | ||
# Value can be: bytes or hits. Default is bytes. | # Value can be: bytes or hits. Default is bytes. | ||
- | OrderMime bytes | + | OrderMime |
# Should we display user details. This will show all URL read | # Should we display user details. This will show all URL read | ||
# by user. Take care to have enougth space disk for large user. | # by user. Take care to have enougth space disk for large user. | ||
- | UrlReport 1 | + | UrlReport |
# Run in quiet mode or print debug information | # Run in quiet mode or print debug information | ||
- | QuietMode 1 | + | QuietMode |
# Cost of the bandwith per Mb. If you want to generate invoice per Mb | # Cost of the bandwith per Mb. If you want to generate invoice per Mb | ||
# for bandwith traffic this can help you. Value 0 mean no cost. | # for bandwith traffic this can help you. Value 0 mean no cost. | ||
# Tachtler | # Tachtler | ||
- | # default: CostPrice 0.5 | + | # default: CostPrice |
- | CostPrice 0.01 | + | CostPrice |
# Currency of the bandwith cost | # Currency of the bandwith cost | ||
- | Currency & | + | Currency |
# Top number of url to show | # Top number of url to show | ||
- | TopNumber 100 | + | TopNumber |
# Path to the file containing client ip addresses, network ip address, | # Path to the file containing client ip addresses, network ip address, | ||
Zeile 1428: | Zeile 1427: | ||
# Path to the file containing client ip addresses, network ip address, | # Path to the file containing client ip addresses, network ip address, | ||
# and/or auth login to include into the report. Other entries will be | # and/or auth login to include into the report. Other entries will be | ||
- | # excluded | + | #Â excluded |
Include / | Include / | ||
- | # Translation Language file to use (fr_FR.txt, pt_BR.txt | + | # Translation Language file to use (fr_FR.txt, pt_BR.txt, es_ES.txt, |
- | # Default to en_US.txt | + | # en_US.txt, ru_RU.txt, uk_UA.txt, cs_CZ.txt, pl_PL.txt and de_DE.txt). |
- | #Lang / | + | # Default to: |
+ | #Lang | ||
# Tachtler | # Tachtler | ||
- | Lang / | + | Lang / |
# Date format use to display date (year = %y, month = %m and day = %d) | # Date format use to display date (year = %y, month = %m and day = %d) | ||
# You can also use %M to replace month by its 3 letters abbreviation. | # You can also use %M to replace month by its 3 letters abbreviation. | ||
- | DateFormat %y-%m-%d | + | DateFormat |
# Custom Footer. Must be a path to a text file containing HTML code that | # Custom Footer. Must be a path to a text file containing HTML code that | ||
Zeile 1449: | Zeile 1449: | ||
FooterFile | FooterFile | ||
- | # Set this to 1 if you want to anonymize all user login. The username | + | #â¯Set |
# will be replaced by an unique id that change at each squid-analyzer | # will be replaced by an unique id that change at each squid-analyzer | ||
# run. Default disable. | # run. Default disable. | ||
- | AnonymizeLogin 0 | + | AnonymizeLogin |
# Adds peer cache hit (CD_SIBLING_HIT) to be taken has local cache hit. | # Adds peer cache hit (CD_SIBLING_HIT) to be taken has local cache hit. | ||
# Enabled by default, you must disabled it if you don't want to report | # Enabled by default, you must disabled it if you don't want to report | ||
# peer cache hit onto your stats. | # peer cache hit onto your stats. | ||
- | SiblingHit 1 | + | SiblingHit |
# Set the default unit for transfert size. Default is BYTES, other possible | # Set the default unit for transfert size. Default is BYTES, other possible | ||
Zeile 1474: | Zeile 1474: | ||
# By default SquidAnalyzer is saving current collected statistics each time | # By default SquidAnalyzer is saving current collected statistics each time | ||
- | # a new hour is found in log file. Most of the time this is enough but if | + | #Â a new hour is found in log file. Most of the time this is enough but if |
- | # you have huge log file and don't have enough memory this will slow down the | + | #Â you |
# parser by forcing Perl to use temporaries files. Use lower value following | # parser by forcing Perl to use temporaries files. Use lower value following | ||
# your memory and the size of your log file, on very huge log file with lot of | # your memory and the size of your log file, on very huge log file with lot of | ||
Zeile 1492: | Zeile 1492: | ||
# Feel free to define your own header but take care to not break current design. | # Feel free to define your own header but take care to not break current design. | ||
# | # | ||
+ | |||
+ | # This directive allow exclusion of some unwanted methods in report statistics | ||
+ | # like HEAD, POST, CONNECT, etc. Can be a comma separated list of methods. | ||
+ | # | ||
+ | |||
+ | # This directive allow exclusion of some unwanted mimetypes in report statistics | ||
+ | # like text/html, text/plain, or more generally text/*, etc. Can be a comma separated | ||
+ | # list of perl regular expression. | ||
+ | # | ||
</ | </ | ||
Zeile 1601: | Zeile 1610: | ||
<code bash> | <code bash> | ||
#!/bin/sh | #!/bin/sh | ||
- | / | + | / |
</ | </ | ||
Zeile 1620: | Zeile 1629: | ||
Das Perl-Script wird mit folgendem Befehl ausgeführt: | Das Perl-Script wird mit folgendem Befehl ausgeführt: | ||
< | < | ||
- | # ./ | + | # ./ |
</ | </ | ||
tachtler/squid_centos_6.txt · Zuletzt geändert: 2014/11/01 08:43 von klaus