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.

Copy to Clipboard

Download and install the Telegraf package on Ubuntu Linux.

Copy to Clipboard

Configure the Telegraf service to start automatically during boot.

Verify the status of the Telegraf service.

Copy to Clipboard

Here is an example of the Telegraf service status.

Copy to Clipboard

Congratulations! You have finished the Telegraf installation on Ubuntu Linux.

Use this command if you need to edit the Telegraf configuration file:

Copy to Clipboard

Here is the default configuration file from the Telegraf service.

Copy to Clipboard

As a test, let's connect to the InfluxDB installed locally.

Copy to Clipboard

Access the Telegraf database and verify what is the system monitoring.

Copy to Clipboard

As a test, select the last 2 lines of information stored on the CPU sensor.

Copy to Clipboard

Congratulations! Your Telegraf installation is working.