[BC3] ppstast + gnuplot... laatste werkt maar niet

Pagina: 1
Acties:

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Ok ik weet het, ik mot checken in de search van gathering en dat heb ik ook gedaan en alles lopen uitproberen wat er staat... geen succes |:(

Dussss... mede mooooh''ers vraag ik jullie hulp bij deze... ppstats draaien bij mij prima (check http://lak.dhs.org/stats) maar ik krijg die *(&@^@*! gnuplot nie aan de draai! Heb al tig verschillende versies gebruikt zowel voor windhoos als voor DOS (oja ik draai Win2k) en heb backslashes gebruikt, forwardslashes, met of zonder .exe, complete pad blablabla maar t werkt allemaal niet... AARGH!

Goed hier de ini:
#--- Team Information --------------------------------------------------------
Team = "Team DTC - Personal Proxy from -=L.@.K.=-®"
TeamHome = "http://arcoheuvelman.dhs.org"
TeamID = 285226

# Use team logo? Specify full URL to *.gif or *.jpg image.
LogoURL="http://members1.chello.nl/~r.jansen7/ohyeah.gif"
#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 = "d:/distributed.net/perproxy/"
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 = 0


#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "c:/program files/apache group/apache/htdocs/stats/"

# Full URL of output web file location. This should end in a "/".
HtmlRoot = "http://lak.dhs.org/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 = "D:\distributed.net\gnuplot\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.exe?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

# 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 = 7
Heb de color codes maar effe weggelaten, vond post al lang genoeg zo ;)

Iemand suggesties??

SysSpec


  • Onno
  • Registratie: Juni 1999
  • Niet online
GNUPlot = "D:\distributed.net\gnuplot\wgnupl32.exe" # Path to GNUplot executable.
Ook hier forward slashes gebruiken.

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Op donderdag 29 maart 2001 23:46 schreef Onno het volgende:

[..]

Ook hier forward slashes gebruiken.
Draait nu met forwardslashes... maar nog steeds nix...

|:(

EDIT:
Kan het ook aan mijn perl liggen??? Heb geloof ik al een aangepaste lopen downen gister.. hier te downen (kon hem wel post wordt dan zo lang :))

SysSpec


Verwijderd

Moet je GNUplot niet patchen zodat ie gif output geeft ipv PNG ?

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Op vrijdag 30 maart 2001 00:03 schreef dredge het volgende:
Moet je GNUplot niet patchen zodat ie gif output geeft ipv PNG ?
Ja ok leuk... maar hoe??????

SysSpec


Verwijderd

www.webofsin.com/gd-1.8.3-gif.patch

Je moet nodig een linux distributie gaan draaien lakkie ! :)

edit : 216.136.171.200/ppstats/ppstats-rc5-7.1-png.tar.gz

ppstats die PNG wel slikt..

  • Onno
  • Registratie: Juni 1999
  • Niet online
Dit is een GNUplot voor Windows met GIF support. Maar aan de versie van GNUplot hoeft ''t niet per se te liggen... :)

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Op vrijdag 30 maart 2001 00:17 schreef Onno het volgende:
Dit is een GNUplot voor Windows met GIF support. Maar aan de versie van GNUplot hoeft ''t niet per se te liggen... :)
Zo''n idee had ik al... aangezien ik verschillende gnuplots getried heb... ik probeer die van jouw ff Onno maar heb weinig hoop...

Heb al een dos versie geprobeert en een andere wgnuplot... beide nix...

Update in 5 mins :)

SysSpec


  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Update... sniff no suc6...

Demmit ik doe iets verkeerd... maar wat????

