Varnish

varnish_logo

Varnish is a web application accelerator, acting as a caching reverse proxy to speed up delivery of your HTTP content and dynamic websites by an order of magnitude.

The Librato Agent gathers internal stats helping you track the health, performance, and effectiveness of your Varnish accelerators. We use collectd’s native Varnish plugin to gather metrics from your running HAProxy instances.

Installation

The Varnish integration depends on the Librato Agent. If you haven’t already, you will first need to install the Librato Agent. Once this is complete, select the Varnish icon in the integrations catalogue.

image1

Toggle the Enabled switch to activate the Varnish integration on your Librato account and create the preconfigured Varnish Space.

image2

At this point your integration is complete and any Varnish metrics associated with this integration will be allowed through your Librato Agent service-side filters.

Plugin Configuration

This integration gathers metrics from a running Varnish installation using the varnishstats utility. The most useful metric classes have been enabled out of the box. Additional metric classes can be enabled in the varnish.conf configuration file. Here is our default configuration for the Varnish plugin.

LoadPlugin varnish
<Plugin "varnish">
  <Instance>
     CollectBackend     true
     CollectCache       true
     CollectConnections true
     CollectFetch       true
     CollectObjects     true
     CollectSession     true
     CollectSHM         true
     CollectTotals      true
     CollectWorkers     true
  </Instance>
</Plugin>

Varnish Workspace

Visit your preconfigured Space to observe your new metrics as they stream in. You can use this Space to monitor the performance and overall health of your Varnish servers.

image3

FAQ

For specific answers to Librato Agent questions check out our Librato Agent FAQ.

Let us know what you think when you take this for a spin. We would love to incorporate your feedback and any new dashboards you design into the ongoing development of this key server monitoring technology.