Created
February 23, 2023 10:59
-
-
Save denisgolius/10e97f5e6a41adfedc2a34c40282af80 to your computer and use it in GitHub Desktop.
vmagent systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LimitNOFILE=1048576 | |
LimitNPROC=1048576 | |
LimitCORE=infinity | |
WorkingDirectory=/var/lib/vmagent-remotewrite-data | |
ReadWritePaths=/var/lib/vmagent-remotewrite-data | |
ExecStart=/usr/bin/vmagent-prod -promscrape.config=/etc/victoriametrics/vmagent/prometheus.yml \ | |
-remoteWrite.url=http://vmsingle:8428/api/v1/write \ | |
-remoteWrite.tmpDataPath=/var/lib/vmagent-remotewrite-data" | |
-loggerOutput=stdout \ | |
-loggerFormat=json | |
ExecStop=/bin/kill -s SIGTERM $MAINPID | |
StandardOutput=append:/var/log/victoriametrics/vmagent.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment