---
title: "Application - Varnish Cache 3.0 Opspack"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-varnish-cache-3.0-opspack/index.html"
---
Varnish Cache is an HTTP accelerator designed for dynamic, content-heavy web sites as well as heavily consumed APIs. You can install it in front of any server that speaks HTTP and configure it to cache the contents. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
In addition to its performance, one of the key features of Varnish Cache is the flexibility of VCL (its configuration language). VCL enables you to write policies on how incoming requests should be handled.

## What You Can Monitor

Our Varnish Cache Opspack allows you to pull vital information from your environment including connection information, number of sessions/client requests, thread statistics and much more.

This Opspack has been tested and configured against Varnish Cache 3.0. For later versions, use [Application - Varnish Cache Opspack](https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-varnish-cache-opspack/index.html).

## Service Checks

| Service Check       | Description                                              |
|:--------------------|:---------------------------------------------------------|
| backend_busy        | Checking varnish cache too many backend connections      |
| backend_connections | Checking varnish cache backend connections               |
| backend_fail        | Checking varnish cache backend connections failed        |
| backend_recycle     | Checking varnish cache backend connections recycled      |
| backend_req         | Checking varnish cache backend requests                  |
| backend_retry       | Checking varnish cache backend connections retried       |
| backend_reuse       | Checking varnish cache backend connections reused        |
| backend_unhealthy   | Checking varnish cache backend connections not attempted |
| cache_hit           | Checking varnish cache hits                              |
| cache_hitpass       | Checking varnish cache hits for pass                     |
| cache_miss          | Checking varnish cache misses                            |
| client_connections  | Checking varnish cache client accepted connections       |
| client_drop         | Checking varnish cache client connections dropped        |
| client_requests     | Checking varnish cache client requests received          |
| expired_objects     | Checking varnish cache number of expired objects         |
| hit_miss_ratio      | Checking varnish cache too many backend connections      |
| nuked_objects       | Checking varnish cache number of nuked objects           |
| session_requests    | Get the total number of connected sessions               |
| sessions_total      | Get the total number of connected sessions               |

## Setup Varnish Cache 3.0 for Monitoring


**Opsview Agent End of Support**


The Opsview Agent is no longer supported or available for download. You must install the ITRS Infrastructure Agent on the server you want to monitor using this Opspack. For more information, refer to the documentation on [Using the ITRS Infrastructure Agent](https://docs.itrsgroup.com/docs/opsview/6.11.7/install/opsview-agents/index.html#using-the-itrs-infrastructure-agent).



This Opspack requires an agent running on the monitored system, therefore you will need the ITRS Infrastructure Agent installed on the same location you have Varnish Cache 3.0 running.

## Setup and Configuration

### Add the Host Template

Add the **Application - Varnish Cache 3.0** Host Template to your Opsview Monitor host.


**Note**


For more information, refer to the documentation on [Adding Host Templates to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#host-templates).



### Add and configure variables for this host

| Variable              | Description                                                                                                                                                    |
|:----------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| VARNISHCACHE_INSTANCE | Used to give an identifier to your varnish cache instance. Use this when running multiple varnish cache instances. Each instance will need to be its own host. |


**Note**


For more information, refer to the documentation on [Adding Variables to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/adding-a-new-variable/index.html#adding-a-variable-to-a-host).



### Apply Changes

Apply Changes and the system will then be monitored:

![View Service Checks](https://docscdn.itrsgroup.com/opsview/images/opspacks-application-varnih-cache-3.0-output.png)


