Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc

collectd 4.10 and Varnish

 

 

Varnish misc RSS feed   Index | Next | Previous | View Threaded


simon at darkmere

Nov 14, 2011, 1:50 PM

Post #1 of 3 (484 views)
Permalink
collectd 4.10 and Varnish

We're running collectd using version 4.10 from EPEL on RHEL/Centos.

There is a varnish plugin recently released with collectd but it requires
version 5.10 of collectd which is fairly recently released and doesn't
have rpms (I'd prefer not to build my own).

1. I was wondering if anybody has a backported varnish plugin for collectd
4.10 or any other solution? I came across this post in the archives:

https://www.varnish-cache.org/lists/pipermail/varnish-misc/2010-January/003736.html

but I've not tried it yet. Any experience?


2. I was also thinking of using the collectd:tail plugin to pick out
interesting stuff in the varnishncsa log. Things like hits on different
types of pages on my site ( frontpage, section pages, article pages,
etc ). Anyone else done something similar?


--
Simon Lyall | Very Busy | Web: http://www.darkmere.gen.nz/
"To stay awake all night adds a day to your life" - Stilgar | eMT.


_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


marc.fournier at camptocamp

Nov 16, 2011, 3:31 AM

Post #2 of 3 (446 views)
Permalink
Re: collectd 4.10 and Varnish [In reply to]

Excerpts from Simon Lyall's message of Mon Nov 14 22:50:37 +0100 2011:
>
> We're running collectd using version 4.10 from EPEL on RHEL/Centos.
>
> There is a varnish plugin recently released with collectd but it requires
> version 5.10 of collectd which is fairly recently released and doesn't
> have rpms (I'd prefer not to build my own).
>
> 1. I was wondering if anybody has a backported varnish plugin for collectd
> 4.10 or any other solution? I came across this post in the archives:

I have done exactly this a few months ago. I just pushed the patch to:
https://github.com/mfournier/collectd/tree/varnish-on-4.10.2

Not sure if the plugin is up to date with the one found in 5.x though...

Cheers,
Marc

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


simon at darkmere

Nov 27, 2011, 3:19 PM

Post #3 of 3 (404 views)
Permalink
Re: collectd 4.10 and Varnish [In reply to]

On Wed, 16 Nov 2011, Marc Fournier wrote:
> Excerpts from Simon Lyall's message of Mon Nov 14 22:50:37 +0100 2011:
>>
>> We're running collectd using version 4.10 from EPEL on RHEL/Centos.
>>
>> There is a varnish plugin recently released with collectd but it requires
>> version 5.10 of collectd which is fairly recently released and doesn't
>> have rpms (I'd prefer not to build my own).
>>
>> 1. I was wondering if anybody has a backported varnish plugin for collectd
>> 4.10 or any other solution? I came across this post in the archives:
>
> I have done exactly this a few months ago. I just pushed the patch to:
> https://github.com/mfournier/collectd/tree/varnish-on-4.10.2
>
> Not sure if the plugin is up to date with the one found in 5.x though...

Thanks Marc, I didn't have any luck getting the plugin to work (it
worked enough to complain when I did syntax errors but didn't output
any data and there are some problems with running the python plugin so I
eneded up writing a little script in bash and running it via the collectd
exec plugin.

I've attached it in case anyone wants it. Seems to work and should be
compatable with the 5.x collectd plugin (see evil 1-liner in the script).

--
Simon Lyall | Very Busy | Web: http://www.darkmere.gen.nz/
"To stay awake all night adds a day to your life" - Stilgar | eMT.
Attachments: varnish-collectd.sh (9.31 KB)

Varnish misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.