Monitor Your System with Grafana using Netdata and Prometheus

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • Prometheus is quite amazing! Here I show you how to use it to pull metrics from the Netdata API to display in a custom dashboard with Grafana.
    Written guide:
    thehomelab.wik...
    Tags used in this video
    grafana dashboard, grafana, prometheus, netdata, homelab, self hosting, system monitor, server monitor, open source, geekedtv, grafana tutorial

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

  • @selfhosted
    @selfhosted  2 года назад +13

    Was this helpful? I hope so! Let me know if you set this up yourself and if you have any issues.

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

      Nice, I've been trying to set up something similar to this myself and found this super useful, thanks.

    • @punch3n3ergy37
      @punch3n3ergy37 9 месяцев назад

      Hey! Do you maybe have the Grafana Dashboard json available somewhere?

  • @turtleneckzor
    @turtleneckzor 2 года назад +4

    Thanks for the good tutorial. Have mine setup and monitoring four servers in my proxmox cluster.

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

      Thanks for watching Matt!

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

    Thank you for a clear and concise video. I just completed this. For anyone running all this on a Synology NAS, I had to add "free" and "cached" queries in Grafana to see my total free ram. You can add queries together in the Transform tab.

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

      It's odd how Netdata seems to be very accurate with RAM available but used is an issue I ran into too. I took a look at cached but it too was off by a fair amount compared to CLI tools when I compared it.

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

      @@selfhosted That is odd as "used" appears accurate to me when looking at my Synology dashboard. I switched to using netdata_mem_available_MiB_average instead of netdata_system_ram_MiB_average and think I'm getting a more accurate result for available RAM

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

      @@gnote2greatness Right. This metric is for available memory, not used. Used is what is not so accurate for me. What metric are you using for used ram?

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

      @@selfhosted Sorry, RAM used from your video was closely accurate for me. 3.63GB using top and 3.81GB using netdata. Since you're RAM available is accurate, you could take your total ram and subtract netdata_mem_available_MiB_average. For me it was 15483 - netdata_mem_available_MiB_average. Not the greatest solution but might get you closer.

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

      @@gnote2greatness Interesting concept... but it works much better. Thanks for the tip!

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

    clear to the point, and thanks to written guide. Gained a sub

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

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

    bro thank you very much for the guide with a simple explanation of the necessary things⬆

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

    Yes!!! Finally!!!

    • @selfhosted
      @selfhosted  2 года назад +3

      I'm always nervous with long videos like this because the editing takes so long and I don't want to feel like I rushed through it. So let me know if this is good enough. Thanks for watching as always!

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

    why use netdata in this scenario? why not send data directly to prometheus?

    • @GrishTech
      @GrishTech 7 месяцев назад

      Through what, a node exporter?

    • @zenmaster24
      @zenmaster24 7 месяцев назад

      @@GrishTech did you watch the video? 4:54 prometheus is already scraping the target

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

    Great Video

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

    Can you post the JSON for you Grafana dashboard? The link in the written guide is dead. Great vid, just what I needed.

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

    1:28 I am so confused about the transition from proxmox to portainer. Are you installing prometheus and grafana as an LXC container or Docker container managed in Portainer. Please clarify as that literally made no sense to me.

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

      Late to the party, but: LXC container with Docker installed. Running Portainer on on that LXC via docker run. Then setup grafana/prometheus as Portainer stacks. That's all there is to it.

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

    Thanks for the video I was able to install this and monitor my raspberry pi. Just a question though how do you find out what metric to use on Prometheus? is there a documentation for it? I'. tying to find the disk read/write/utilizations.

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

      It's in the Prometheus explorer. You can see all the metrics there.

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

    Nice video! Can you make another video where instead of Prometheus scraping the Netdata hosts, Netdata agents send data to Prometheus? (So a push instead of a pull) Thanks!

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

    omg thanks

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

    Wow, Just wow

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

      Pretty awesome isn’t it?

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

      @@selfhosted totally, the way you describe everything, awesome! I never used netdata and prometheus before but from this video I learned many things

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

    Do you know of any IT/pc-parts inventory web interface application ????

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

    great video , but looks like the link dont work , several youtube channels has this link problem

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

    your website is down

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

    Shit, too much information. Simply i just remove my freshly created grafana folder and stay with synology dsm manager.

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

    I really enjoy your presentation style, thank you.
    Since Portainer only supports Compose V2 file format how can you install your stack which is V3.3

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

      Thank you! What version of Portainer are you running? Mine worked fine as you saw. Try changing it in the stack and see if it works for you.

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

      Michael maybe a version issue. I am running portainer 2.6.3, and following the video I have been able to use version 3.3 for the stack creation.

    • @selfhosted
      @selfhosted  2 года назад +3

      @@turtleneckzor I believe version Portainer 2.6.0 upward supports 3.3.