M'n perproxy stats willen niet helemaal werken. Als ik ppstats run dan maakt die alleen een index file aan zonder de subpages. Ik heb echt al van alles geprobeerd, maar ik kom er niet uit.
BTW, ppstats draaid op een PowerBSD waar ik geen root acces heb dus ik kan niet al te veel uitvoeren.
Dit is een stuk uit m'n ppstats.ini
#--- Input Options -----------------------------------------------------------
# Logfile name format information. This script does not correctly support
# formats other than YYYYMMDD. The logs in this example are kept in a
# subdirector called "logrc5", which can be configured in the proxy's ini.
# This script does require that daily logfile rotation is enabled. Other
# rotation time periods are not yet supported. LogDir should end in a "/".
LogDir = "/www/htdocs/goesfont/proxy/"
LogPre = "pproxyrc5" # For rc5pkeyYYYYMMDD
LogSuf = "log" # For rc5pkeyYYYYMMDD.log
# The personal proxy can read compressed log files after they have been
# rotated. If you have this proxy option enabled and want to use ppstats,
# configure the following settings. The defaults are for UNIX gzip. Command
# that unzips the logfile to stdout without deleting the file is required.
#ProcessZipLogs = 0 # Ignore zipped log files.
ProcessZipLogs = 1 # Unzip and process all log files.
LogZipSuf = "log.gz" # For rc5pkeyYYYYMMDD.log.gz
LogTmpSuf = "log.tmp" # For rc5pkeyYYYYMMDD.log.tmp
LogDecompressor = "gzip -d -c" # Command line zip decompressor.
# Maximum number of days to read log files. A value of zero means
# read all available log files without limit. A value of 365 would mean
# only read back blocks done in the last year and ignore anything older.
MaxDays = 365
#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "/www/htdocs/goesfont/proxy/stats/output"
# Full URL of output web file location. This should end in a "/".
HtmlRoot = "http://www.webz4all.com/proxy/stats/"
# Realitive path to icon folder from htmldir and htmlroot. Default should work
# fine for most cases. This should end in a "/". If you haven't copied
# this folder from the zip distribution to your htmldir now is a good time.
IconDir = "icons/"
# HTML output filenames. You should configure IIS to use index.html as a
# default document, or rename the index.html's to default.htm
htmlteam = "index.html"
htmlexec = "exec.html"
htmlmail = "byemail.html"
htmlhost = "byhost.html"
htmlos = "byos.html"
htmlcpu = "bycpu.html"
htmlver = "byver.html"
htmlfull = "byfull.html"
htmldomain = "bydomain.html"
htmlhour = "byhour.html"
htmldate = "bydate.html"
htmlweek = "byweek.html"
htmlmonth = "bymonth.html"
htmlyear = "byyear.html"
htmldayofweek = "bydaywk.html"
htmlindvemail = "index.html"
htmlemailhist = "emailhist.html"
htmlhostsbyemail = "emailhosts.html"
htmlindvhost = "index.html"
htmlhosthist = "hosthist.html"
htmlemailsbyhost = "hostemails.html"
# Cascading style sheet filename. Will be created by ppstats for you.
css = "ppstats.css"
# All ip addresses from the proxy log files are converted to DNS names and
# then cached for a user defined amount of time. A value of zero means refresh
# on every run. This cache file is saved in your workingdir. If you run
# ppstats on a server with a slow internet connection, use a large cachedays.
CacheFile = "rc5-dns.cache" # DNS cache filename to be created.
CacheDays = 30 # Days to store cache before refreshing.
# GIF based chart options. Be sure to specify the full or relative path to the
# specially compiled GNUplot program with GIF support. Config and data files
# are create by ppstats for you.
GNUPlot = ""/usr/bin/gnuplot" # Path to GNUplot executable.
GNUPlotconfig = "gnuplot.ini" # GNUplot config file.
GNUPlotdata = "plot.data" # GNUplot data file.
GNUPlotoutput = "plot.gif" # Output GIF filename.
# The page counter component. See the documentation section above for details
# on how to obtain and use the Count.cgi program. To change the color of the
# displayed count number, change the prgb parameter. Note that you may have to
# do a 'echo "1" > rc5.dat' in your Counter/data folder for this to work. You
# can specify a different hit counter program by changing the counter variable.
#UseCounter = 0 # Do not use the hit counter.
UseCounter = 0 # Use the hit counter.
Counter = "/cgi-bin/Count.cgi?ft=0|tr=1|trgb=000000|srgb=00FF00|prgb=993333|md=8|dd=D|comma=T|df=rc5.dat"
# The By Host information page is sometimes not particularly practical for
# very large teams. You can display this section and ppstats will not record
# blocks submitted by host in any manner. The combined output file size and
# execution time will decrease substantially.
#ShowByHost = 0 # Do not show the By Host section.
ShowByHost = 1 # Show the By Host section.
========
Nog iets, als ik een "/" achter de regels bovenin ze zoals het er staat, dan krijg ik de foutmelding "cis a directory". En kan ik gnuplot uitschakelen, want die is niet op die server geinstalleerd dus daar krijg ik ook allemaal foutmeldingen dat die hem niet kan vinden.
Is er misschien een alternatief voor ppstats, mag lekker simpel zijn.
Alvast bedankt !
BTW, ppstats draaid op een PowerBSD waar ik geen root acces heb dus ik kan niet al te veel uitvoeren.
Dit is een stuk uit m'n ppstats.ini
#--- Input Options -----------------------------------------------------------
# Logfile name format information. This script does not correctly support
# formats other than YYYYMMDD. The logs in this example are kept in a
# subdirector called "logrc5", which can be configured in the proxy's ini.
# This script does require that daily logfile rotation is enabled. Other
# rotation time periods are not yet supported. LogDir should end in a "/".
LogDir = "/www/htdocs/goesfont/proxy/"
LogPre = "pproxyrc5" # For rc5pkeyYYYYMMDD
LogSuf = "log" # For rc5pkeyYYYYMMDD.log
# The personal proxy can read compressed log files after they have been
# rotated. If you have this proxy option enabled and want to use ppstats,
# configure the following settings. The defaults are for UNIX gzip. Command
# that unzips the logfile to stdout without deleting the file is required.
#ProcessZipLogs = 0 # Ignore zipped log files.
ProcessZipLogs = 1 # Unzip and process all log files.
LogZipSuf = "log.gz" # For rc5pkeyYYYYMMDD.log.gz
LogTmpSuf = "log.tmp" # For rc5pkeyYYYYMMDD.log.tmp
LogDecompressor = "gzip -d -c" # Command line zip decompressor.
# Maximum number of days to read log files. A value of zero means
# read all available log files without limit. A value of 365 would mean
# only read back blocks done in the last year and ignore anything older.
MaxDays = 365
#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "/www/htdocs/goesfont/proxy/stats/output"
# Full URL of output web file location. This should end in a "/".
HtmlRoot = "http://www.webz4all.com/proxy/stats/"
# Realitive path to icon folder from htmldir and htmlroot. Default should work
# fine for most cases. This should end in a "/". If you haven't copied
# this folder from the zip distribution to your htmldir now is a good time.
IconDir = "icons/"
# HTML output filenames. You should configure IIS to use index.html as a
# default document, or rename the index.html's to default.htm
htmlteam = "index.html"
htmlexec = "exec.html"
htmlmail = "byemail.html"
htmlhost = "byhost.html"
htmlos = "byos.html"
htmlcpu = "bycpu.html"
htmlver = "byver.html"
htmlfull = "byfull.html"
htmldomain = "bydomain.html"
htmlhour = "byhour.html"
htmldate = "bydate.html"
htmlweek = "byweek.html"
htmlmonth = "bymonth.html"
htmlyear = "byyear.html"
htmldayofweek = "bydaywk.html"
htmlindvemail = "index.html"
htmlemailhist = "emailhist.html"
htmlhostsbyemail = "emailhosts.html"
htmlindvhost = "index.html"
htmlhosthist = "hosthist.html"
htmlemailsbyhost = "hostemails.html"
# Cascading style sheet filename. Will be created by ppstats for you.
css = "ppstats.css"
# All ip addresses from the proxy log files are converted to DNS names and
# then cached for a user defined amount of time. A value of zero means refresh
# on every run. This cache file is saved in your workingdir. If you run
# ppstats on a server with a slow internet connection, use a large cachedays.
CacheFile = "rc5-dns.cache" # DNS cache filename to be created.
CacheDays = 30 # Days to store cache before refreshing.
# GIF based chart options. Be sure to specify the full or relative path to the
# specially compiled GNUplot program with GIF support. Config and data files
# are create by ppstats for you.
GNUPlot = ""/usr/bin/gnuplot" # Path to GNUplot executable.
GNUPlotconfig = "gnuplot.ini" # GNUplot config file.
GNUPlotdata = "plot.data" # GNUplot data file.
GNUPlotoutput = "plot.gif" # Output GIF filename.
# The page counter component. See the documentation section above for details
# on how to obtain and use the Count.cgi program. To change the color of the
# displayed count number, change the prgb parameter. Note that you may have to
# do a 'echo "1" > rc5.dat' in your Counter/data folder for this to work. You
# can specify a different hit counter program by changing the counter variable.
#UseCounter = 0 # Do not use the hit counter.
UseCounter = 0 # Use the hit counter.
Counter = "/cgi-bin/Count.cgi?ft=0|tr=1|trgb=000000|srgb=00FF00|prgb=993333|md=8|dd=D|comma=T|df=rc5.dat"
# The By Host information page is sometimes not particularly practical for
# very large teams. You can display this section and ppstats will not record
# blocks submitted by host in any manner. The combined output file size and
# execution time will decrease substantially.
#ShowByHost = 0 # Do not show the By Host section.
ShowByHost = 1 # Show the By Host section.
========
Nog iets, als ik een "/" achter de regels bovenin ze zoals het er staat, dan krijg ik de foutmelding "cis a directory". En kan ik gnuplot uitschakelen, want die is niet op die server geinstalleerd dus daar krijg ik ook allemaal foutmeldingen dat die hem niet kan vinden.
Is er misschien een alternatief voor ppstats, mag lekker simpel zijn.
Alvast bedankt !