:?|:(:?

SysSpec


Verwijderd

ff in mijn ini gekeken..

Valt me op dat ik nergens lange map-namen heb gebruikt..
code:
1
GNUPlot       = "C:\distri~1.net\gnuplot\wgnupl32.exe"  # Path to GNUplot executable.

Zo staat hij bij mij ingesteld, denk er aan dat je dan ook ff de ''LogDir'' aan moet passen.

Ik twijfel er aan dat dit het is, maar proberen kan geen kwaad toch ?

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Op vrijdag 30 maart 2001 00:31 schreef Pjabber het volgende:
ff in mijn ini gekeken..

Valt me op dat ik nergens lange map-namen heb gebruikt..
code:
1
GNUPlot       = "C:\distri~1.net\gnuplot\wgnupl32.exe"  # Path to GNUplot executable.

Zo staat hij bij mij ingesteld, denk er aan dat je dan ook ff de ''LogDir'' aan moet passen.

Ik twijfel er aan dat dit het is, maar proberen kan geen kwaad toch ?
idd proberen kan nooit kwaad... :) ga het zo ook even proberen... maar waarom zou ik de logdir dan ook veranderen?? ik bedoel de logs ziet ie toch goed ofniet dan?? anders deed http://lak.dhs.org/stats het helemaal nie toch??

Trouwens Pjabber, draai jij GIF''s of PNG''s??

SysSpec


  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Weer geen suc6 :(

Ik ga het zo eerst opgeven voor vandaag... (Mijn peuken zijn net op ;))

SysSpec


Verwijderd

Op donderdag 29 maart 2001 23:49 schreef lak2k het volgende:

Kan het ook aan mijn perl liggen??? Heb geloof ik al een aangepaste lopen downen gister..
Gezien het feit dat alle andere rotzooi :) wel gewoon wordt gegenereerd denk ik dat het met perl wel goed zit. Welke versie van GNUplot gebruik je ?

Ik heb versie 371 voor win32:
G N U P L O T
MS-Windows 32 bit version 3.7
patchlevel 1
last modified Fri Oct 22 18:00:00 BST 1999

  • Dutchman!
  • Registratie: Januari 2000
  • Laatst online: 22-05 17:04
Dit heb ik een keer op een windhoos 98 bak gehad: met GNUplot op een andere schijf dan de OS schijf (bv D: met windhoos op C: ) werkte het niet, maar met dezelfde GNUplot gewoon op C: werkte het wel. Reden daarachter? Geen idee. Logisch? Nee. Maar het is allicht te proberen :)

edit:
C + : + ) = C:) ipv C: )

We spend our years as a tale that is told


Verwijderd

Op vrijdag 30 maart 2001 00:34 schreef lak2k het volgende:

Trouwens Pjabber, draai jij GIF''s of PNG''s??
Gewoon de standaard gifs, dat werkt prima...

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
Vage is... ben gisteravond zo wezen kl#ten dat nu alleen nog maar de index.html gegenereerd wordt... :(

Byhost.html en al die andere bestaan nog wel maar zijn oud..???

SysSpec


  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:46

crisp

Devver

Pixelated

Ik heb hem gewoon zo:

GNUPlot = "D:\ppstats\gnuplot" # Path to GNUplot executable.

Onno: je MOET als je onder windows draait wel backslashes gebruiken in deze variabele, anders werkt het echt niet (foutje in het script mijns inziens - normaliter zou het voor windows niet uit moeten maken).
In alle andere variabelen moet je weer forward slashes gebruiken. Ook een volledig pad is verplicht, en DOS-notatie (dus geen lange bestandsnamen).
btw ik gebruik deze gnuplot.

edit:

Als je nu helemaal geen goede output meer krijgt, trash dan ff alle gegenereerde bestanden en run het script opnieuw; dat helpt ook wel eens.

Intentionally left blank


Verwijderd

heb ''m hier bollen op win NT4, werkt goed, eerst ook veel geknommeld , heb dan maar besloten gnuplot.exe in de stats/rc5/ dir te droppen, nu geen probleem meer...

  • lak
  • Registratie: November 2000
  • Laatst online: 06-01-2022
de link naar http://ppstats.sourceforge.net werkt prima... alleen... als ik het pakketje down blijken alle bestanden verrot te zijn...

binary instead of ascii... demmit... heb al een mailtje gestuurd naar de webmaster... maar heeft iemand misschien een pakketje voor me met waar dit niet zo is???

:)

SysSpec


Verwijderd

Ik heb mijn ppstats en GNUplot inmiddels naar je mailadres gesodemieterd.

De ppstats is dezelfde die op die site staat, maar bij mij werkt hij prima :P

Veel plezier ermee
Pagina: 1