Role to install and configure vmagent. Installs by using binary from Github releases.
The following table lists the configurable parameters of the roles and their default values.
Note that default
vmagent_remote_write_host
is using port for VMSingle installation. For cluster mode installed by role with loadbalancer from this repository it is needed to point at VMInsert component which will beload_balancer:8480
.
Parameter | Description | Default |
---|---|---|
vmagent_repo_url | Repository to use for download. | https://github.com/VictoriaMetrics/VictoriaMetrics |
vmagent_version | vmagent version | v1.100.1 |
vmagent_download_url | URL to download archive | {{ vmagent_repo_url }}/releases/download/{{ vmagent_version }}/vmutils-{{ vmagent_version }}.tar.gz |
vmagent_system_user | User to run vmagent | vic_vm_agent |
vmagent_system_group | Group for user of vmagent | {{ vmagent_system_user }} |
vmagent_config_dir | Path where configuration will be stored. | /opt/vic-vmagent |
vmagent_sd_config_dir | Path to directory to configure file_sd. | {{ vmagent_config_dir }}/file_sd_configs |
vmagent_remote_write_host | Remote write host URL. | http://localhost:8428 |
vmagent_service_args | Dict representing set of arguments for vmagent | See defaults |
vmagent_scrape_config | Prometheus scrape configuration | See defaults |
vmagent_aggregation_config | Stream aggregation configuration | [] |
vmagent_install_download_to_control | Whether use control or remote host to download installation archive | true |
vmagent_systemd_protect_home | Configure Systemd home protection. See See https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ProtectHome= | "yes" |
vm_proxy_http | Sets environment for downloading archive | "" |
vm_proxy_https | Sets environment for downloading archive | "" |