Easily Install InfluxDB, Telegraf, & Grafana with Docker

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • In this video, you'll learn how easy it is to get the Telegraf, InfluxDB 2.0, and Grafana or the TIG Stack up and running using Docker Compose.
    ☛ GitHub Repository: github.com/huntabyte/tig-stack
    🛠 Resources Mentioned In This Video 🛠
    ▹InfluxDB CLI Setup: docs.influxdata.com/influxdb/...
    ▹Grafana Dashboards: grafana.com/grafana/dashboards/
    ▹Telegraf Documentation: docs.influxdata.com/telegraf/...
    __________________________________________
    ⚙ My Setup Equipment ⚙
    ► hbyt.us/setup
    (Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
    __________________________________________
    ♦ GitHub: hbyt.us/github
    ♦ Twitter: hbyt.us/twitter
    __________________________________________
    #grafana #influxdb #telegraf #influxdb2.0
    00:00 - Intro
    00:08 - Customize Configurations
    06:25 - Launch the Stack
    07:05 - Verify InfluxDB Configurations
    08:24 - Setup Grafana Data Source
    09:56 - Create Grafana Dashboard
    10:25 - Querying InfluxDB from Grafana
    11:45 - Customize Grafana Panel
    13:16 - Adding Multiple Queries
    13:30 - Conclusion
    __________________________________________
    Attributions:
    NicoAsbach, CC BY-SA 4.0 (creativecommons.org/licenses/..., via Wikimedia Commons
    Linux Screenshots from USA, CC BY 2.0 (creativecommons.org/licenses/..., via Wikimedia Commons
    Joel Kennedy (commons.wikimedia.org/wiki/Fi..., Public domain, via Wikimedia Commons

Комментарии • 73

  • @Huntabyte
    @Huntabyte  2 года назад +12

    Hey everyone, I took a different approach to editing this video compared to my others. I'd greatly appreciate any feedback on how I can improve. Thanks a ton for watching!

  • @TheSHELMSY
    @TheSHELMSY 8 месяцев назад

    Exactly what I was looking for. I am new to the TIG stack and want to deploy this in my home lab. Chanel is definitely underrated.

  • @xhros
    @xhros Год назад +1

    By far the easiest method to getting set up. Easy and straight to the point. THANK YOU!!

  • @liammullane4352
    @liammullane4352 Год назад +1

    Wow this is a great video, very easy to follow, just set up my 1st TIG Stack on my laptop with the help of this video, Very well explained, I love his "Straight to the point" style

  • @JAV1117
    @JAV1117 2 года назад +1

    Very easy to follow, love the new edit! Thanks Hunter!

    • @Huntabyte
      @Huntabyte  2 года назад

      Thanks Joe, appreciate the feedback!

  • @SkysimAir
    @SkysimAir 2 года назад +8

    Now, that's what I call an almost perfect video! Very well explained, contains bookmarks, straight to the point, no uneccessary blabbering and an example repo is provided. THANKS A LOT!!

    • @Huntabyte
      @Huntabyte  2 года назад

      Thanks for the kind words! I try to create content in the same style I prefer to consume, I'm glad you enjoy this format.

  • @itspaulinamac
    @itspaulinamac 2 года назад +2

    Wow, an informative video with so much great detail! Thank you!

  • @MrAvalanches
    @MrAvalanches Год назад +1

    Dude you killed this video! Awesome work. I tried to recreate it through portainer instead cus I wanted the gui control but ended up ditching it and opting for your setup instead and just used the compose file. The install was seamless! Very nicely explained man. Thanks!

    • @Huntabyte
      @Huntabyte  Год назад

      I'm glad to hear that, thanks a ton for your feedback and kind words!

  • @efohelp1130
    @efohelp1130 Год назад

    Wow! First time user of InfluxDB, Telegraf, Grafana, and Docker and It worked. Now to my next challenge to connect Home Assistant Data to those products. Thank you so much. I SUBSCRIBE!!!

  • @fredaker8353
    @fredaker8353 2 месяца назад

    Great video. You have made this as painless as possible.

  • @ManfredGatto
    @ManfredGatto Год назад +1

    very nice video! everything compiled in few minutes - you can always pause if required, files worked without problems (although there are hardcoded port numbers instead of DOCKER_INFLUXDB_INIT_PORT variable in docker-compose.yml and telegraf.conf from your Git when compared to the video). Nevertheless great work! Thanks for the effort!

  • @romainjouhameau2764
    @romainjouhameau2764 Год назад +1

    Worked like a charm, thanks a lot!

  • @andreacazzaniga8488
    @andreacazzaniga8488 2 года назад +1

    very well said and done, straight to the point. thanks

  • @eyalsolomon1682
    @eyalsolomon1682 Год назад +2

    Great one !
    very detailed, well-paced and overall good attention to details
    Thanks ! (new subsriber)

  • @fernandapassos3699
    @fernandapassos3699 10 месяцев назад

    Thank you so so so so much! You have no ideia how much you helped me!!!

  • @acraine
    @acraine Год назад

    This was really excellent -- thanks!

  • @mattbass4807
    @mattbass4807 2 года назад +1

    Amazing video dude loved it thanks so much!! I would love to see how to connect InfluxDB to a portforward local host port

  • @LILLJE
    @LILLJE Год назад +1

    dang this was a good, big thanks!

  • @sunnydaysMB
    @sunnydaysMB Год назад +1

    Thank you a lot, perfect tutorial 💙

    • @Huntabyte
      @Huntabyte  Год назад

      You're welcome, thank you!

  • @EightBitShift
    @EightBitShift Год назад

    Worked for docker on a raspberry pi, thanks.

  • @pingulainen
    @pingulainen Год назад

    Best explanaition I found. But still I can not connect . Error reading influxDB. But no 401 permission denied atleast as other examples I followed.
    EDIT: some hiccup while I was pasting the token into the env file, so grabbed a faulty one. Now everything works as a charm! THANK YOU!

  • @tieuthapnhat5621
    @tieuthapnhat5621 2 года назад +1

    Great! Tkanks

  • @Blackjac
    @Blackjac Год назад +1

    Brilliant video. Thank you so much

    • @Huntabyte
      @Huntabyte  Год назад +1

      You’re welcome!

    • @Blackjac
      @Blackjac Год назад

      @@Huntabyte What would be the most effective way to access the docker environment containing all of the data in influxdb on another device? Currently, I have it on the laptop but want to transfer the data to a PC. Any thoughts on how I would achieve this? Thanks.

    • @Huntabyte
      @Huntabyte  Год назад +1

      @@Blackjac If it's going to be on a local network, then you can access that local devices IP with the respective port (i.e. 192.168.4.20:3000)

    • @Blackjac
      @Blackjac Год назад

      @@Huntabyte would it be easier if I set this up through the influxdb cloud? Would this be possible instead installing it locally? Thanks

  • @rohanthakur1618
    @rohanthakur1618 2 года назад +2

    @huntabyte , i am getting 401 error while accessing influxDB following the steps mentioned above. Any pointers what i might be doing wrong?

  • @boriskontorovich
    @boriskontorovich Год назад

    How do you make sure that data source information in grafana is preserved when you stop the container?

  • @ashrafhelal9354
    @ashrafhelal9354 Год назад

    what is the metric for cisco/ network speed/ network connectivity/ ping ?

  • @GabrievanZanten
    @GabrievanZanten Год назад +1

    Lost a few hours trying to get grafana:latest and influxdb:latest to work, but couldn't get them connected. Used your video and compose file and it worked instantly. Thanks! (Now I'm afraid to upgrade either one of them)

    • @Huntabyte
      @Huntabyte  Год назад

      Check the release notes to see what breaking changes were released if any! If I have time in the coming weeks I will look into it and update the repo!

    • @GabrievanZanten
      @GabrievanZanten Год назад

      @@Huntabyte For me the biggest change when installing both Grafana and influxdb latest versions, is that the box "Access: Server (default)" is no longer shown in the grafana interface when connecting to influxdb. Not sure if that makes the difference.

  • @adeliocastro6797
    @adeliocastro6797 11 месяцев назад

    Obrigado...

  • @ashrafhelal9354
    @ashrafhelal9354 Год назад

    hey, what is the first step. clone to repo. how to do that?

  • @ducsue751
    @ducsue751 11 месяцев назад

    Hi. Is it possible to change the default database folders to an external one? /mnt/storage/influxdb

  • @gabrielebraghin6476
    @gabrielebraghin6476 Год назад

    If i want to get an input from a Python script, using Telegraf "only" to transfer data from the Iot to InfluxDb...how can i do that?

  • @sudo-user
    @sudo-user Год назад

    Hi. I have installed influxdb using docker compose. Now I need to create another user in influxdb but its not possible in influxdb UI. I need to install influxdb cli in order to do that. I am using a linux server to run the docker-compose file. do I need to install influxd cli in linux server or can I install on my windows machine too

  • @robertATC1
    @robertATC1 4 месяца назад +1

    Greetings, I have a problem here. I'm getting these errors from InfluxDB: ./entrypoint.sh: line 100: id: command not found ./entrypoint.sh: line 102: mkdir: command not found. I'm new and don't know how to solve it, I would appreciate any help.

  • @soblo191
    @soblo191 Год назад

    My InfluxDB container keeps failing and restardting, any advice?

  • @FranciscoGonzalez-br2td
    @FranciscoGonzalez-br2td 6 месяцев назад

    I want to be able to separate the telegraf.conf file into multiple ones using the telegraf.d folder for easier manipulation. How would I do that in this setup? I have added extra .conf files in that folder but nothing reflects in influddb. Do you know any of that?

  • @ashrafhelal9354
    @ashrafhelal9354 Год назад

    how did you open the code from linux?

  • @ZA26
    @ZA26 Год назад

    I don't understand how to install Telegraf. I am using the image from Home Assistant webpage. How do I install this Telegraf?

  • @anupamakumar675
    @anupamakumar675 Год назад +3

    I am not able to login to influxdb at localhost:8086 - why is that?

  • @jiristodulka5459
    @jiristodulka5459 Год назад

    Hello, wondering if you have any experience pulling from Unifi controllers via Telegraf? I understand unPoller may better for this task but my aim is to use Telegraf/. The issue I face are the MIB files. How would you install them in your approach?

    • @Huntabyte
      @Huntabyte  Год назад

      Hi, unfortunately I do not have experience with that. Do they support telemetry or strictly SNMP?

  • @maciejzieja5347
    @maciejzieja5347 Год назад +2

    Hi, i have such a problem what could i do? I cannot even login via my browser. I have no idea what went wrong, i change password and username and cannot get authorization. [agent] Error writing to outputs.influxdb_v2: failed to write metric (401 Unauthorized): unauthorized: unauthorized access

  • @manprinsen8150
    @manprinsen8150 Год назад

    Hi!
    How do I change the telegraf config file the setup?
    E.g. let’s say I want to add a new plugin.

    • @Huntabyte
      @Huntabyte  Год назад

      Hey there! You can edit it inside of the 'telegraf.conf' file within the 'telegraf' directory. That file is mounted to the telegraf container. If you run into problems after changing, you may need to restart the telegraf service for the changes to take effect.

  • @ashrafhelal9354
    @ashrafhelal9354 Год назад

    this command docker-compose up -d doesn't work. error "sudo docker-compose: command not found" I'm in the folder tig.

  • @CrazyDiam0nd1
    @CrazyDiam0nd1 5 месяцев назад

    Error reading InfluxDB
    Debian, Ubuntu and various VM's
    Been trying this for 2 days now and cannot get past this stage, very frustrating. The token is 100% correct.
    Also having to use Flux query language as using influxQL does not give me the same options shown in the video.
    All I want to do is monitor IPMI metrics.

  • @zuowang5185
    @zuowang5185 Год назад

    7:38 my bucket says "no tag keys found". I have the inputs set in telegraf.conf

    • @zuowang5185
      @zuowang5185 Год назад

      my hostname wasn't set correctly

  • @dma98
    @dma98 Год назад

    Ah how simple you make it look 😅

  • @ajajaaukka
    @ajajaaukka Год назад

    Hey, I tried updating the telegraf.conf file when adding a new plugin, but I did not see any changes in the InfluxDB browser UI. I even tried restarting the docker container several times, deleting the containers, re-cloning the whole thing and trying again but still all I see is the default system metrics. Even the bucket name doesn't change when trying to change it to something else than 'telegraf' to which I set it in the first run. What may I be doing wrong here?

    • @ajajaaukka
      @ajajaaukka Год назад +1

      Ok - problem fixed, I had to not only delete the containers but also everything related to the tig-stack from "Images" and "Volumes" in Docker Desktop. 👍 Now my updates seem to work

  • @anupamakumar675
    @anupamakumar675 Год назад +2

    2022-10-04T00:09:51Z E! [agent] Error writing to outputs.influxdb_v2: failed to write metric (401 Unauthorized): unauthorized: unauthorized access