{"id":7179,"date":"2018-10-30T12:28:43","date_gmt":"2018-10-30T09:28:43","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-1804\/"},"modified":"2018-10-30T12:28:43","modified_gmt":"2018-10-30T09:28:43","slug":"how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install TIG Stack (Telegraf, InfluxDB, and Grafana) on Ubuntu 18.04 LTS"},"content":{"rendered":"<p><strong>InfluxDB<\/strong> is an open-source time series database written in Go. Optimized for fast, high-availability storage and used as a data store for any use case involving large amounts of time-stamped data, including DevOps monitoring, log data, application metrics, IoT sensor data, and real-time analytics.<\/p>\n<p><strong>Telegraf<\/strong> is an agent for collecting, processing, aggregating, and writing metrics. It supports various output plugins such as influxdb, Graphite, Kafka, OpenTSDB etc.<\/p>\n<p><strong>Grafana<\/strong> is an open source data visualization and monitoring suite. It offers support for Graphite, Elasticsearch, Prometheus, influxdb, and many more databases. The tool provides a beautiful dashboard and metric analytics, with the ability to manage and create your own dashboard for your apps or infrastructure performance monitoring.<\/p>\n<p>In this tutorial, I will show you how to install and configure the TIG Stack (Telegraf, influxdb, and Grafana) using a single Ubuntu 18.04 Server. We will be using the TIG Stack for monitoring the system loads such as Network, RAM Memory, Uptime etc.<\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<ul>\n<li>Ubuntu 18.04<\/li>\n<li>Root privileges<\/li>\n<\/ul>\n<h2 id=\"what-we-will-do\">What we will do?<\/h2>\n<ol>\n<li>Install InfluxDB<\/li>\n<li>Create InfluxDB Database and User<\/li>\n<li>Install Telegraf Agent<\/li>\n<li>Configure Telegraf<\/li>\n<li>Install Grafana<\/li>\n<li>Setup Grafana Data Source<\/li>\n<li>Setup Grafana Dashboard<\/li>\n<\/ol>\n<h2 id=\"step-install-influxdb\">Step 1 &#8211; Install InfluxDB<\/h2>\n<p>In this first step, we will install the time series database influxdb on the Ubuntu system. We will install both &#8216;influxdb&#8217; and the &#8216;telegraf&#8217; from the same &#8216;influxdata&#8217; Repository, both software were created by the same organization.<\/p>\n<p>Add the influxdata Key.<\/p>\n<p class=\"command\">sudo curl -sL https:\/\/repos.influxdata.com\/influxdb.key | sudo apt-key add &#8211;<\/p>\n<p>Add the influxdata repository.<\/p>\n<p class=\"command\">source \/etc\/lsb-release<br \/>echo &#8220;deb https:\/\/repos.influxdata.com\/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable&#8221; | sudo tee \/etc\/apt\/sources.list.d\/influxdb.list<\/p>\n<p>Now update the repository and install the &#8216;influxdb&#8217; package using the apt command below.<\/p>\n<p class=\"command\">sudo apt update<br \/>sudo apt install influxdb -y<\/p>\n<p><a class=\"fancybox\" id=\"img-1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts.png\" alt=\"Install InfluxDB\" width=\"500\" height=\"181\" title=\"\"><\/a><\/p>\n<p>After the installation is complete, start the influxdb service and enable it to launch every time at system boot.<\/p>\n<p class=\"command\">sudo systemctl start influxdb<br \/>sudo systemctl enable influxdb<\/p>\n<p>Now check the opened ports on the system.<\/p>\n<p class=\"command\">netstat -plntu<\/p>\n<p><a class=\"fancybox\" id=\"img-2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-1.png\" alt=\"Check open ports with netstat\" width=\"500\" height=\"193\" title=\"\"><\/a><\/p>\n<p>And make sure you get influxdb ports &#8216;8088&#8217;and &#8216;8086&#8217; on the &#8216;LISTEN&#8217; state.<\/p>\n<h2 id=\"step-create-influxdb-database-and-user\">Step 2 &#8211; Create InfluxDB Database and User<\/h2>\n<p>In order to store all data from telegraf agents, we need to set up the influxdb database and user.<\/p>\n<p>InfluxDB provides the CLI tool named &#8216;influx&#8217; for interacting with an InfluxDB server. Influx command is like the &#8216;mysql&#8217; on MySQL, and &#8216;mongo&#8217; on the MongoDB database.<\/p>\n<p>Run the &#8216;influx&#8217; command below.<\/p>\n<p class=\"command\">influx<\/p>\n<p>Now you are connected to the default influxdb server on port &#8216;8086&#8217;.<\/p>\n<p>Create a new database and user &#8216;telegraf&#8217; with the password &#8216;hakase-ndlr&#8217; by running influxdb queries below.<\/p>\n<p class=\"command\">create database telegraf<br \/>create user telegraf with password &#8216;hakase-ndlr&#8217;<\/p>\n<p>Now check the database and user.<\/p>\n<p class=\"command\">show databases<br \/>show users<\/p>\n<p>Make sure you get the database and user named &#8216;telegraf&#8217; on the influxdb server.<\/p>\n<p><a class=\"fancybox\" id=\"img-3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-2.png\" alt=\"Create InfluxDB Database and User\" width=\"500\" height=\"337\" title=\"\"><\/a><\/p>\n<h2 id=\"step-install-telegraf-agent\">Step 3 &#8211; Install Telegraf Agent<\/h2>\n<p>Telegraf was created by &#8216;influxdata&#8217;, same organization which created the influxdb. So when we add the influxdata key and repository to the system, it means we can install both applications.<\/p>\n<p>Install the telegraf package using the apt command below.<\/p>\n<p class=\"command\">sudo apt install telegraf -y<\/p>\n<p>After the installation is complete, start the telegraf service and enable it to launch everytime at system startup.<\/p>\n<p class=\"command\">sudo systemctl start telegraf<br \/>sudo systemctl enable telegraf<\/p>\n<p>The telegraf agent is up and running, check it using the command below.<\/p>\n<p class=\"command\">sudo systemctl status telegraf<\/p>\n<p><a class=\"fancybox\" id=\"img-4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-3.png\" alt=\"Install Telegraf Agent\" width=\"500\" height=\"199\" title=\"\"><\/a><\/p>\n<h2 id=\"step-configure-telegraf\">Step 4 &#8211; Configure Telegraf<\/h2>\n<p>Telegraf is a plugin-driven agent and has 4 concept plugins type.<\/p>\n<ol>\n<li>Using the &#8216;Input Plugins&#8217; to collect metrics.<\/li>\n<li>Using the &#8216;Processor Plugins&#8217; to transform, decorate, and filter metrics.<\/li>\n<li>Using the &#8216;Aggregator Plugins&#8217; to create and aggregate metrics.<\/li>\n<li>And using the &#8216;Output Plugins&#8217; to write metrics to various destinations, including influxdb.<\/li>\n<\/ol>\n<p>In this step, we will configure the Telegraf to use basic input plugins for collecting system metric of the server and using the influxdb as the output plugin.<\/p>\n<p>Go to the &#8216;\/etc\/telegraf&#8217; directory and rename the default configuration file.<\/p>\n<p class=\"command\">cd \/etc\/telegraf\/<br \/>mv telegraf.conf telegraf.conf.default<\/p>\n<p>Now create a new other configuration &#8216;telegraf.conf&#8217; using\u00a0<a href=\"https:\/\/www.howtoforge.com\/vim-basics\" target=\"_blank\" rel=\"noopener noreferrer\">vim<\/a> editor.<\/p>\n<p class=\"command\">vim telegraf.conf<\/p>\n<p>Paste configurations below.<\/p>\n<pre># Global Agent Configuration&#13;\n[agent]&#13; hostname = \"hakase-tig\"&#13; flush_interval = \"15s\"&#13; interval = \"15s\"&#13;\n&#13;\n&#13;\n# Input Plugins&#13;\n[[inputs.cpu]]&#13; percpu = true&#13; totalcpu = true&#13; collect_cpu_time = false&#13; report_active = false&#13;\n[[inputs.disk]]&#13; ignore_fs = [\"tmpfs\", \"devtmpfs\", \"devfs\"]&#13;\n[[inputs.io]]&#13;\n[[inputs.mem]]&#13;\n[[inputs.net]]&#13;\n[[inputs.system]]&#13;\n[[inputs.swap]]&#13;\n[[inputs.netstat]]&#13;\n[[inputs.processes]]&#13;\n[[inputs.kernel]]&#13;\n&#13;\n# Output Plugin InfluxDB&#13;\n[[outputs.influxdb]]&#13; database = \"telegraf\"&#13; urls = [ \"http:\/\/127.0.0.1:8086\" ]&#13; username = \"telegraf\"&#13; password = \"hakase-ndlr\"<\/pre>\n<p>Save and exit.<\/p>\n<p><a class=\"fancybox\" id=\"img-6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-4.png\" alt=\"Configure Telegraf\" width=\"500\" height=\"223\" title=\"\"><\/a><\/p>\n<p><strong>Note:<\/strong><\/p>\n<p>Telegraf provides telegraf command to manage the configuration, including generate the configuration itself, run the command as below.<\/p>\n<p class=\"command\">telegraf config -input-filter cpu:mem:disk:swap:system -output-filter influxdb &gt; telegraf.conf<br \/>cat telegraf.conf<\/p>\n<p><a class=\"fancybox\" id=\"img-5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-5.png\" alt=\"Telegraf config\" width=\"500\" height=\"372\" title=\"\"><\/a><\/p>\n<p>Restart the telegraf service and make sure there is no error.<\/p>\n<p class=\"command\">sudo systemctl restart telegraf<\/p>\n<p>Now test the telegraf settings using the command below.<\/p>\n<p class=\"command\">sudo telegraf -test -config \/etc\/telegraf\/telegraf.conf &#8211;input-filter cpu<br \/>sudo telegraf -test -config \/etc\/telegraf\/telegraf.conf &#8211;input-filter net<br \/>sudo telegraf -test -config \/etc\/telegraf\/telegraf.conf &#8211;input-filter mem<\/p>\n<p><a class=\"fancybox\" id=\"img-7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-6.png\" alt=\"Test config\" width=\"500\" height=\"233\" title=\"\"><\/a><\/p>\n<p>The InfluxDB and Telegraf configuration has been completed.<\/p>\n<h2 id=\"step-install-grafana\">Step 6 &#8211; Install Grafana<\/h2>\n<p>In this step, we will install the beautiful Grafana Dashboard for data visualization.<\/p>\n<p>Add the grafana key and repository.<\/p>\n<p class=\"command\">sudo curl https:\/\/packagecloud.io\/gpg.key | sudo apt-key add &#8211;<br \/>echo &#8216;deb https:\/\/packagecloud.io\/grafana\/stable\/debian\/ stretch main&#8217; &gt; \/etc\/apt\/sources.list.d\/grafana.list<\/p>\n<p>Update the repository and install the grafana package using the apt command below.<\/p>\n<p class=\"command\">sudo apt update<br \/>sudo apt install grafana -y<\/p>\n<p><a class=\"fancybox\" id=\"img-8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-7.png\" alt=\"Install Grafana\" width=\"500\" height=\"236\" title=\"\"><\/a><\/p>\n<p>After the installation is complete, start the grafana service and enable it to launch everytime at system boot.<\/p>\n<p class=\"command\">sudo systemctl start grafana-server<br \/>sudo systemctl enable grafana-server<\/p>\n<p>The grafana-server is up and running on default port &#8216;3000&#8217;, check it using netstat.<\/p>\n<p class=\"command\">netstat -plntu<\/p>\n<p>And you will get the result as below.<\/p>\n<p><a class=\"fancybox\" id=\"img-9\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/9.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-8.png\" alt=\"Check ports\" width=\"500\" height=\"261\" title=\"\"><\/a><\/p>\n<h2 id=\"step-setup-grafana-data-source\">Step 7 &#8211; Setup Grafana Data Source<\/h2>\n<p>Open your web browser and type the server IP address with port 3000.<\/p>\n<p><a href=\"http:\/\/192.168.33.15:3000\/\">http:\/\/192.168.33.15:3000\/<\/a><\/p>\n<p>Login with the default user &#8216;admin&#8217; and password &#8216;admin&#8217;.<\/p>\n<p><a class=\"fancybox\" id=\"img-10\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/10.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-9.png\" alt=\"Login to Grafana\" width=\"500\" height=\"287\" title=\"\"><\/a><\/p>\n<p>Now you will be prompted with the page for changing the default password, type your new password and click the &#8216;Save&#8217; button.<\/p>\n<p><a class=\"fancybox\" id=\"img-11\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/11.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-10.png\" alt=\"Set new password\" width=\"500\" height=\"284\" title=\"\"><\/a><\/p>\n<p>And you will be redirected to the default Grafana Dashboard.<\/p>\n<p>Click the &#8216;Add data source&#8217; button to add the influxdb data source.<\/p>\n<p><a class=\"fancybox\" id=\"img-12\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/12.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-11.png\" alt=\"Grafana Dashboard\" width=\"500\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Type details about the influxdb server configurations.<\/p>\n<ul>\n<li>Name: influxdb<\/li>\n<li>Type: influxdb<\/li>\n<li>URL: http:\/\/localhost:8086\/<\/li>\n<\/ul>\n<p><a class=\"fancybox\" id=\"img-13\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/13.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-12.png\" alt=\"Set influxdb details\" width=\"500\" height=\"287\" title=\"\"><\/a><\/p>\n<p>Scroll to the bottom page and type details of influxdb database settings.<\/p>\n<ul>\n<li>Database: telegraf<\/li>\n<li>User: telegraf<\/li>\n<li>Password: &#8216;hakase-ndlr&#8217;<\/li>\n<\/ul>\n<p><a class=\"fancybox\" id=\"img-14\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/14.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-13.png\" alt=\"Database settings\" width=\"500\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Click the &#8216;Save and Test&#8217; button and make sure you get the &#8216;Data source is working&#8217; result.<\/p>\n<p>The InfluxDB data source has been added to the Grafana server.<\/p>\n<h2 id=\"step-setup-grafana-dashboard\">Step 8 &#8211; Setup Grafana Dashboard<\/h2>\n<p>After adding the influxdb as a data source to the grafana server, in this step we will import the grafana dashboard based on our Telegraf input plugins setup.<\/p>\n<p>Grafana provides the repository for grafana plugins and dashboards.<\/p>\n<p>To import the grafana dashboard, click on the &#8216;+&#8217; menu on the left panel and click &#8216;Import&#8217;.<\/p>\n<p><a class=\"fancybox\" id=\"img-15\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/15.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-14.png\" alt=\"Setup Grafana Dashboard\" width=\"500\" height=\"159\" title=\"\"><\/a><\/p>\n<p>Now open the sample Grafana dashboard from URL &#8216;<a href=\"https:\/\/grafana.com\/dashboards\/5955\" target=\"_blank\" rel=\"noopener\">https:\/\/grafana.com\/dashboards\/5955<\/a>&#8216; and click the &#8216;Copy the ID to Clipboard&#8217; button.<\/p>\n<p>Paste the dashboard id.<\/p>\n<p><a class=\"fancybox\" id=\"img-16\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/16.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-15.png\" alt=\"Import dashboard config\" width=\"500\" height=\"283\" title=\"\"><\/a><\/p>\n<p>And you will be redirected automatically to the dashboard setup.<\/p>\n<p>On the options section, click the InfluxDB and choose your influxdb server, then click &#8216;Import&#8217; button.<\/p>\n<p><a class=\"fancybox\" id=\"img-17\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/17.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-16.png\" alt=\"Influxdb server import\" width=\"500\" height=\"284\" title=\"\"><\/a><\/p>\n<p>And below are some screenshots from the imported dashboard.<\/p>\n<p><a class=\"fancybox\" id=\"img-18\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/18.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-17.png\" alt=\"Imported dashboard 1\" width=\"500\" height=\"287\" title=\"\"><\/a><\/p>\n<p><a class=\"fancybox\" id=\"img-19\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_tig_stack_telegraf_influxdb_and_grafana_on_ubuntu_1804\/big\/19.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-18.png\" alt=\"Imported dashboard 2\" width=\"500\" height=\"286\" title=\"\"><\/a><\/p>\n<p>The TIG Stack (Telegraf, InfluxDB, and Grafana) installation on Ubuntu 18.04 has been completed successfully.<\/p>\n<h2 id=\"reference\">Reference<\/h2>\n<div class=\"authorbox\" readability=\"15\">\n<p><strong>About Muhammad Arul<\/strong><\/p>\n<p>Muhammad Arul is a freelance system administrator and technical writer. He is working with Linux Environments for more than 5 years, an Open Source enthusiast and highly motivated on Linux installation and troubleshooting. Mostly working with RedHat\/CentOS Linux and Ubuntu\/Debian, Nginx and Apache web server, Proxmox, Zimbra Administration, and Website Optimization. Currently learning about OpenStack and Container Technology.<\/p>\n<\/div>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-1804%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-19.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-1804%2F&amp;text=How+to+Install+TIG+Stack+%28Telegraf%2C+InfluxDB%2C+and+Grafana%29+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-20.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-21.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-1804%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-18-04-lts-22.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>InfluxDB is an open-source time series database written in Go. Optimized for fast, high-availability storage and used as a data store for any use case involving large amounts of time-stamped data, including DevOps monitoring, log data, application metrics, IoT sensor data, and real-time analytics. Telegraf is an agent for collecting, processing, aggregating, and writing metrics. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-7179","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=7179"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7179\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=7179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=7179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=7179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}