Search

vcli agent

Handle agents

Synopsis

Handle agent related tasks. Listing, adding tags, view metrics etc.

Example:

 agent inspect 1
 agent list
 agent list -f name="server*"
 agent tags 1,2 -t 1,2
 agent tags -t 1,2 -f name="server*"
 agent tags 1,2 --clear
 agent certificate 1,2 --cert 1
 agent certificate 1,2 --clear
 agent metrics 1
 agent stats -v
 agent delete 1
 agent stop-routing -f id=1
 agent resume-routing -f id=1
 agent debug [agent-id]
 agent features 1
 agent transfer 1 -o 1      // Transfer to private (generated private token)
 agent transfer 1 -o 1 -p 2 // Transfer to private with private-token
 agent transfer 1 -o 0      // Transfer to system


Options

  -h, --help   help for agent

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


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203