My new Proxmox Monitoring Tools: InfluxDB2 + Grafana

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • I recently added some new Monitoring Tools for my Proxmox Server at Home! I installed InfluxDB2 in Docker and used it as an external Metrics Server for Proxmox. Grafana is used to visualize the data in a nice Dashboard. #Proxmox #Grafana #InfluxDB
    Grafana Dashboard: grafana.com/grafana/dashboard...
    Teleport-*: goteleport.com/thedigitallife
    Follow me:
    TWITTER: / christianlempa
    INSTAGRAM: / christianlempa
    DISCORD: / discord
    GITHUB: github.com/christianlempa
    PATREON: / christianlempa
    MY EQUIPMENT: kit.co/christianlempa
    Timestamps:
    00:00 - Introduction
    00:50 - My current monitoring setup
    02:01 - The new setup
    03:16 - InfluxDB2
    06:50 - How to secure InfluxDB2?
    10:24 - (Advertisement) Teleport-*
    11:12 - Send Proxmox Metrics to InfluxDB2
    14:10 - Visualize Metrics in Grafana
    ________________
    All links with "*" are affiliate links.

Komentáře • 130

  • @kwiatriot6190
    @kwiatriot6190 Před rokem

    Just have to say between this and the SSL video, you have helped my step up my game in my homelab HUGE! Thank you for everything you do and bring to the community!

  • @jimforbes
    @jimforbes Před rokem +3

    Returned to this video and completed my initial set up of InfluxDB2 with Grafana for my Proxmox server. Always good to use your content for reference. Thanks!

    • @looper6120
      @looper6120 Před 2 měsíci +1

      Just curious, does the metrics contain CPU temperature stuff?

  • @Hindle1978
    @Hindle1978 Před 2 lety

    Great Video, I've followed along and was able to get this setup and monitor my 3 homelab ProxMox servers! Thank you for the time and effort!

  • @ulrichbeutenmuller8101

    Again. Packed with tons of useful information and background knowledge. Thank you Christian.

  • @AlexDelPrete
    @AlexDelPrete Před 2 lety

    Thanks for the reference to the grafana dashboard, I already had the metrics in influxdb since quite some time, but couldn't find a dashboard I liked, now I do. :)

  • @satstube
    @satstube Před rokem +1

    I do really like watching this content when CZcams algo recently started showing me this . Can't get enough thanks . .. Only issue is no matter how many videos you say the link to that video is in the description...! IT NEVER IS 🤷🏾‍♂️

  • @dennisdesgehtdichnixan2022

    Wonderful. Thanks for showing this. I abandoned InfluxDB a while ago, nice to see that version 2 does work well here. I´ll put a influx2 docker container on my to-do list.

  • @chrisbowie1438
    @chrisbowie1438 Před 2 lety

    This is Awesome!! been wanting a nice grafana dash for proxmox but had no idea how to begin to build one myself

  • @TechnoTim
    @TechnoTim Před 2 lety +2

    Great video Christian!

  • @rasheed.a873
    @rasheed.a873 Před 2 lety +1

    Awesome, can't wait for the Cert / TLS video. Great stuff as usual appreciate your knowledge.

    • @christianlempa
      @christianlempa  Před 2 lety

      Thank you :)

    • @MatthiasStiller
      @MatthiasStiller Před 2 lety

      I'm looking it forward too. 👍
      I want to know if it's possible to remove the warning for self signed certificate when entering the site.
      There is an warning triangle in the address bar.
      Thank you! 👍

  • @matthewwilson9946
    @matthewwilson9946 Před měsícem

    Thanks for this. Touched all points perfectly.

  • @sad_rasta
    @sad_rasta Před 2 lety +1

    Yesss please make that Tutorial!🙏
    Oh and btw i Love your Tutorials u explain everything so nice and detailed much respect to you 😄

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Oh sure it will come! :D Thank you so much, that makes me happy!

  • @q9os7gq5bejw
    @q9os7gq5bejw Před 2 lety

    Awsome video, I also tried influx and grafana a few weeks ago and tested if i can put traefik access logs into a dashboard, it partially worked

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Thank you! Great stuff :D What I'm doing is, I'm using traefik to expose the grafana dashboard, same self-signed certs like the influxdb.

  • @mnrmnr555
    @mnrmnr555 Před 2 lety +24

    Awesome tutorial, as usual! And yes, would be great that SSL certificates tutorial. Peace. ✌️

  • @itsr0m
    @itsr0m Před 2 lety +8

    Absolutely would love a deep dive into SSL both self signed and with Traefik!

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Great idea! 😀

    • @Elliot9874
      @Elliot9874 Před rokem

      Hello, can we get an updated video on how to get this working with Traefik

  • @kak0s91
    @kak0s91 Před 2 lety

    Thanks for the great tutorial! To reach a larger audience, I really want to see non-automatic subtitles. I'm watching from another country, and I don't speak the language, but subtitles help a lot!

    • @christianlempa
      @christianlempa  Před 2 lety

      Thanks mate, uff I can see why you're asking this but I guess that will just completely go beyond my available time :/ I hope that I will find a solution for this in the future.

  • @TheArtemus75
    @TheArtemus75 Před 2 lety

    Hi Christian, great tutorial (as always btw ;-) ). I like the way you make your videos and content.

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Thank you so much for the feedback! I wasn't sure if the pacing and highly edited style is the right one for a video like this, but I wanted to try it. And that you like the way I make my videos makes me happy :)

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Also thank you so much for supporting the Channel :D

    • @TheArtemus75
      @TheArtemus75 Před 2 lety

      @@christianlempa It's my pleasure! :)

  • @dbadovsky
    @dbadovsky Před 2 lety

    Awesome! Works great in few minutes.
    But have you find any native way to include SMART metrics to the flow?
    I found a way by installing telegraf with a smart plugin but i'd like to avoid installing something to my pve. I try to keep it as clean as possible.
    As to SSL tutorial, sure that will be very interesting. Such an important topic!

  • @Spydaw
    @Spydaw Před 2 lety

    This is really awesome, thanks for sharing ;)

  • @metalmasterlp
    @metalmasterlp Před 2 lety +1

    Great video as always thanks.
    SSL certs (self-signed) for homelabs will be great ! I always wondered how to move self signed ssl cert and root ca certs for trust on all devices so eveything is nice and trusted in the end from everywhere at home. I can think of manual methods but if there are any automation available will be great.

    • @christianlempa
      @christianlempa  Před 2 lety +2

      Thank you for the feedback! Hope you like the cert video (when it's coming :D)

  • @cpbulletsponge
    @cpbulletsponge Před 2 lety +1

    Great vid as always. I did the same setup a few weeks ago but without the SSL, definitely looking forward to that video when you make it :) How did you get the dark Proxmox theme?

    • @christianlempa
      @christianlempa  Před 2 lety +3

      Thank you mate :) The dark mode is a nice project on GitHub that I recently found: github.com/Weilbyte/PVEDiscordDark

  • @timmehwimmy
    @timmehwimmy Před rokem

    Looking at setting this up at the moment. For the self-signed cert issue, could you get around that by using traefik, or is that a bad idea?

  • @Oxyon84
    @Oxyon84 Před rokem +5

    If you make an API token with read permissions only on the bucket where you store proxmox data the dashboard opens in the right bucket straight away. If you use the admin api token you'll also have access to the default buckets of influxdb like _monitoring and it will default to that.

    • @iron-man1
      @iron-man1 Před 5 měsíci

      Wow thank you such a nice information before your comments i never look's at api options and use admin api everywhere

  • @ictstelucjam3604
    @ictstelucjam3604 Před rokem

    Danke Christian, kurz und bundig. Ich habe so lange gesucht nach einen weg. Dies ist genau was ich gesucht habe. Viele Grüsse aus Holland

    • @christianlempa
      @christianlempa  Před rokem

      Vielen Dank für deinen Support! Grüße zurück, ich komm bald mal wieder Urlaub bei euch machen :D

  • @Glatze603
    @Glatze603 Před 2 lety

    Very good and professional video Christian and very nice and usefull content - thanks a lot for your time invest :-)

  • @johanalbornozramos2623
    @johanalbornozramos2623 Před 9 měsíci

    Hi! Awesome video. Thanks!

  • @Weirlive
    @Weirlive Před rokem

    amazing video!!! I really need to get this deployed!

  • @nichemonk8797
    @nichemonk8797 Před 2 lety +1

    OMG - tons of gold nuggets inside! thanks again, Christian

  • @AlexandruFlorinSerban
    @AlexandruFlorinSerban Před 2 lety

    Amazin stuff! thank you!

  • @magicmanj32
    @magicmanj32 Před rokem

    Great Video, just what I was looking for....

  • @kurt_hansen
    @kurt_hansen Před 2 lety

    Hi... Because of the SSL Connection from Grafana to influxdb, the hostname within the certificate is the one thing, but you also need the ca.crt itself in the root of the grafana container, don't you?

  • @borisberezovsky51
    @borisberezovsky51 Před 2 lety

    good tutorial, thank you for that! i'l be wait video about ssl!

  • @patrikgrguric535
    @patrikgrguric535 Před 2 lety

    5:28 I've watched most of your video explaining docker networking, but I still don't understand what you mean by custom dns lookups here? Is the custom network supposed to be a bridge or host network or one of the other ones?

    • @christianlempa
      @christianlempa  Před 2 lety

      If you create a docker network as a bridge it supports dns lookups inside with the containers hostname, something the default network doesn't offer

  • @beprivatecdblind7831
    @beprivatecdblind7831 Před 2 lety

    excellent used this to create a CT in proxmox to monitor my servers

  • @techiemike9483
    @techiemike9483 Před rokem

    Hi thanks for the great video, have you managed to setup proxmox and nginx pm ?

  • @6LordMortus9
    @6LordMortus9 Před 2 lety

    Been loving your videos so far...
    After watching this one for a while, one thing kept bugging me....
    What's holding that mic up??? Are you a wizard and using magic? :) Nice setup, since I can't see what's holding it up :)

    • @christianlempa
      @christianlempa  Před 2 lety

      Hey thanks mate! Haha I'm a tech wizard :D, No it's just a Mic arm that's directly behind the mic itself, from the current angle you can't see it ;)

  • @BastienVialCollet
    @BastienVialCollet Před 2 lety

    Thanks for this great video.
    I have an issue though when displaying the dashboard. Here are 3 errors showing up:
    Templating: Failed to upgrade legacy queries e.replace is not a function
    Templating [Bucket]: Error updating options: e.replace is not a function
    Templating [server]: Error updating options: e.replace is not a function
    Any idea where this could come from?

  • @caio.silveira
    @caio.silveira Před 6 měsíci

    It's possible to use this grafana dashbord with a current InfluxDB v1.10 ?

  • @TheredonKethRhan
    @TheredonKethRhan Před 6 měsíci

    @christianlempa As I couldn't find it mentioned in the comments, you can disable the SSL verification by checking the Advanced box and unchecking the Verify Certificate box.

  • @giovannipetroselli6103

    Hi Cristian, The SSL tutorial would be great!! Very helpful also the different types of cypher protocol ECDSA TLS ecc.....
    Good video as always!!. Thanks

    • @christianlempa
      @christianlempa  Před 2 lety

      Hey, great, thank you! Don't hope for much regards cryptography, I'm a complete noob there :D

  • @LawrenceSingha
    @LawrenceSingha Před 2 lety

    I did same few days ago but it’s great you made this video 😀

    • @christianlempa
      @christianlempa  Před 2 lety

      Cool! Do you have set up any alerts for the metrics?

    • @LawrenceSingha
      @LawrenceSingha Před 2 lety

      @@christianlempa not yet… still learning but will learn from you

  • @patrikgrguric535
    @patrikgrguric535 Před 2 lety

    Hey, I'm wondering if Grafana's docker image has brute force protection by default? As much as it is stated as such on their website, just trying to "brute force" it myself conflicts with this. I'm never actually blocked or anything.

    • @christianlempa
      @christianlempa  Před 2 lety

      Puff Idk honestly. But I wouldn't be too worried about brute force, you can always add any IPS/IDS system before your containers handling that.

  • @Jef-le8fl
    @Jef-le8fl Před 5 měsíci

    Hi friend, do you have any templates, I use a cluster with replication in zfs, and I need to monitor this

  • @marcomusso3515
    @marcomusso3515 Před 2 lety

    End your virtual disk?

  • @manishkumarsingh3462
    @manishkumarsingh3462 Před 2 lety +4

    If possible Can you please make a video for the integration of portainer and cockpit ? Because I believe this will be more beneficial for DevOps guys

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Mh great suggestion I haven't thought about, yet. Let me add it to the long long list :D

  • @marutikokitkar450
    @marutikokitkar450 Před rokem

    can we get the installation doc's for Ubuntu

  • @AhmedKhaled-he9mf
    @AhmedKhaled-he9mf Před 2 lety

    Thanks very much for your nice work
    Kindly what advantages to use Proxmox instead of Prometheus ?

    • @christianlempa
      @christianlempa  Před 2 lety

      You mean InfluxDB, I guess? Well it just seemed the straightforward method that's officially implemented by Proxmox. That's why I went with it.

  • @berlintechplanet9441
    @berlintechplanet9441 Před 2 lety

    yes, please make a video for SSL certificates 📌- great videos !

  • @jdog-ukapprentice7660
    @jdog-ukapprentice7660 Před 4 měsíci

    you look like grew i love it

  • @Timichaud
    @Timichaud Před 2 lety

    thank you!!! its working but now I saw that TrueNas can use graphite with influxdb and grafana aaannnnddddd its now unsupported since influxdb v2.0 :( what can we do now ? how to add graphite to docker and make it working with influx or directly with grafana ? Im not an IT for your information.

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Honestly, I have no idea :D I'm setting up TrueNAS in a few weeks so maybe I'll figure it out then ;)

  • @shucai
    @shucai Před rokem

    非常有趣,学习一下。👍👍👍

  • @zyghom
    @zyghom Před rokem

    if you had Home Assistant, you would not have to install extras for Proxmox - influxdb and grafana are "the must" for home assistant ;-)

  • @phillipmelvin4756
    @phillipmelvin4756 Před 2 lety

    Hey Christian, have you had a chance to check out Grafana Loki too? Its their answer to Splunk, Loggly, etc.

    • @christianlempa
      @christianlempa  Před 2 lety

      I have watched TechnoTim's video about it, really nice! But I didn't have the time yet to start working with it.

  • @IcyTone1
    @IcyTone1 Před rokem

    can i get cpu temp ?

  • @ncscamacho
    @ncscamacho Před 2 lety

    Excellent video, it is possible to recreate these containers with podman (grafana, influxdb, prometheus) with the same operation. Greetings from Costa Rica

    • @christianlempa
      @christianlempa  Před 2 lety

      Thank you mate! Sure, because they are based on the container standard it should also work in podman.

  • @bbock0481
    @bbock0481 Před 2 lety

    Is it possible to install InfluxDB2 on my Proxmox server and still have it run like you are showing?

    • @christianlempa
      @christianlempa  Před 2 lety

      I wouldn't do that, better put that in a VM at least

  • @GrimSpec
    @GrimSpec Před 2 lety

    Great now I need to figure out how to get data from sensors for example so I can get temperatures aswell :)

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Thank you, :D Please tell me if you found out how ;)

    • @GrimSpec
      @GrimSpec Před 2 lety

      @@christianlempa I know that there is a lm-sensor exporter for fact. So it should not be so hard I hope :D

  • @EduardoSantanaSeverino
    @EduardoSantanaSeverino Před 2 lety +1

    @The Digital Life thank you for your video, I did enjoy it.
    I am sharing some thoughts here:
    1. You mentioned, that you will create a separate video for SSL, certificates, I m interested in this video and looking forward to watching it. Thanks in advance.
    2. Is there another tool for monitoring the VM from inside the VM's standpoint of view? On the contrary with your current video and illustrations are very good and interesting of course, and it would be monitoring the hypervisor data about those VM, but not about processes running inside the VM.
    I wondering about a tool to use with Grafana and Prometheus to display information, which you get the different processes running inside VM, the most CPU intensive process inside the VM, and the most RAM intensive process inside each VM or LXC, etc.
    Here guys, here, everyone,
    What do you think?,
    Do you think would be interesting or of some advantage to monitor from inside the VM standpoint of view? or not? and why not?
    Thanks in advance.

    • @EduardoSantanaSeverino
      @EduardoSantanaSeverino Před 2 lety +1

      Hey,
      Here guys, here, everyone,
      What do you think?,
      Do you think would be interesting or of some advantage to monitor from inside the VM standpoint of view? or not? and why not?
      Thanks.

    • @christianlempa
      @christianlempa  Před 2 lety +1

      Thanks for your feedback ;) I'm monitoring the vms with nodeexporter, prometheus and grafana. This checks the stuff running inside a vm.

    • @EduardoSantanaSeverino
      @EduardoSantanaSeverino Před 2 lety

      @@christianlempa Again, really good video, and very good content, I will then google how to do the nodeexporter, if you have some videos about it, pls let me know, I would appreciate it. thanks.

    • @christianlempa
      @christianlempa  Před 2 lety

      @@EduardoSantanaSeverino In my last monitoring video I talk about it. Link is in description

  • @weilin4872
    @weilin4872 Před rokem

    good。

  • @Sub-lb7uq
    @Sub-lb7uq Před rokem

    Great video, you keep going off topic so its hard to follow, you start talking about something and then start clicking on settings etc just a bit hard to follow sometimes

  • @D3M0320
    @D3M0320 Před 2 lety

    How…did you get dark mode in ProxMox?????!!!!!!

    • @christianlempa
      @christianlempa  Před 2 lety

      It's a project on GitHub I recently found, really cool stuff: github.com/Weilbyte/PVEDiscordDark

  • @__5036
    @__5036 Před 2 lety

    On your youtube homepage can you please include uploads, so that the most recent videos could be found on your youtube homepage

    • @christianlempa
      @christianlempa  Před 2 lety

      I have done this to organize it better, you can find all new videos in the "Best of The Digital Life" playlist.

  • @regctx9138
    @regctx9138 Před 2 lety

    Please make a self signed SSL tutorial video!!!!!

  • @narshimagoudpalakurla9651

    Self signed ssl video please

  • @xxExo20xx
    @xxExo20xx Před 2 lety +1

    Könntest du auch eventuell deutsche Videos machen?

    • @christianlempa
      @christianlempa  Před 2 lety

      Eventuell kommt mal ein zweit Kanal in deutsch, aber bisher habe ich da keine konkreten Pläne. Der hier nimmt schon so viel Zeit in Anspruch ;)

  • @EdvardHansson
    @EdvardHansson Před 2 lety

    Zabbix

    • @istvanharaszti4806
      @istvanharaszti4806 Před rokem

      Cacti: tested, legacy, obsolate; Centreon: tested, the free version is unusable; Nagios: tested, similar; icinga: tested, similar; Zabbix: tested, overcomplicated, I/O hungry, RAM-hungry, don't try to run on VM to monitor more than a few dozen hosts; CheckMK: tested, won. We run it with AD authentication on 18 servers countrywide for more than 300 hosts, one server is the aggregator. It takes a few minutes to set up, and it takes just minutes to add hosts. No huge database, no performance problems. There is nothing more useful than distributed monitoring. But stay on Zabbix, use what you like.

  • @pitspeedtv
    @pitspeedtv Před 6 měsíci

    Friend… You are the guy. I luv ya!
    However;
    Who is your audience?
    No… STOP.
    You are doing a tutorial on something technical…
    It is directed at someone who is NEW. (N00b).
    Why are you blasting through screen grabs like you are Roger Rabbit?
    WHY ARE YOU TALKING SO FAST?
    Take a breath… you are good… with good information… calm down (or lay off the cocaine).
    I want to hear what you are saying. I am new (and generally smart), so I need time to process and learn (I am new).
    Please slow down (or get help). I mean this from a good place.

  • @funkiam9214
    @funkiam9214 Před 11 měsíci

    zabbix +1

  • @Jef-le8fl
    @Jef-le8fl Před 5 měsíci

    Hi friend, do you have any templates, I use a cluster with replication in zfs, and I need to monitor this