[collectd] About apache plugin
tomoki.yokoi at mail.rakuten.co.jp
Tue Jan 6 04:09:30 CET 2009
Hi Octo ,
Thanks for your reply.
Now I have understood the apache plugin cannot gather statistics about
each virtual host.
So, if many indivisual apache instances listen on single host's same IPaddr,
( For example, IPaddr a.b.c.d "/usr/local/apacheA/bin/httpd" listens on
port 80, "/usr/local/apacheB/bin/httpd" listens on port 81)
can the apache plugin gather each instance's statistics ?
collectd.conf directive Like that
URL "http://a.b.c.d:80/server-status?auto" ##For apacheA##
URL "http://a.b.c.d:81/server-status?auto" ##For apacheB##
-------- Original Message --------
> Hi Tomoki,
> On Mon, Dec 22, 2008 at 04:35:38PM +0900, Tomoki Yokoi wrote:
>> There is many apache instances(port virtual host) in a single host in
>> my environment .
>> I want to know weather collectd's apache plugin can monitor these
>> instances scoreboards indivisually.
> no, right now the apache plugin cannot gather statistics about each
> virtual host. The reason is simply, that I have no idea if (and how)
> Apache provides this information.
> Additionally, I don't think Apache has a scoreboard for each virtual
> host, but only a global one. But I'm not sure on this.
> If you want to get statistics about the traffic handled by a specific
> virtual host, you could have that virtual host write traffic statistics
> into a file and then use the tail plugin to read those files. It's ugly,
> but should work fine.
More information about the collectd