Using Proxmox METRICS In Your Homelab

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 54

  • @KeithWeston
    @KeithWeston Рік тому +28

    Best tutorials - thorough, no nonsense - just solid information.

  • @MeneM2Mateo
    @MeneM2Mateo Рік тому +24

    Dude, you are slaying it with these video's! Really enjoying the way you make them.

  • @AndreasLenze
    @AndreasLenze Рік тому +1

    Brilliant (as always!) - thank you!

  • @MarkConstable
    @MarkConstable 11 місяців тому

    Just wonderful, many thanks. I followed along and seem to have a monitoring CT all set up, so now it's a matter of waiting for some data to see if it actually works 🙂

  • @clairerovic
    @clairerovic Рік тому +2

    I am sitting in front of my PC configuring the second Proxmox server with mirrored ZFS boot & five spindle ZFS raid. Soon to start building number 3 - yeah then all my proprietary NAS out the door. Dashy is up and running in a container inside a docker with an Arr stack and Pi-Hole & Traefik & SSL all working.
    Thanks so much for all your wonderful videos - still lots of small issues but getting there.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      Glad it's working well for you! I have some of those topics in my todo list as well

    • @ewenchan1239
      @ewenchan1239 Рік тому +1

      I've recently done a similar mass consolidation of my proprietary NAS servers as well and migrated all of that to a single, 36-bay, dual Xeon server.
      Virtio-FS is AWESOME!

  • @AndreReisAndrecsreis
    @AndreReisAndrecsreis Рік тому

    Thanks a lot mate! I was struggling to set this up in my Proxmox cluster.

  • @fedorpro2114
    @fedorpro2114 Рік тому

    thank you! I will definitely try to implement this in my home lab

  • @JuanRoa92
    @JuanRoa92 11 місяців тому

    Thank you for your video!
    I love that proxmox dashboard, I customized to be more "LXC focused" since I do not have any VM, but a bunch of containers

  • @Darkk6969
    @Darkk6969 Рік тому +1

    Great video! Grafana is an excellent visual statistics system. Plenty of sample dashboards out there and can easily change them around. I'm also use the dashboard to monitor pfsense.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      I'm using telegraf and ntopng for network monitoring and both are excellent, although I'm using OPNsense now.

  • @zthemoney
    @zthemoney 3 місяці тому

    Thank you for taking the time and energy to create these videos. Your step-by-step is straightforward to follow. Would it be possible to have a video done on the Opnsense dashboard using Grafana

    • @apalrdsadventures
      @apalrdsadventures  3 місяці тому +1

      I actually have a setup I've used for awhile now using ntopng + influxdb + grafana, but it's not nearly as easy to setup as the Proxmox ones

    • @zthemoney
      @zthemoney 3 місяці тому

      @@apalrdsadventures Is that similar to My pfSense System Dashboard

  • @joishw
    @joishw 8 місяців тому

    Exactly what I wanted, thank you

  • @RkaiserTalks
    @RkaiserTalks 9 місяців тому

    Really good tutorial. Much appreciated

  • @rhb.digital
    @rhb.digital Місяць тому

    thnx.. just what I was missing

  • @peacemekka
    @peacemekka Рік тому +3

    Really simplified it. I was thinking about setting this up but felt it was too complicated just for a dashboard. This video makes it easier.
    Also wanted to ask something. I run my homelab on an old gaming pc and shut it down at night when I am done using it. I don't keep it running like an actual server 24x7 just shut it down for the night. I typically do it from mobile, open the Proxmox dashboard and then log in and find the shutdown button in the cluttered mobile webpage UI. Wanted to know if there was an easier way to do this. The Proxmox mobile app is only good for viewing statistics and wanted to know if I could shutdown from mobile in an easier way. I can develop an app for this if needed, but I need a network answer on how to request a Proxmox to shutdown shutdown over the network. I had the idea of running the poweroff command via ssh(with key based authentication setup) but that feels like an unsafe shutdown.
    You have any ideas?

    • @felixe2890
      @felixe2890 Рік тому +1

      Regarding the shutdown via SSH: Proxmox automatically (gracefully) stops all VMs and containers on system shutdown. So the shutdown button and shutdown via command do the same thing. And don't worry about shutdown command "not doing anything" - because the server waits for all VMs and containers to have shut down, it might take longer than expected from a computer to finally go down :)

    • @peacemekka
      @peacemekka Рік тому

      @@felixe2890 hm. I thought the shutdown command gave the SIGKILL to apps and would force close them. Good to know this. Thanks.

  • @rodrimora
    @rodrimora Рік тому

    Does this also have alerts? like sending an email if CPU goes over certain threshold.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      Grafana does support alerts! It's not particularly excellent at it, but it's a feature that does work.

  • @rowang5464
    @rowang5464 Рік тому

    Excellent tutorial

  • @garylovesbeer
    @garylovesbeer Рік тому

    Well you made that easy! Thanks mate!

  • @autohmae
    @autohmae Рік тому

    I could not find the page of what statistics proxmox makes available, do you know if they also have context switches ? I've found this to be an important indicator of a busy virtualization server.

  • @yondonrinchinbatsukh9497
    @yondonrinchinbatsukh9497 11 місяців тому

    Where'd you get that t-shirt (has proxmox name on it)?

  • @fedefede843
    @fedefede843 Рік тому

    Hello. Great video.
    In case of having Proxmox installed in different colocations, how would be this approach? Have a local instance per node and then replicating that to a central logging/metric server somehow? Or maybe avoiding the local step, and pushing out straight? Using Tailscale (or any other VPN) for instance I could get good connectivity in a secure way between sites.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      Enable https in influx and it should be safe to expose on the internet. You can generate a unique api key for each cluster if you’re concerned about revoking them separately. The Proxmox host name is a field in the log, and the dashboard filters on it by default (hence the host drop-down).

  • @goodcitizen4587
    @goodcitizen4587 Рік тому

    Neat! I'm gonna do it!

  • @Kowanza
    @Kowanza Рік тому +1

    In my lab Instead of runnning influx and prometheus, because i need both, i chose to run victoriametrics. It can scrape prometheus targets and take in influx metrics and perform alerting using it's tools instead of relying on grafans alerting.

  • @CrazyMineCuber
    @CrazyMineCuber Рік тому

    I did basically the same thing yesterday! But on a NixOS vm in proxmox.

  • @kamilmarkowicz
    @kamilmarkowicz Рік тому +4

    This is the route I went with originally. But then I discovered VictoriaMetrics, which uses several times less resources than InfluxDB, and is very flexible. I deployed prometheus-pve-exporter in a docker container alongside VM and VM scrapes those metrics. Grafana Dashboard #10347 is a good start to read those metrics, since VM can be set up as a Prometheus data source in Grafana. Now since VM can ingest Prometheus, Graphite, InfluxDB and other protocols, I have a one-stop metrics storage for my lab. I also find Prometheus much easier to query in Grafana vs Flux, and tons of dashboards are there using PromQL.

  • @ws_stelzi79
    @ws_stelzi79 Рік тому +1

    Well what hes says in this video must have some gravitas! Even all his monitors and the water glas is shaking when he speaks. 😁🤪😲

  • @sianjing2386
    @sianjing2386 Рік тому +1

    Have you used Prometheus? Can you make an instructional video?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому

      There's sorta a trio of time series logging systems. Prometheus, InfluxDB, and Graphite, and software has an almost cult-like allegiance to support a single one of them. Proxmox doesn't support Prometheus, so I use Influx.
      For me, they fit an identical use case (storing and analyzing logs of numeric data), even if they are functionally implemented very differently (push-based vs pull-based).

  • @ysr9116
    @ysr9116 Рік тому

    Amazing tool for home-lap and amazing presentation :). Any idea how to add CPU temps (Im-Sensors) with AMD ryzen? That would be really good.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому

      Proxmox's metric collector is more focused on KVM / LXC, but you could install Telegraf (the generic InfluxDB logger) and it can do basic temp and lm-sensors

    • @EduardoSantanaSeverino
      @EduardoSantanaSeverino Рік тому

      I was wondering the same thing. What about CPU temperatures?
      Because, yes, those metrics are important, but before you could focus on VM and container resources, you should be aware of the CPU temperature and HDD temperatures. If some of those temperatures go to the sky high, then you won't have metrics at all.
      So, probably a good suggestion for a new video? Monitor temperatures in proxmox and get an email alert if the temperature goes higher than expected.
      I am sure it would be a good addition to this series of videos.
      Thanks.

    • @ysr9116
      @ysr9116 Рік тому

      I managed to do it manually and customized the output, it wasnt straight forward for AMD CPUs but I got it done and it works really well. @@EduardoSantanaSeverino

  • @TheCrisVR
    @TheCrisVR Рік тому

    it is possible to do this but with multiple remote servers?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому

      The InfluxDB server can take data from as many Proxmox instances as you want (and in a cluster, Proxmox will automatically push from all of the nodes).

    • @TheCrisVR
      @TheCrisVR Рік тому

      @@apalrdsadventures i'm asking this because i have a lot of proxmox hosts, i have email notification and all but its still a pain to go one by one checking everything. Does this notify by email like storage warning for example ?

  • @shephusted2714
    @shephusted2714 Рік тому

    i would be happy if you had a go back to basics episode where you concentrated on the simple mechanics of scaling out using ha load balancer and a few cloned vms/nodes - this is pretty basic but could drive home what most smb needs - they just want to be able to scale out their web server and db - you could analyze what it takes to make a good load balancer - use opnsense or just nginx nodes, you could look at mysql/maria cluster and then you could look at how things really scale when adding a node, lastly you could also look at what the best simple netfs is - such a retro and basic look at the complex internals of clustering would be good content and drive home how great it is particularly for small biz and bigger homelabbers - lastly you could look at what networking speed and reverse proxying - how they may help or hinder performance and help you id the weak links and bottlenecks - it may end up being mostly isp bandwidth but this may be able to be ameliorated with a good proxy or cache tier system - thanks for all the content - it is generally pretty good and a breath of fresh air when compared to other youtube tech channels!

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      In general I run a wide variety of stuff at home, and none of the services are individually demanding enough to require multiple nodes / load balancing, so it's not something I need myself. I mostly just need to move stuff between my hosts as loads change.
      I do however have an HAProxy video coming up, as a layer 4 reverse proxy. I'm using it for IPv4 -> IPv6 without doing TLS termination, but it can do *a lot* of things including a very capable load balancer for any TCP based protocols.

  • @djtop40
    @djtop40 Рік тому

    Pros and cons of this kind of setup vs Netdata?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      InfluxDB supports pushing arbitrary variables from software which has metrics to log, and Proxmox's metric collector is pulling data from qemu, the qemu agent on the VMs, storage usage, network, ... , so you don't need to install anything (other than the qemu guest agent) on the VMs to collect information.
      Grafana supports a lot of data source backends and queries, so it can support fairly arbitrary time series data easily even if it isn't normal system performance data.

  • @KeithWeston
    @KeithWeston 4 місяці тому

    Alas, the Grafana template is no more (as of July 2024) and apparently a change in how connections are handled in Influx breaks this set up. Shoot!

    • @apalrdsadventures
      @apalrdsadventures  4 місяці тому +2

      I guess I'll have to make a new version soon then

    • @KeithWeston
      @KeithWeston 4 місяці тому

      @@apalrdsadventures I'd welcome that.

  • @nealmorales525
    @nealmorales525 Рік тому

    *promosm* 💪