{"id":518,"date":"2022-08-13T10:33:15","date_gmt":"2022-08-13T09:33:15","guid":{"rendered":"http:\/\/192.168.1.213:8088\/?p=518"},"modified":"2024-05-08T11:21:05","modified_gmt":"2024-05-08T09:21:05","slug":"tig-stack-installation-telegraf-influxdb-and-grafana-on-ubuntu-22-04-made-easy","status":"publish","type":"post","link":"http:\/\/192.168.1.213:8088\/tig-stack-installation-telegraf-influxdb-and-grafana-on-ubuntu-22-04-made-easy\/","title":{"rendered":"TIG Stack installation \ud83d\udcca (Telegraf, InfluxDB and Grafana) on Ubuntu 22.04 made easy \ud83d\ude80"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t

\n\t\t\t\tTable of Contents\t\t\t<\/h3>\n\t\t\t\t\t\t\t
<\/i><\/div>\n\t\t\t\t
<\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t
\n\t\t\t
\n\t\t\t\t<\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

UPDATED: 8th of May 2024<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t
Introduction<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

You installed a fresh Ubuntu 22.04 VM and you quickly want to set up a TIG stack to get telemetry data from your network devices?\u00a0
In this post, I will show you what needs to be done on a baremetal or a docker installation.\u00a0<\/p>

Setting up services is not what we usually do daily. As I needed to set up the TIG stack I tried to get all information from different sources and briefly wrote down each command which is necessary:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t
Option 1: Using Baremetal<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
TIG Stack installation commands<\/h6>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\tsudo apt install -y ca-certificates curl gnupg lsb-release\nsudo mkdir -p \/etc\/apt\/keyrings\/\nwget -q -O - https:\/\/apt.grafana.com\/gpg.key | gpg --dearmor | sudo tee \/etc\/apt\/keyrings\/grafana.gpg > \/dev\/null\necho \"deb [signed-by=\/etc\/apt\/keyrings\/grafana.gpg] https:\/\/apt.grafana.com stable main\" | sudo tee -a \/etc\/apt\/sources.list.d\/grafana.list\nwget -q https:\/\/repos.influxdata.com\/influxdata-archive_compat.key\necho '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee \/etc\/apt\/trusted.gpg.d\/influxdata-archive_compat.gpg > \/dev\/null\necho 'deb [signed-by=\/etc\/apt\/trusted.gpg.d\/influxdata-archive_compat.gpg] https:\/\/repos.influxdata.com\/debian stable main' | sudo tee \/etc\/apt\/sources.list.d\/influxdata.list\n\nsudo apt update\nsudo apt install -y influxdb2 telegraf grafana net-tools\nsudo systemctl enable grafana-server\nsudo systemctl enable influxdb\nsudo systemctl enable telegraf\nsudo systemctl start grafana-server\nsudo systemctl start influxdb\n\nsudo systemctl | egrep 'telegraf|grafana-server|influxdb'\nsudo netstat -tulpn | egrep 'telegraf|grafana-server|influxd'\n\nINFLUX_DB=telegraf\nINFLUX_USER=telefraf\nINFLUX_PW=telegraf\n\ninflux -execute \"CREATE DATABASE $INFLUX_DB\" \ninflux -execute \"CREATE USER $INFLUX_USER WITH PASSWORD '$INFLUX_PW'\" \ninflux -execute \"show databases\" \ninflux -execute \"show users\"\n\nsudo sed -i -e 's%#\\[\\[outputs.influxdb]]%[[outputs.influxdb]]%' \\\n-e '119s%.*# database = \"telegraf\"%database = \"telegraf\"%' \\\n-e '152s%.*# username = \"telegraf\"%username = \"$INFLUX_USER\"%' \\\n-e '153s%.*# password = \"metricsmetricsmetricsmetrics\"%password = \"$INFLUX_PW\"%' \\\n-e 's%# \\[\\[inputs.cisco_telemetry_mdt]]%[[inputs.cisco_telemetry_mdt]]%' \\\n-e '7143s%#  transport = \"grpc\"%transport = \"grpc\"%' \\\n-e '7146s%#  service_address = \":57000\"%service_address = \":57000\"%' \\\n\/etc\/telegraf\/telegraf.conf\n\nsudo systemctl restart telegraf && sudo systemctl status telegraf<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-86f13c4 elementor-widget elementor-widget-heading\" data-id=\"86f13c4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h6 class=\"elementor-heading-title elementor-size-default\">TIG Stack installation commands description<\/h6>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1d64bd5 elementor-icon-list--layout-traditional elementor-list-item-link-full_width elementor-widget elementor-widget-icon-list\" data-id=\"1d64bd5\" data-element_type=\"widget\" data-widget_type=\"icon-list.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<ul class=\"elementor-icon-list-items\">\n\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-chevron-right\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Line 1-10: Adding Grafana repository, install and start services<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-chevron-right\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Line 11-12: Getting status of running services (Telegraf, Grafana and InfluxDB) and checking the open ports<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-chevron-right\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Line 14-16: Setting variables for InfluxDB<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-chevron-right\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Line 18-21: Create InfluxDB Database and User\/Password as defined <\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-chevron-right\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Line 23-30: Configure Telegraf for InfluxDB and Cisco Model Driven Telemetry<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-chevron-right\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Line 32: Restart the Telegraf service and get the status<\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t<\/ul>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-71b2692 elementor-widget elementor-widget-heading\" data-id=\"71b2692\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Option 2: Using docker<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1bc20aa elementor-widget elementor-widget-text-editor\" data-id=\"1bc20aa\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>A Cisco colleague prepared a very nice shell script that will kick off the entire process and configure the services in a Docker environment. With just a couple of commands, everything is up and running within a couple of minutes.<\/p><p>For a full description of the is done, please visit his GitHub Page: <a href=\"https:\/\/github.com\/dsx1123\/telemetry_collector\" rel=\"noopener\">https:\/\/github.com\/dsx1123\/telemetry_collector<\/a><\/p><p>He also presented on Cisco Live a very interesting session: <strong>Streaming Telemetry on Cisco NX-OS &#8211; BRKDCN-2991<\/strong><\/p><p>If you have access to the CiscoLive OnDemand library it&#8217;s highly recommended to watch the session.\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-61b9bd1 elementor-widget elementor-widget-heading\" data-id=\"61b9bd1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h6 class=\"elementor-heading-title elementor-size-default\">Docker installation commands<\/h6>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d935daa elementor-widget elementor-widget-code-highlight\" data-id=\"d935daa\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-markup line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-markup\">\n\t\t\t\t\t<xmp>git clone https:\/\/github.com\/dsx1123\/telemetry_collector.git\ncd telemetry_collector\nGNMI_USER=gnmiuser\nGNMI_PASSWORD=gnmipassword\nsudo .\/build.sh start<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e7a375d elementor-widget elementor-widget-code-highlight\" data-id=\"e7a375d\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-solarizedlight copy-to-clipboard \">\n\t\t\t<pre data-line=\"1\" class=\"highlight-height language-markup line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-markup\">\n\t\t\t\t\t<xmp>Usage: .\/build.sh {start|stop|restart|cert|clean}\n  start  :   start docker containers for telegraf\/influxdb\/grafana\n  stop   :   stop docker containers for telegraf\/influxdb\/grafana\n  down   :   stop and remove docker containers for telegraf\/influxdb\/grafana\n  restart:   restart docker containers for telegraf\/influxdb\/grafana\n  cert   :   generate certificates for telegraf plugin\n  clean  :   clean the database of influxdb, volume of grafana\n  reset  :   reset project to inital state\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-441abea elementor-widget elementor-widget-heading\" data-id=\"441abea\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Checking the services<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e2eb42a elementor-widget elementor-widget-text-editor\" data-id=\"e2eb42a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Open in the browser the IP of your server with port 3000: http:\/\/w.x.y.z:3000<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d5c6d3c elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"d5c6d3c\" data-element_type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">INFO<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">The default user and password is: admin<\/span>\n\t\t\t\n\t\t\t\t\t\t<button type=\"button\" class=\"elementor-alert-dismiss\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;<\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-screen-only\">Dismiss this alert.<\/span>\n\t\t\t<\/button>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ba8ba63 elementor-widget elementor-widget-image\" data-id=\"ba8ba63\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTIzLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwMS5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1639\" height=\"1045\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001.png\" class=\"attachment-full size-full wp-image-923\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001.png 1639w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001-300x191.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001-1024x653.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001-768x490.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_001-1536x979.png 1536w\" sizes=\"(max-width: 1639px) 100vw, 1639px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a030ebb elementor-widget elementor-widget-heading\" data-id=\"a030ebb\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h6 class=\"elementor-heading-title elementor-size-default\">Import InfluxDB and Dashboard in Grafana<\/h6>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d3b51a1 elementor-widget elementor-widget-text-editor\" data-id=\"d3b51a1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Let&#8217;s configure our InfluxDB as a source and import a dashboard that is using the Telegraf metrics to test our stack <span class=\"cqiun4t2 r5qsrrlp i5tg98hk iqx13udk przvwfww qiohso4h gfz4du6o r7fjleex nz2484kf svot0ezm dcnh1tix sxl192xd t3g6t33p\"><span class=\"\">\ud83d\udcca <\/span><\/span><span class=\"cqiun4t2 r5qsrrlp i5tg98hk iqx13udk przvwfww qiohso4h gfz4du6o r7fjleex nz2484kf svot0ezm dcnh1tix sxl192xd t3g6t33p\"><span class=\"\">\ud83d\ude80<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-196783b elementor-widget elementor-widget-image\" data-id=\"196783b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTI0LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwMi5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1641\" height=\"1051\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002.png\" class=\"attachment-full size-full wp-image-924\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002.png 1641w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002-300x192.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002-1024x656.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002-768x492.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_002-1536x984.png 1536w\" sizes=\"(max-width: 1641px) 100vw, 1641px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-93a7bf8 elementor-widget elementor-widget-text-editor\" data-id=\"93a7bf8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Use: http:\/\/localhost:8086 as a URL<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cf223a4 elementor-widget elementor-widget-image\" data-id=\"cf223a4\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTI1LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwMy5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1633\" height=\"1051\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003.png\" class=\"attachment-full size-full wp-image-925\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003.png 1633w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003-300x193.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003-1024x659.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003-768x494.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_003-1536x989.png 1536w\" sizes=\"(max-width: 1633px) 100vw, 1633px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ec85275 elementor-widget elementor-widget-text-editor\" data-id=\"ec85275\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Configure your database\/user &amp; password which has been specified in during the installation. Save &amp; Test\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-93ced32 elementor-widget elementor-widget-image\" data-id=\"93ced32\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTI2LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwNC5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1638\" height=\"1047\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004.png\" class=\"attachment-full size-full wp-image-926\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004.png 1638w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004-300x192.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004-1024x655.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004-768x491.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_004-1536x982.png 1536w\" sizes=\"(max-width: 1638px) 100vw, 1638px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8557988 elementor-widget elementor-widget-text-editor\" data-id=\"8557988\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>If everything is working, go to the Explore page and build your first query to retrieve data from the InfluxDB.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4266d4d elementor-widget elementor-widget-image\" data-id=\"4266d4d\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTI4LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwNS5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1642\" height=\"1050\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005.png\" class=\"attachment-full size-full wp-image-928\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005.png 1642w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005-300x192.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005-1024x655.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005-768x491.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_005-1536x982.png 1536w\" sizes=\"(max-width: 1642px) 100vw, 1642px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aac234a elementor-widget elementor-widget-text-editor\" data-id=\"aac234a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Let&#8217;s import a Dashboard to visualize the data from our Linux server provided by the Telegraf input plugin.<\/p><p>Go to Dashboard &gt; Import<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5227e67 elementor-widget elementor-widget-image\" data-id=\"5227e67\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTI5LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwNi5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1642\" height=\"988\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006.png\" class=\"attachment-full size-full wp-image-929\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006.png 1642w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006-300x181.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006-1024x616.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006-768x462.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_006-1536x924.png 1536w\" sizes=\"(max-width: 1642px) 100vw, 1642px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c2ba76 elementor-widget elementor-widget-text-editor\" data-id=\"6c2ba76\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Grafana offers a lot of Dashboards ready to use.\u00a0<\/p><p>I picked this dashboard, which looks super nice:<\/p><p><a href=\"https:\/\/grafana.com\/grafana\/dashboards\/928-telegraf-system-dashboard\/\" rel=\"noopener\">https:\/\/grafana.com\/grafana\/dashboards\/928-telegraf-system-dashboard\/<\/a><\/p><p>Click on &#8220;Copy ID to Clipboard&#8221;\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-684eb34 elementor-widget elementor-widget-image\" data-id=\"684eb34\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTMwLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwNy5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1628\" height=\"989\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007.png\" class=\"attachment-full size-full wp-image-930\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007.png 1628w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007-300x182.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007-1024x622.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007-768x467.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_007-1536x933.png 1536w\" sizes=\"(max-width: 1628px) 100vw, 1628px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b9607e elementor-widget elementor-widget-text-editor\" data-id=\"7b9607e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Paste the ID and Load the Dashboard.<\/p><p>If your server sits behind a proxy just download the Json code in the previous step and import the Json.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-beb9af9 elementor-widget elementor-widget-image\" data-id=\"beb9af9\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTMxLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwOC5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1641\" height=\"984\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008.png\" class=\"attachment-full size-full wp-image-931\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008.png 1641w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008-300x180.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008-1024x614.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008-768x461.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_008-1536x921.png 1536w\" sizes=\"(max-width: 1641px) 100vw, 1641px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-02668a1 elementor-widget elementor-widget-text-editor\" data-id=\"02668a1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Now you can change the name of the Dashboard and define the InfluxDB that we added in a previous step.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4368dff elementor-widget elementor-widget-image\" data-id=\"4368dff\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTMyLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAwOS5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1641\" height=\"988\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009.png\" class=\"attachment-full size-full wp-image-932\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009.png 1641w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009-300x181.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009-1024x617.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009-768x462.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_009-1536x925.png 1536w\" sizes=\"(max-width: 1641px) 100vw, 1641px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-42ba015 elementor-widget elementor-widget-text-editor\" data-id=\"42ba015\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Awesome! Our dashboard is imported and what can I say, it looks beautiful! <span class=\"cqiun4t2 r5qsrrlp i5tg98hk iqx13udk przvwfww qiohso4h gfz4du6o r7fjleex nz2484kf svot0ezm dcnh1tix sxl192xd t3g6t33p\"><span class=\"\">\ud83d\udc4f<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-002a24d elementor-widget elementor-widget-image\" data-id=\"002a24d\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6OTMzLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC90aWdfc3RhY2tfaW5zdGFsbGF0aW9uXzAxMC5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1643\" height=\"987\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010.png\" class=\"attachment-full size-full wp-image-933\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010.png 1643w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010-300x180.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010-1024x615.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010-768x461.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/tig_stack_installation_010-1536x923.png 1536w\" sizes=\"(max-width: 1643px) 100vw, 1643px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6999023 elementor-widget elementor-widget-html\" data-id=\"6999023\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script type=\"text\/javascript\">\n(function($) {\n    $(window).load(function() {\n        $('.token.entity').each(function() {\n            var title = $(this).attr('title');\n            $(this).html(title);\n        })\n    });\n})(jQuery);\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8020e13 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8020e13\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cbee953\" data-id=\"cbee953\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Table of Contents UPDATED: 8th of May 2024 Introduction You installed a fresh Ubuntu 22.04 VM and you quickly want to set up a TIG stack to get telemetry data from your network devices?\u00a0In this post, I will show you what needs to be done on a baremetal or a docker installation.\u00a0 Setting up services [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":434,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source"],"_links":{"self":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts\/518"}],"collection":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/comments?post=518"}],"version-history":[{"count":58,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts\/518\/revisions"}],"predecessor-version":[{"id":2205,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts\/518\/revisions\/2205"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/media\/434"}],"wp:attachment":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/media?parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/categories?post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/tags?post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}