Zucht..ik ben tot 2 uur vannacht bezig geweest dat ppstats aan de praat te krijgen maar ik word er echt helemaal gek van...
Here goes...
Omdat de proxy op een linux bakje draait heb ik het eerst daarop geprobeerd.. gnuplot en ppstat geinstalleerd maar het wil gewoon niet
Dus dacht ik ach dan rip ik de log files wel naar win2k en doe ik het daarop. Dus opnieuw ppstats gehaald, gnuplot v3.71 en Activeperl en geinstalleerd.
Aanwijzingen gevolgd op dpc.org en runnen maar..Niet dus. Ik krijg gewoon geen plot.gif. Nu heb ik er al over gelezen maar volgens de replies daar en hier moet het met 3.71 wel kunnen. Wat de hell doe ik verkeerd..
Info:
ppstats: C:\Program Files\ppstats-rc5-7.1
proxylogs: C:\Program Files\pproxy
GNUplot: C:\Program Files\gp371w32
ppstats-rc5.ini
----------------
#--- Team Information --------------------------------------------------------
Team = "-KMA-"
TeamHome = "http://www.tweakers.net"
TeamID = 10313
# Use team logo? Specify full URL to *.gif or *.jpg image.
#LogoURL="http://people.zeelandnet.nl/pshb12/pics/peter_jiskefet.jpg"
UseLogo = 0 # Do not use team logo.
#UseLogo = 1 # Use team logo. Must specify full URL in LogoURL.
#--- 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 = "C:/Program Files/pproxy/"
LogPre = "pproxyrc5" # For pproxyrc5YYYYMMDD
LogSuf = "log" # For pproxyrc5YYYYMMDD.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.
##Heb jij een log file compressor draaien en dan bedoel ik niet striplog.pl.
ProcessZipLogs = 0 # Ignore zipped log files.
#ProcessZipLogs = 1 # Unzip and process all log files.
LogZipSuf = "log.gz" # For pproxyrc5YYYYMMDD.log.gz
LogTmpSuf = "log.tmp" # For pproxyrc5YYYYMMDD.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.
# 0 is een betere waarde dan 60
MaxDays = 0
#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "C:/Program Files/pproxy/html/"
# Full URL of output web file location. This should end in a "/".
# HtmlRoot = "http://10.121.10.197/"
#van uitgaande dat dit jou eigen systeem is is dit voldoende
HtmlRoot = "http://www.bart.nl/~dagobah/rc5/"
# 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 = 365 # Days to store cache before refreshing.
#ik gebruik 999, scheelt een paar jaar
CacheDays = 999 # 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 = "C:\Program Files\gp371w32\wgnupl32.exe" # 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 = 1 # 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.
#--- Format Options ----------------------------------------------------------
# GIF based chart line style option. The default width is 520 and the
# default height is 400. 800 by 600 is nice for people with large monitors.
# Any value of 1 or less will disable the nth-day average feature.
#ChartLineStyle = 1 # Impulses style. Not useful with nth day average.
ChartLineStyle = 2 # Lines style.
#ChartLineStyle = 3 # Linespoints style.
ChartWidth = 520 # GIF image width.
ChartHeight = 400 # GIF image height.
DayAverage = 21 # Days of nth-day average.
# Days to track up/down movement.
#MovementDays = 1
MovementDays = 7 #standaard
# Maximum number of rows to show per category page.
MaxRows = 100
# Number of days to display on the history pages.
DaysHist = 6
# Number of days to display for individual block history.
BlockHistory = 21
# Use header and/or footer banners?
UseHeaderBanner = 0 # Do not use header banner.
#UseHeaderBanner = 1 # Use header banner.
#UseFooterBanner = 0 # Do not use footer banner.
UseFooterBanner = 1 # Use footer banner.
# Consolidate numbers in hosts? ie, host12.myisp.com -> host?.isp.com
# See rc5-domain.cons for a list of domains you wish to manual consolidate.
# See rc5-ip.cons for a list of ip addresses you wish to manual consolidate.
# For instance, an entry in rc5-domain.cons like slashdot.org will consolidate
# the hosts
www.slashdot.org,
ftp.slashdot.org, and slashdot.org into
# ?.slashdot.org Some more examples are provided. Entries in rc5-domain.cons
# and rc5-ip.cons are processed regardless whether or not ConsHosts is
# enabled. Note that rc5-domain.cons works from the right, rc5-ip.cons the
# left. Note that the last entry in each array does not have a comma after it.
# omgewisseld
ConsHosts = 0 # Do not consolidate hosts.
# ConsHosts = 1 # Consolidate hosts.
# Last Seen column on the By Hosts page options. Times are defined in
# seconds. Colors are in RGB format, do not append a pound sign "#" to
# the front of the color string. Warning times should be less than
# Critical times. See default settings for examples on how to set these.
#ColorLastSeen = 0 # Do not color last seen.
ColorLastSeen = 1 # Color last seen column.
LastSeenWarningTime = 86400 # 24*60*60 default 24 hours warning time.
LastSeenCriticalTime = 604800 # 7*24*60*60 default 7 days critical time.
LastSeenWarningColor = "888800" # Dark yellow.
LastSeenCriticalColor = "BB0000" # Bright red.
# Category displacement colors for moving up or down in rank since
# yesterday. Defaults are green for up, red for down.
MoveUpColor = "009900" # Green
MoveDownColor = "990000" # Red
# Insert META REFRESH tag in html files? Refresh period in seconds.
#UseMetaRefresh = 0 # Do not use META REFRESH tag.
UseMetaRefresh = 1 # Use META REFRESH tag.
MetaRefreshPeriod = 900 # Refresh after this number of seconds.
#--- Color Configuration -----------------------------------------------------
# Color configuration settings. Several examples have been provided.
# Simply uncomment the section you want to use or modify, and comment
# out the rest. Do not append a pound sign "#" to the front. Must
# be in RRGGBB format.
# Original Distributed.Net theme, as far as I remember.
#backgroundcolor = "000000" # black
#linkbarcolor = "1144AA" # blue
#linkbartitlefontcolor = "FFFFFF" # white
#sectiontitlebarcolor = "AAAAAA" # light gray
#sectiontitlefontcolor = "000077" # dark blue
#sectionlowlightcolor = "000000" # black
#sectionhighlightcolor = "808080" # gray
#sectionnotefontcolor = "FF0000" # red
#historycolor = "A0A0A0" # light gray
#avehistorycolor = "1144CC" # blue
#ndayhistorycolor = "6688FF" # light blue
#textcolor = "FFCC66" # gold
#linkcolor = "BBBBBB" # light gray
#visitedlinkcolor = "BBBBBB" # light gray
#activelinkcolor = "BBBBBB" # light gray
#fontstyle = "Arial, Verdana, Helvetica"
# Current Distributed.Net theme, more or less.
backgroundcolor = "FFFFFF" # white
linkbarcolor = "EEEEEE" # light gray
linkbartitlefontcolor = "000000" # black
sectiontitlebarcolor = "770000" # dark red
sectiontitlefontcolor = "FFFFFF" # white
sectionlowlightcolor = "EEEEEE" # light gray
sectionhighlightcolor = "FFFFEE" # light yellow
sectionnotefontcolor = "000000" # black
historycolor = "770000" # dark red
avehistorycolor = "333399" # blue
ndayhistorycolor = "3333FF" # light blue
textcolor = "000000" # black
linkcolor = "993333" # red
visitedlinkcolor = "333399" # blue
activelinkcolor = "999999" # gray
fontstyle = "Arial, Verdana, Helvetica"
Mochten de guru's me kunnen helpen HEEL graag..Als je meer info nodig hebt hoor ik hier ook graag..