>>> On 12/11/2008 at 11:33 AM, in message <49415cf1.1010...@greenberg.org>, Ed Greenberg <e...@greenberg.org> wrote: > Michael Henderson wrote: >> Hello all, >> >> Is there a way to monitor apache through ganglia? >> >> Thanks, >> >> ~Mike >> >> > > I'm interested in seeing what others say but... > > I rolled my own as follows: > > 1. I turned on server-status and ExtendedStatus > > 2. I wrote a script to retrieve http://localhost/server-status?auto > which returns this: > Total Accesses: 123048 > Total kBytes: 1445888 > CPULoad: .270592 > Uptime: 20688 > ReqPerSec: 5.9478 > BytesPerSec: 71567.5 > BytesPerReq: 12032.6 > BusyWorkers: 4 > IdleWorkers: 71 > Scoreboard: ........ > > I wrote a script to use gmetric to pump the values above (those I want) > into ganglia. (Available on request.) >
We did the same thing except rather than use gmetric, we implemented it as a python module. It was very simple to do, it is basically just a command line call to get the apache status output and then parse the output into the various metrics. Brad ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general