LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Apache Load Balancer Monitoring

[ILUG] Apache Load Balancer Monitoring

Peter Finch pfinch at compsoc.com
Tue Sep 14 18:24:45 IST 2010


Hi,

I am running Apache as a load balancer in a production environment. I have 
set up load balancers using the apache ProxyPassMatch and <Proxy> 
directives, e.g.

 	ProxyPassMatch ^(?i)/Test(.*)$  balancer://testcluster/Test$1

         <Proxy balancer://testcluster>
                 BalancerMember http://10.10.10.1 route=node1
                 BalancerMember http://10.10.10.2 route=node2
                 BalancerMember http://10.10.10.3 route=node3
                 BalancerMember http://10.10.10.4 route=node4
                 ProxySet lbmethod=byrequests
         </Proxy>

All works great, but I wish to monitor the environment more closely. Apache
can mark BalancerMembers as not ok an stop using them, I would like to 
know when this happens. I could do this using the following methods:
1) tail the apache error log and alert on problems in there, I can't 
however find an appropriate log entry to do this with, even if I could i'm 
not sure this is a good solution anyway.
2) grab the apache provided "Load Balancer Manager" page and check if 
BalancerMember statuses are not ok.

Does anyone know if there is a nicer way to do the above. And does anyone 
have any tips on general realtime monitoring in apache?

Peter


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell