varnish-agent [-c port] [-h] [-K agent-secret-file] [-n name] [-p directory] [-q] [-r] [-l log-level] [-S varnishd-secret-file] [-T host:port] [-V] [-z vac_register_url] [-t seconds] [-w seconds]
varnish-agent is a small daemon meant to communicate with Varnish
and other varnish-related services to allow remote control and monitoring
For default values of options, including but not limited to where username
and password is read from (
-K), where VCL is saved to (
where HTML is read from (
CA certificate for use by the cURL module. For use when the VAC
register URL is specified as https using a certificate that can not
be validated with the certificates in the system’s default
Path to a file containing a single line representing the
username and password required to authenticate. It should
have a format of
Path to the shared secret file, used to authenticate with
-T host:port (localhost:6082)
Hostname and port number for the management interface of
-c port (6085)
Port number to listen for incoming connections.
-a host (0.0.0.0)
The host where the agent will run.
-i seconds (10)
Stats push interval to VAC, expressed in seconds.
Defaults to 10.
-l loglevel (warning)
Log level. Available options: debug, info, warning, error, quiet.
Defaults to warning.
Specify the varnish instance name. Must match the
option. Amongst other things, this name is used to construct a
path to the SHM-log file.
Default path for VCL persistence. This is where VCL is stored.
If not set, the agent will evaluate the vc_dir parameter in
varnishadm, and use this.
Read-only mode. Only accept GET, HEAD and OPTIONS request
User to run as. Defaults to varnish.
Timeout in seconds for talking to varnishd.
Timeout in seconds for authentication with varnishd.
This option explicitly allows the agent to perform ‘insecure’ SSL
connections and transfers.
Show version and exit.
Specify the callback VAC registration url that the agent will
contact when registering with the Varnish Administration Console.