Created
December 11, 2019 05:01
-
-
Save GarimaDamani/64a3bb35adfe755c95ad5775c23c7cd6 to your computer and use it in GitHub Desktop.
Setting up Telegraf in ubuntu 16.04 and 18.04
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
#!/bin/bash | |
cat <<EOF | sudo tee /etc/apt/sources.list.d/influxdata.list | |
deb https://repos.influxdata.com/ubuntu bionic stable | |
EOF | |
sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get -y install telegraf | |
sudo systemctl enable --now telegraf | |
sudo systemctl is-enabled telegraf | |
systemctl status telegraf | |
# Source : https://computingforgeeks.com/how-to-install-and-configure-telegraf-on-ubuntu-18-04-debian-9/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment