Skip to content

Varnish

Auto-Discovery
Health Check
Metrics
Logs

If some auto-detected parameters are wrong, you can manually override them by adding the following to /etc/glouton/conf.d/99-local.conf:

service:
[...]
# For a Varnish running outside a container
- type: "varnish"
address: "127.0.0.1"
port: 6082
# For an additional Varnish running outside a container
- type: "varnish"
instance: "NAME_ASSOCIATED_WITH_YOUR_ADDITIONAL_SERVICE"
address: "127.0.0.1"
port: 6083
# For a Varnish running in a Docker container
- type: "varnish"
instance: "CONTAINER_NAME"
address: "172.17.0.2"
port: 6082

Only the metric from service check is produced:

MetricDescription
service_statusStatus of Varnish