LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-01-2010, 06:24 AM   #1
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Rep: Reputation: 15
AWStats for loadbalancing servers


I have managed to configure AWstats to work from one server to access the log files for multiple websites on multiple servers and even managed to write a little front end php site to access all the different conf files.

I want to know if there is a way of combing two conf files for the same site but are on two different servers in a loadbalanced situation.

so my conf files look something like:

awstats.server1.domain.com
awstats.server2.domain.com

I have to monitor bandwidth for our websites and its gets tedious switching between the various conf files for the same site and totaling it up so I was hoping I could combine the output of both conf files on screen using some funky command in the awstats.pl script

Anyone ever tried this?
 
Old 04-03-2010, 01:17 AM   #2
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Rep: Reputation: 16
If its about a single website this would be easy, create an nfs share that exposes your logs and make awstats parse logs in the two servers using logmerger.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPVS loadbalancing and IPTABLES Firewall issues yaw55555 Linux - Networking 2 12-05-2012 11:36 AM
LoadBalancing to Jboos linux2man Linux - Enterprise 4 06-24-2008 12:01 PM
loadbalancing not working fine gvkp28 Linux - Networking 3 12-17-2005 04:50 AM
Bridging+LoadBalancing---is it possible??? kartheekpn Linux - Networking 0 04-14-2005 02:07 PM
dns loadbalancing tzkolinux Linux - Networking 1 12-20-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration