r/vmagent: Deploy vmagent

The *vmagent* role installs and configures the scraping and routing
agent used in the Victoria Metrics ecosystem.
This commit is contained in:
2022-07-18 18:13:31 -05:00
parent 956a40f054
commit 60505657f3
8 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=Victoria Metrics vmagent
[Service]
Type=exec
Environment=httpListenAddr=[::1]:8429
Environment=loggerDisableTimestamps=true
EnvironmentFile=-/etc/sysconfig/vmagent
ExecStart=/usr/bin/vmagent -enableTCP6 -envflag.enable
User=victoriametrics
[Install]
WantedBy=multi-user.target