Monitor per site in Varnish
Johan.Olsson at bonnierdigital.se
Fri Sep 28 01:18:17 CEST 2012
Will have a look at the logging buffer and see what I can do there. Is there any different way to gather this data if I instead would look at a vhost in varnish?
From: Magnus Hagander [mailto:magnus at hagander.net]
Sent: den 28 september 2012 00:47
To: Johan Olsson
Cc: varnish-misc at varnish-cache.org
Subject: Re: Monitor per site in Varnish
On Fri, Sep 28, 2012 at 12:02 AM, Johan Olsson <Johan.Olsson at bonnierdigital.se> wrote:
> I've been looking on how to monitor varnish. I've found that there
> exists a snmp for varnish which gives some info that is good to have.
> I've found it and looked at it
> (http://sourceforge.net/projects/varnishsnmp/), but it dosen't give
> all that I need (I think). What I'm missing is to be able to monitor
> how much traffic one site is using. So if I have two sites like
> www.example1.com and www.example2.com, I would like to be able to get how many connections each one gets and how much Mbps each one is using.
> Is this possible to do?
You can always hook yourself up directly to the logging buffer and read the data from there, or feed off varnishncsa in a pipe for example. IIRC the internal counters don't really give you things broken down per domain - because a domain is just on of a bazillion different things you might want to do things off...
More information about the varnish-misc