Server IP : 111.118.215.189 / Your IP : 3.17.76.136 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib/systemd/system/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
[Unit] Description=Monitoring system and forwarder Documentation=https://grafana.com/docs/agent/latest/ Wants=network-online.target After=network-online.target [Service] Restart=always User=grafana-agent Environment=HOSTNAME=%H Environment=AGENT_DEPLOY_MODE=rpm EnvironmentFile=/etc/sysconfig/grafana-agent WorkingDirectory=/var/lib/grafana-agent ExecStart=/usr/bin/grafana-agent --config.file $CONFIG_FILE $CUSTOM_ARGS ExecReload=/usr/bin/env kill -HUP $MAINPID # If running the Agent in scraping service mode, you will want to override this value with # something larger to allow the Agent to gracefully leave the cluster. 4800s is recommend. TimeoutStopSec=20s SendSIGKILL=no [Install] WantedBy=multi-user.target