- cilimpo blogja
- A hozzászóláshoz be kell jelentkezni
- 855 megtekintés
Hozzászólások
rendben.
- A hozzászóláshoz be kell jelentkezni
A címben ott a válasz. Webalizer. Ezzel meg tudod oldani.
Petya
- A hozzászóláshoz be kell jelentkezni
Az awstats is egész jó project erre a célra
___________________________________________________________________
Lógnak a pálmafán a kókuszok .... :)
- A hozzászóláshoz be kell jelentkezni
mi a baj a webalizerrel?
- A hozzászóláshoz be kell jelentkezni
ha a különböző weblapoknak el van szeparálva a logja, akkor csak megfelelően kell paraméterezni a webalizert
pl:
#!/bin/sh
webalizer -kapcsolók log1 honlapstat1
webalizer -kapcsolók log2 honlapstat2
...
webalizer -kapcsolók logn honlapstatn
ez mehet akár óránként crontabbal
a kapcsolókat fejből nem tudom, de eléggé alapos a manja és a konf fájlja
idézet a faqjából: (http://www.mrunix.net/webalizer/faq.html)
17. How can I easily process multiple virtual hosts?
There are many ways to process multiple virtual hosts on the same machine. The easiest way I have found, provided that each host generates it's own log file, is as follows:
1. Create a central directory for your configuration files. (I use /etc/webalizer)
2. Make a configuration file for each virtual host and place them in the central directory. Each configuration file should have at least the HostName (domain), OutputDir and LogFile configuration settings specified. You probably will want to specify other settings specific to the domain, such as HideReferrer, HideSite and maybe some others as well. Name the file the same as the domain name, and end it with a .conf extension, so you can easily tell what vhost the configuration is for.
3. To process all your virtual sites with a single command, a simple shell command can now be used:
for i in /etc/webalizer/*.conf; do webalizer -c $i; done
After you have it set up, to add a new host, all you need to do is create a new configuration file and put it in the directory. It will be automatically picked up the next time you run the command.
--
by Mikul@s
- A hozzászóláshoz be kell jelentkezni
Köszönöm szépen. A hétvégén kipróbálom.
- A hozzászóláshoz be kell jelentkezni
Hello!
Úgy tudom a webalizer tud proftpd transfer log-ot feldolgozni, próbálom beállítani egy gépen, de nem találok hozzá normális leírást. Tudtok segíteni?
Petya
- A hozzászóláshoz be kell jelentkezni
én feldobtam a webmint, és ott megkértem arra, hogy óránként grafikonozzon :-)
#crontab -l
@hourly /etc/webmin/webalizer/webalizer.pl /var/log/xferlog
--
by Mikul@s
- A hozzászóláshoz be kell jelentkezni