Last active
September 3, 2021 15:12
-
-
Save anselanza/df79695add3339e32a804baf1f7d4022 to your computer and use it in GitHub Desktop.
Datadog for Raspberry Pi
This file contains 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
# Use instructions as per https://github.com/DataDog/documentation/blob/master/content/en/developers/faq/deploying-the-agent-on-raspberrypi.md | |
# Create datadog.service file: `sudo nano /etc/systemd/system/datadog.service` as below | |
# Edit ~/.datadog-agent/agent/datadog.conf to custom hostname | |
# `sudo systemctl daemon-reload` | |
# `sudo systemctl enable datadog` | |
# `sudo service datadog start` and `sudo service datadog status` | |
[Unit] | |
Description=Start Datadog Agent | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
WorkingDirectory=/home/pi/.datadog-agent | |
ExecStart=/home/pi/.datadog-agent/bin/agent | |
Restart=on-abort | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment