Setting up Prometheus and Grafana for monitoring your servers

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

КОМЕНТАРІ • 113

  • @ridvan246
    @ridvan246 4 роки тому +6

    This tutorial is awesome. Simple enough and really understandable, which is every course or lesson should be.

  • @Itai248
    @Itai248 5 років тому +35

    God bless you this is like the best and only guide on how to install this I was already about to give up until I saw your video

    • @fettfoen
      @fettfoen 4 роки тому

      Same here.

    • @erentar2002
      @erentar2002 4 роки тому

      The config documentation looks like it is purposefully bloated and obfuscated

    • @Pharoah2
      @Pharoah2 4 роки тому

      A year later and somehow the documentation is still intentionally bloated and wild

  • @AhoyCapnLinux
    @AhoyCapnLinux 4 роки тому +1

    Great video thanks!
    If you haven't run into this solution already, aside from `fallocate` you can create large files using `dd` as well. A sample command would be "dd if=/dev/zero of=test.file" where "if" is input file, "of" is output file and "test.file" can be replaced with your desired output filename. The command copies bits from /dev/zero (guess what kinda bit...) and dumps it into the file of your designation.

  • @yopla250
    @yopla250 5 років тому +6

    Great and straight to-the-point introduction! Thanks a lot 🙏
    Looking forward to hearing more on this topic

  • @AnabolismRage
    @AnabolismRage 5 років тому +45

    Dude, you are awesome!
    If you can continue to make such lessons (especially about Prometheus), please, do, it's so helpfull.

  • @Mr.Rogers1337
    @Mr.Rogers1337 2 роки тому +1

    I've gone through tutorial after tutorial and this is the one that got me to where I wanted to be. Thanks a ton

  • @shreyshreyansh
    @shreyshreyansh 2 роки тому

    I am so glad that I found ur video... u saved hours of scratching numerous tutorials

  • @sorenhelms785
    @sorenhelms785 4 роки тому

    Thank you very much. The best instruction i've seen so far for this topic. I wasted almost a day with tutorials that never worked, whose applications only threw errors and in the end frustratedly let me do a rollback. This worked like a charm on the first try!

  • @tyncha1
    @tyncha1 4 роки тому +1

    finally!!! after wasting 2 hours i got introduction + installation
    thank u!! u are good at it!

  • @sergeyagronov9650
    @sergeyagronov9650 3 роки тому

    this was the best introduction and examples i have seen for this topics, thank you very very much for your examples

  • @edgardejesusmendozaortegon7655

    Dude you are amazing!!!!! This video save my life!!!!! Thank you so much for sharing your knowledge

  • @suryaveepuri57
    @suryaveepuri57 3 роки тому

    Awesome bro!!I thought of learning this setup from years,video helped me to do it in few minutes

  • @ajaykumarveldhi6385
    @ajaykumarveldhi6385 3 роки тому

    Thank you very much for a short and sweet video, and explanation is great here...
    Will also pls create a video on Process-expoter.

  • @GeoffreyPapin
    @GeoffreyPapin 5 років тому

    Really nice "Getting started video" , I was able to get meaningful data in minutes ! 👏 Looking forward to the next "alerting" video you mentioned now

  • @trido3815
    @trido3815 2 роки тому

    Thanks, Eddie. Cool stuffs and straightforward tutorial.

  • @Hiroyugane
    @Hiroyugane 5 років тому +1

    Pretty good tutorial and I learned a lot, but I have a question (and I dunno whether it'll be answered here since the vid's a little older):
    You installed prometheus on your other servers, too, so you can scrape their data. But when you do that, those servers will have a webinterface and a dashboard to access to, too, right? Doesn't that produce a lot of overhead / wasted computing resources if all you need for the nodes is to share that text file? Also for security and network-cleanup-reasons: I might not wanna have the other servers host any web services

    • @eddiezane
      @eddiezane  5 років тому +1

      Glad it was useful! You're correct that you'd typically only want Prometheus installed on one server. The other servers actually just have the node_exporter installed (the second thing downloaded) as opposed to the Prometheus server itself. The node_exporter is extremely lightweight and is barely noticeable on the system.

    • @Hiroyugane
      @Hiroyugane 5 років тому

      ​@@eddiezane Ah, I see! So the node_exporter doesn't need the "main" Prometheus-package on the servers it's working on. That makes sense and is exactly what I needed to know, thanks!
      Also thanks for the superfast response :)

  • @AbhimanyuChoudhary15
    @AbhimanyuChoudhary15 4 роки тому

    @Eddie Zaneski Thanks a lot for the amazing video.
    It would be great if you could make more videos on monitoring and setting up alerts etc. depending on IMPORTANT metrics. It will also be very helpful for the interviews. They tend to ask a lot about 'what are the metrics you will check to make sure something is working, not working, slow, etc. I got the basics but some deep dive will be awesome!
    I am a beginner in devops and want to learn more on these topics.

  • @rakeshcheekatimala9563
    @rakeshcheekatimala9563 4 роки тому

    An amazing explanation that is crystal clear and up to the point. Thanks for uploading and it's very helpful

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

    Hello, Question, do I need to install node explorer to all the servers that we have? I'm planning the same concept on what the video shows, the only difference is that I'll be monitoring our own local VM servers. Thank you!

  • @witoldkaczurba6483
    @witoldkaczurba6483 3 роки тому

    Great video. Much more than I expected. Thank you.

  • @abhishekn786
    @abhishekn786 2 роки тому

    Thanks for the video,
    I have query to ask..to download and install we should create new user for it?
    And if my Hadoop cluster is having 8 machines then i should install Prometheus and grafana in all 8 machines? Or i should install it on only master machine?.
    Thanks in Advance.

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

    Thanks. Very simple and understandable. Amazing tutorial

  • @sgramsch
    @sgramsch 5 років тому +3

    Pretty awesome introduction, thank you!

  • @fabianbrash4356
    @fabianbrash4356 3 роки тому

    Great video, I use Prometheus and Grafana in Kubernetes, why do I see n/a for a lot of my metrics? I download prebuilt dashboards but a lot of them just say n/a??

  • @Bachatango100
    @Bachatango100 2 роки тому

    Excellent tutorial - Thank you very much!

  • @colony123100
    @colony123100 4 роки тому

    explained very nicely. thank you Eddie

  • @vijayasaradhisamavedam6990
    @vijayasaradhisamavedam6990 3 роки тому +1

    Hello, can you please post a video to configure prometheus for Docker containers. Thanks

  • @okellomarvin925
    @okellomarvin925 3 роки тому

    When you added other 2 remote servers, had you already installed node_exporter in them?

  • @andrewfigaroa7031
    @andrewfigaroa7031 5 років тому +2

    Awesome tutorial dude!! Thank you for sharing

  • @neeraj33negi
    @neeraj33negi 4 роки тому

    This is awesome, cant believe this stuff is free on UA-cam.

  • @harshbhadoria7200
    @harshbhadoria7200 4 роки тому

    Hey eddie,
    thanks for the video, and can you please tell me, whether is it possible to monitor a Linux system from my windows system.
    Suppose I'm a user of windows and from this system, I want to analyze the performance of another system in which Linux is installed using Prometheus.

  • @TheRoosterGr
    @TheRoosterGr 5 років тому +2

    Great video thanks! Could you please also cover the alert manager topic?

  • @SteveNgaiCheeWeng
    @SteveNgaiCheeWeng 3 роки тому

    i have successfully Import via grafana.com for 1860 and 405 but I see no data

  • @PS-er1qm
    @PS-er1qm 4 роки тому +1

    Would be great to add a little more detail too.... for complete newbs it would be good to explain how to install vim, explain the shortcut keys you are using such as how to shut down prometheus etc etc. Quite difficult for a newb to follow else :)

  • @1foxmark
    @1foxmark 5 років тому

    WoW mate - I don't know how to thank you! Awesome stuff - thx for sharing!

  • @williansteinagel
    @williansteinagel 4 роки тому

    Hello Eddie!! How u going? So, I work in a app that processes files and I need to monitor each one of these files. Is that possible with Prometheus and Grafana? If yes, how could I agregate and filter to get It? If no, do I need to make It by my own or do you know another option for it? Besides that, thank you so much!!

  • @syedmuhammadzaeemhasankazm7740
    @syedmuhammadzaeemhasankazm7740 4 роки тому

    Hey Eddie, I am getting 401-unauthorized when I try to access node_exporter in targets. Can you please tell me how can I solve it? Like a vague idea.
    I have already tried some solutions from google and they didn't really help.

  • @MLFCRT
    @MLFCRT 4 роки тому

    Thanks for the awesome tutorial! It's really helpful!
    And I also like how you set up your Terminal and Vim, and the way you split the terminal at 09:09. Does Tmux help you with that?

  • @diga1001
    @diga1001 3 роки тому

    Thanks for the great tutorial!
    It worked fine for me ;)
    Just one question/problem:
    How can I autostart prometheus and the node exporter on boot?

  • @viswanathak7276
    @viswanathak7276 5 років тому +2

    Thanks for this tutorial, very helpful !!

  • @mamatvaj157
    @mamatvaj157 2 роки тому

    Dude, you are awesome!

  • @iahmad9992
    @iahmad9992 3 роки тому

    Thank You for this awesome Tutorial

  • @TarunGoyal4ever
    @TarunGoyal4ever 5 років тому

    Very helpful, good flow and details. keep it up!

  • @TheWiiZZLE
    @TheWiiZZLE 5 років тому

    Ok you're amazing, thank you very much!
    What shortcut did you use to list all processes while writing kill -s HUP?

    • @eddiezane
      @eddiezane  5 років тому

      Thanks for the kind words and glad it was useful!
      That fancy terminal bit was tab completion from `Oh My Zsh` a collection of plugins I use for the Zsh shell.

    • @TheWiiZZLE
      @TheWiiZZLE 5 років тому

      @@eddiezane Oh great I actually never used any plugin other than git with my Ohmyzsh that I've been using for 3 years now. I'll try systemadmin and others.
      Maybe make a video about that oh my zsh and your favorite plugins!

    • @eddiezane
      @eddiezane  5 років тому

      @@TheWiiZZLE that's a pretty rad idea. You shouldn't need to enable any plugins though if you're already using oh my Zsh. Give tab competing `kill ` a try.

    • @TheWiiZZLE
      @TheWiiZZLE 5 років тому

      Eddie Zaneski 😯 what black magic is that?! I guess I’m not adventurous enough with tab completion, thanks a lot!

  • @EduardKondratyuk
    @EduardKondratyuk 3 роки тому

    thanks for showing around

  • @consume94
    @consume94 4 роки тому

    Tnq my lord and saviour. U the man

  • @lightiv
    @lightiv 4 роки тому

    You got me up and running. Thank you!

  • @souravprasaddas5909
    @souravprasaddas5909 3 роки тому

    Superb explaination ❤️❤️❤️

  • @daviddemoss7731
    @daviddemoss7731 4 роки тому

    This is incredible. Thanks a ton

  • @timoclemens5379
    @timoclemens5379 4 роки тому

    I do exactly the same like you, but when I want to add node_exporter to the config I get the error from prometheus:
    level=info ts=2020-03-07T16:26:20.414Z caller=main.go:530 msg="Stopping scrape discovery manager..."
    level=info ts=2020-03-07T16:26:20.414Z caller=main.go:544 msg="Stopping notify discovery manager..."
    level=info ts=2020-03-07T16:26:20.414Z caller=main.go:566 msg="Stopping scrape manager..."
    level=info ts=2020-03-07T16:26:20.414Z caller=main.go:540 msg="Notify discovery manager stopped"
    level=info ts=2020-03-07T16:26:20.414Z caller=main.go:560 msg="Scrape manager stopped"
    level=info ts=2020-03-07T16:26:20.414Z caller=manager.go:845 component="rule manager" msg="Stopping rule manager..."
    level=info ts=2020-03-07T16:26:20.414Z caller=manager.go:851 component="rule manager" msg="Rule manager stopped"
    level=info ts=2020-03-07T16:26:20.414Z caller=main.go:526 msg="Scrape discovery manager stopped"
    level=info ts=2020-03-07T16:26:20.416Z caller=notifier.go:598 component=notifier msg="Stopping notification manager..."
    level=info ts=2020-03-07T16:26:20.416Z caller=main.go:731 msg="Notifier manager stopped"
    level=error ts=2020-03-07T16:26:20.416Z caller=main.go:740 err="error loading config from \"prometheus.yml\": couldn't load configuration (--config.file=\"prometheus.yml\"): parsing YAML file prometheus.yml: yaml: line 24: did not find expected key"

  • @reylencatungal4593
    @reylencatungal4593 4 роки тому

    Hi, thanks for this wonderful tutorial. Do I need to add Grafana as added job-name same as you did to node exporter? Thanks.

  • @DesertCookie
    @DesertCookie 4 роки тому

    'localhost:9100/metrics' just gets me to an empty page. 'localhost:9090/targets' tells me that this endpoint is down with the following error: "Get "localhost:9100/metrics": dial tcp 127.0.0.1:9100: connect: connection refused".

  • @rohitbharati1519
    @rohitbharati1519 4 роки тому +1

    Hi how can I add a password protected url as target?

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

    thanks, how to install the node exporter in remote server? need to setup firewall and any username password?

  • @pavelgovorukhin8607
    @pavelgovorukhin8607 2 роки тому

    You did not mention that node exporter does not work under root... And there is no way to do that...

  • @andreikashin
    @andreikashin 4 роки тому

    Will you show alerting with prometheus?

  • @carlssonn
    @carlssonn 4 роки тому

    Just what i needed :) Thanks!

  • @hammou3
    @hammou3 4 роки тому

    God bless you, great video , thanks brother

  • @yajatghule130
    @yajatghule130 4 роки тому

    very well explained

  • @petercunha6085
    @petercunha6085 5 років тому

    Great video, very helpful.

  • @usmanAli-hw5xu
    @usmanAli-hw5xu 3 роки тому

    sir jitsi promethus exporter wth grafana ?

  • @SearchingPeaceInside
    @SearchingPeaceInside 2 роки тому

    Thanks.. This is Great video. How to get statistics on grafanna from host configured on prometheus ie on grafanna dashboard

  • @omkarpalekar4237
    @omkarpalekar4237 4 роки тому

    Excellent Demo...cheers!!!!

  • @nordicvolkan
    @nordicvolkan 3 роки тому

    Thank You Eddie !

  • @kaiomatico
    @kaiomatico 5 років тому

    Thank you for this great video!!! :)

  • @maradonasiego
    @maradonasiego 4 роки тому

    Hi guys, do you know if there is any way to make the grafana panels transparent? , I can only change it black or white, but I need to embed it on a page and make it transparent

    • @jsingh1015
      @jsingh1015 4 роки тому

      Which exporter have matrix for ec2 win,linux, mssql ec2, Oracle ec2,mssql RDS, Oracle RDS, S3 bucket, application load balancer, Lambda,EFS services

  • @sachinchaudhary7994
    @sachinchaudhary7994 4 роки тому

    I love you a lot. Saved My Life

  • @sorrellcom
    @sorrellcom 4 роки тому

    Can you make the video quality any worse please? Nice explanations though.

  • @andrewnhien9714
    @andrewnhien9714 5 років тому

    Keep going bro! Thanks you! Wait to your next video!

  • @smrititiwari8243
    @smrititiwari8243 4 роки тому

    Thank you so much , It was really helpful

  • @ashishkumargrover6122
    @ashishkumargrover6122 2 роки тому

    Thanks dude nice video
    Please make video how we can connect jmx exporter with kafka and run through prometheus

  • @gaurangsolanki1032
    @gaurangsolanki1032 2 роки тому

    my node _exporter not working please help me.

  • @Mrviveksidher
    @Mrviveksidher 4 роки тому

    Thanks A ton . Very helpful..

  • @azphael4667
    @azphael4667 5 років тому

    Just Great! thanks a lot dude.

  • @kikigak
    @kikigak 4 роки тому

    how to set prometheus and node_exporter to auto start?

  • @CoolBishop1997
    @CoolBishop1997 4 роки тому

    veryb interesting tutorial sir! thanks

  • @marianovallejos3115
    @marianovallejos3115 4 роки тому

    could create a video for snmp exporter?

  • @soul3734
    @soul3734 5 років тому

    Nice vid!
    Do you have any on the alert manager... please upload :)

  • @karthikgowda4386
    @karthikgowda4386 4 роки тому

    where can we get .yml file source code

  • @bhaveshgohel
    @bhaveshgohel 4 роки тому

    Awesome Video! :)

  • @hayderimran7
    @hayderimran7 4 роки тому

    great tutorial.. thank you for that!!!

  • @Rm-uj6fp
    @Rm-uj6fp 4 роки тому

    tar xfz .... Didn’t work with me i tried tar xvf prom.... and it work thanks for this grateful tutorial

  • @giftedfingers2580
    @giftedfingers2580 5 років тому +2

    Dude where have you been.....

    • @eddiezane
      @eddiezane  5 років тому +1

      Hah it's been a minute for sure. What cool stuff have you been learning? What should I make videos on?

    • @Itai248
      @Itai248 5 років тому +2

      @@eddiezane I would love to see you delve deeper into the Prometheus like configuring alerts and how to monitor other targets (Windows and Linux)

  • @januardo.santos
    @januardo.santos Рік тому

    Thanks you bro 👍🏽👍🏽👍🏽

  • @edwardbanjo5146
    @edwardbanjo5146 2 роки тому

    Nice video.. Thanks

  • @WernerTahwai
    @WernerTahwai 5 років тому

    thank you.. very awesome

  • @Arunsingh-js7vw
    @Arunsingh-js7vw 4 роки тому

    Awesome 👍

  • @ChandanSingh-oc6th
    @ChandanSingh-oc6th 5 років тому

    Good stuff !

  • @piotrkoziorowski5188
    @piotrkoziorowski5188 4 роки тому

    Awesome Vide thank you

  • @mkhello3434
    @mkhello3434 3 роки тому

    Thank you

  • @DarkClaw974
    @DarkClaw974 4 роки тому

    Thank u !

  • @123mdent
    @123mdent 2 роки тому

    Explained far too fast and like everyone is an expert :(

  • @Makingdifference100
    @Makingdifference100 3 роки тому

    Your screen is blur and super small

  • @FranciscoNacimientho
    @FranciscoNacimientho 5 років тому

    Excellent video, thanks.

  • @lathaunisys6949
    @lathaunisys6949 4 роки тому

    Hi can we scrape health of the service in prometheus

  • @jurkinss1
    @jurkinss1 5 років тому

    thank you very helpful !!!