<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,<br>
I want to adjust health check on my varnish backends, But I dont know how can I know they are healthy or not
<br>
because the nodes are up and running and even service is up but varnish does'nt work for all requests (just third of them are responding till I restart it (It happens sometimes)).
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
How can I check this?<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
backend server1 {
<div> .host = "server1.example.com";</div>
<div> .probe = {</div>
<div> .request =</div>
<div> "HEAD / HTTP/1.1"</div>
<div> "Connection: close"</div>
<div> "User-Agent: Varnish Health Probe";</div>
<div> .timeout = 1s;</div>
<div> .interval = 5s;</div>
<div> .window = 5;</div>
<div> .threshold = 3;</div>
<div> }</div>
}</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```<br>
</div>
</body>
</html>