Varnish Health check

Hamidreza Hosseini hrhosseini at hotmail.com
Thu Feb 18 12:49:41 UTC 2021


Hi,
I want to adjust health check on my varnish backends, But I dont know how can I know they are healthy or not
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)).
How can I check this?
```
backend server1 {
    .host = "server1.example.com";
    .probe = {
        .request =
          "HEAD / HTTP/1.1"
          "Connection: close"
          "User-Agent: Varnish Health Probe";
        .timeout = 1s;
        .interval = 5s;
        .window = 5;
        .threshold = 3;
    }
}
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20210218/e89f7c02/attachment.html>


More information about the varnish-misc mailing list