Would you like to learn how to install Telegraf on Ubuntu Linux? In this tutorial, we are going to show you how to install Telegraf on a computer running Ubuntu Linux.
• Ubuntu 18
• Ubuntu 19
• Telegraf 1.12.1
Hardware List:
The following section presents the list of equipment used to create this Ubuntu Linux tutorial.
Every piece of hardware listed above can be found at Amazon website.
Ubuntu Playlist:
On this page, we offer quick access to a list of videos related to Ubuntu Linux.
Don’t forget to subscribe to our youtube channel named FKIT.
Ubuntu Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Ubuntu linux.
Tutorial – Telegraf Installation on Ubuntu Linux
On the Linux console, use the following commands to set the correct timezone.
Download and install the Telegraf package on Ubuntu Linux.
Configure the Telegraf service to start automatically during boot.
Verify the status of the Telegraf service.
Here is an example of the Telegraf service status.
Congratulations! You have finished the Telegraf installation on Ubuntu Linux.
Use this command if you need to edit the Telegraf configuration file:
Here is the default configuration file from the Telegraf service.
As a test, let’s connect to the InfluxDB installed locally.
Access the Telegraf database and verify what is the system monitoring.
As a test, select the last 2 lines of information stored on the CPU sensor.
Congratulations! Your Telegraf installation is working.