Community URL: https://community.chocolatey.org/packages/vmagent
:info: The release moderation of the chocolatey community repository is rather slow, please check if your desired version is accessible there first or use the manual install step documentation below.
You can specify all parameters of vmagent during the install process via chocolatey.
choco install vmagent --params "'/httpListenAddr::8429 /memory.allowedPercent:40 /promscrape.config:C:/Users/Administrator/Documents/vmagent-scrape-config.yml'"- Download the
vmagent.nupkgfile from the Release Page - Run the command below to install it, replace $VERSION with the version e.g.
1.94.0and $SOURCE with the path to thevmagent.nupkgfile downloaded before.choco install vmagent --version $VERSION --source $SOURCE --params "'/httpListenAddr::8429 /memory.allowedPercent:40 /promscrape.config:C:/Users/Administrator/Documents/vmagent-scrape-config.yml'"
| See more usable flags for vmagent at https://docs.victoriametrics.com/vmagent.html#advanced-usage
The vmagent service should be automatically started after the installation is finished.
If you want to change some of the parameters which are passed to vmagent you can modify the following file $chocolateyLibFolder/vmagent/tools/vmagent.xml.