Thu, Dec 22, 2005 ve 09:05:04PM +0100, Tomas Ruprich napsal:
Thu, Dec 22, 2005 ve 01:26:20PM -0500, Pierre Ancelot napsal:
Hey everyone :)
I am wondering how i could get awstats to check my logs on my
cluster.
I use an LVS-NAT and so, each server's log is stored on it's own
disk.
So i got one virtual server but a lot of different log files...
Any idea how i could implement this ?
Well, i was realizing something like month ago...
In apache configuration file on each application server i have
this line:
CustomLog "|/usr/bin/logger -t cluster_access_log" combined env=!
dontlog
and then on log server i have syslog-ng installed, where are
these configuration lines:
destination d_cluster_access_log { file("/var/log/httpd/
all_clusters_log"); };
filter f_cluster_access_log { match("cluster_access_log"); };
source s_net { udp(); };
log { source(s_net); filter(f_cluster_access_log); destination
(d_cluster_access_log); };
awstats is very good idea, i use it too :)
I didn't mentioned syslog configuration on application servers, i
think it's quite simple, but only for order...
into /etc/syslog.conf:
*.* @<syslog_server_IP>
once more Tomyk :)
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-
users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users