Personal Proxy stats

Pagina: 1
Acties:

  • leo2222
  • Registratie: September 2000
  • Laatst online: 22-05 19:48
Ik heb vandaag pproxy en ppstats geinstalleerd om mun linux bakkie (rh6.2). Dit werkt volgens mij wel goed.
Mijn vraag is, Hoe kan ik mijn statestieken om het bijv. het half uur updaten. Ik bedoel de log file, die ppstats om het half uur starten dat lukt wel maar heeft geen zin als er geen log is.
Of kan dit alleen per dag?

alvast bedankt

  • Onno
  • Registratie: Juni 1999
  • Niet online
Eh? Je logfile is real-time... ik weet niet wat daar aan te updaten valt. :?

  • leo2222
  • Registratie: September 2000
  • Laatst online: 22-05 19:48
je heb 2 soorten log file's. eentje die heet pproxyorg of rc5 en die van de console.
Ik moet dus die van de logconsolefile hebben neem ik aan?

  • Onno
  • Registratie: Juni 1999
  • Niet online
Nee, je moet de pproxyrc5/ogr logs hebben voor ppstats. :)

  • Sir Abarth
  • Registratie: Juni 2000
  • Laatst online: 18-01-2024

Sir Abarth

The secret word is: ToeT!

Als je een latere versie dan 7.1 gebruikt, kan het zijn dat je de consolelogfiles ook nodig hebt. Lees eens een readme misschien? :)

ToeTerdeToeTToeT! | May the ToeT be with you | There is no ToeT | specs
Still the gentleman ;)
[Clan of ToeT]


  • Oezie Woezie
  • Registratie: December 1999
  • Niet online

Oezie Woezie

Pim. is de beste

rechtstreeks uit de readme.txt van perproxy.


[console]

[console]/logfileconsole: name of console log file

[console]/logfileconsolerotation: interval to rotate console log at,
options are none, hourly, daily, monthly, yearly, or startup

[console]/consoleverbosity: control verbosity of the console log output.
It is specified with a list of space-separated keywords:

all : display all message types (default)
none : no console output at all
general : General logging (Status: Slot X LISTENING, and others)
stats : Periodic statistics reports
keyblock : Block numbers
server : Upstream keyserver communications
client : Downstream client communications
buffers : statistics (ready=X/X, done=X, Xd XX:XX:XX, X.X Mkeys/sec)
timestamp : Include UTC timestamps on each line (screen only)
attention : Keyspace change, time change, dialup events
errwarn : Unrecognized opcodes/version
errlow : Invalid settings
errsevere : Operation inhibiting problems

If the very first keyword is "not", the verbosity will be "all", minus
the keywords specified. For example, "not keyblock client" will prevent
messages in the keybload or in the client categories from displayed; all
other messages are displayed.

[console]/timestampflags: controls the format that is used to display
timestamps on screen, logged in the console log, and logged in keyblock
logs. Note that timestamps in the onscreen console log can be hidden
entirely with the "consoleverbosity" option above. The integer that is
specified for this value is actually the result of adding one of the
format mode values, plus optionally one or more of the additional flags.
The format mode values available are:

old-style MM/DD/YY HH:MM:SS 1
new-style YYYY-MM-DD HH:MM:SS 2
client-style Mmm DD HH:MM:SS 3

And the multiple flags that you can choose are:

show timezone name 64
timestamps should be in UTC 128

Note that the "show timezone name (64)" only has an effect if timestamps
are being "displayed in UTC format (128)". When that is the case, the
letters "UTC" will be appended to all timestamps that are displayed
on-screen (not in console log files, or keyblock files).

The default format is 193, and will provide output that is identical
to that used by personal proxies before build 313.

Also notice that the timestampflags will not affect the numbering
sequence used to generate filenames for automatically rotated logfiles.
Rotated log filenames are always generated from the current UTC time.

Be aware that changing the timestamp format may affect your ability to
use log parsing or log processing utilities. You should contact the
authors of your utilities to obtain a version that is able to parse the
new 4-digit year format, and accomodate localtime timestamps.

een mooi Tshirt met Pim. is de beste enzo


  • leo2222
  • Registratie: September 2000
  • Laatst online: 22-05 19:48
Die worden toch daily gemaakt :?
http://www.dutchpowercows.org/full.dsp?id=69
http://www.dutchpowercows.org/full.dsp?id=70
hier heb ik de meeste info van.

zo zijn mijn instellingen nu, wat moet ik hier aan veranderen.

File: ppstats-ogr.ini
LogDir = "/distributed/proxy/proxyper319c-linux-x86/"
LogPre = "logconsolefile" # For ogrpkeyYYYYMMDD
LogSuf = "log" # For ogrpkeyYYYYMMDD.log

File: proxyper.ini

[console]
logfileconsole=logconsolefile
logfileconsolerotation=daily
consoleverbosity="general stats keyblock server client buffers timestamp attenti
timestampflags=130

[ogr]
logfilekeyblock=/logs/pproxyogr
logfilekeyblockrotation=daily
minkeysready=10
maxkeysready=20
maxkeysdone=10

(ik heb uit die .ini files alleen het belangrijkste uitgehaald)
in deze logs/pproxyogr dir staat nog niks

  • Onno
  • Registratie: Juni 1999
  • Niet online
Op zaterdag 08 september 2001 19:40 schreef leo2222 het volgende:
Die worden toch daily gemaakt :?
Gemaakt ja, maar continu geupdate.[quote]
zo zijn mijn instellingen nu, wat moet ik hier aan veranderen.
File: ppstats-ogr.ini
LogDir = "/distributed/proxy/proxyper319c-linux-x86/"
LogPre = "logconsolefile" # For ogrpkeyYYYYMMDD
LogSuf = "log" # For ogrpkeyYYYYMMDD.log
Zoals ik al zei, je moet niet de console logs hebben, maar de pproxyogr logs.
logfilekeyblock=/logs/pproxyogr

...

in deze logs/pproxyogr dir staat nog niks
Heb je wel een /logs/pproxyogr directory? Bedoel je niet logs/pproxyogr, zonder /? Heb je al wel nodes geflusht?

  • leo2222
  • Registratie: September 2000
  • Laatst online: 22-05 19:48
Heb je wel een /logs/pproxyogr directory? Bedoel je niet logs/pproxyogr, zonder /? Heb je al wel nodes geflusht?

ik heb zelf een dir /logs gemaakt in de dir proxy(/distruted/proxy/logs)
dan maak hij toch zelf die pproxyorg bestand aan?
en heb al nodes geflusht. maar geen bestand

  • leo2222
  • Registratie: September 2000
  • Laatst online: 22-05 19:48
Hehe eindelijk. Die / voor logs hoorde er niet voor
Thanx!! *D
Pagina: 1