Search
Varnish Controller

vcli command

Execute arbitrary command with varnishadm on agent(s).

Synopsis

Executes a given varnishadm command on one or more agents. Use filtering to select agents to execute on.

Examples:

vcli command "banner" -fid=1
vcli command "panic.show" -fname=server1*
vcli command "command" [flags]

Options

  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for command

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO

  • vcli - Varnish Controller CLI