Best Server Monitoring with Prometheus and Grafana using Node Exporter and cAdvisor

  Рет қаралды 71,399

VirtualizationHowto

VirtualizationHowto

Күн бұрын

Пікірлер: 62
@romayojr
@romayojr 6 ай бұрын
just spun this up as an lxc docker container on my proxmox cluster and only took less than 30 mins without any issues - amazing tutorial, brandon. cheers!
@guidoricioppo7759
@guidoricioppo7759 Жыл бұрын
Hello, great video! From what I understand Redis is not actual dependency. It is used on the prometheus guide just as "reference container" for examples
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Thank you for your comment! Good point!
@jitxhere
@jitxhere 2 ай бұрын
Amazing tutorial mate. Easy to follow and I have my dashboard up and running.
@guapoforastero2668
@guapoforastero2668 Жыл бұрын
First off all thanks for the excellent vidéo it has helped me in my project.
@NetBandit70
@NetBandit70 2 жыл бұрын
Heavy on the configuration. You'd think that a monitoring agent would be able to push metrics out instead of listening. So now you have to install the agent (Windows Exporter), configure the Windows firewall, and setup Prometheus to pull metrics. Anyway, a great video even if the configuration is cumbersome.
@squalazzo
@squalazzo 2 жыл бұрын
i beg you pardon in case you already explained this in the video (i'm still at the beginning), or you can maybe make a video on this in the future, please: having BOTH metrics AND logs combined in a grafana dashboard, so to have a complete monitoring solutions, scrolling both "targets" in sync/parallel, to have a full view on what, how and when something happened... thanks!
@squalazzo
@squalazzo 2 жыл бұрын
ok, saw full video, probably what i asked is related more to kubernetes and less to docker, really... but, in case, a video covering this "extended" setup would be much appreciated :D
@damadorpl
@damadorpl 2 жыл бұрын
a little hint with today docker 23 update :) docker-compose up -d become docker compose up -d - wthout dash in the middle :)
@ThrottleScotty
@ThrottleScotty Жыл бұрын
Excellent tutorial. Thanks for this! I'm just getting started with Prometheus and Grafana. Have two questions: 1) Have you seen any dashboards that aggregate Linux, Windows and Docker monitoring into a single (perhaps very simplified) view? 2) Do you have recommendations for alerting? Meaning, if a docker container is reporting as unhealthy, or a specific Linux OS metric is reporting above/below a set threshold, an alert is sent via email/sms to admins...
@Synthel98
@Synthel98 Жыл бұрын
Great tutorial! Do you have some guide to read better logs of all containers? Currently I'm using Dozzle, but I saw some solutions like ELK (Elastic Search, Logstash and Kibana) , any chance to you bring some tutorial to implement in docker-compose?
@janupriyo2096
@janupriyo2096 2 жыл бұрын
so easy turotial, Good job thanks bro
@VirtualizationHowto
@VirtualizationHowto 2 жыл бұрын
Janu thanks for the comment! So glad it was helpful.
@janupriyo2096
@janupriyo2096 2 жыл бұрын
@@VirtualizationHowto you are welcome bro
@ZillaYT
@ZillaYT 3 ай бұрын
Thank you! In this example, what container is cadvisor monitoring? Is it the Prometheus container itself?
@claudiaarjona7789
@claudiaarjona7789 2 ай бұрын
Hello, can you do a video adding alertmanager to this configuration ?
@leolomonosov4021
@leolomonosov4021 Жыл бұрын
Hello! Perfect tutorial. The only problem for me, where do you get the IP for grafana? Should I go by localhost or I need to find grafana's IP?
@opozicijanajednommestu5682
@opozicijanajednommestu5682 Жыл бұрын
ifconfig
@victormacedo4080
@victormacedo4080 Жыл бұрын
Great video! Does anyone knows how much CPU and memory this monitoring stack uses?
@elmahdifrimane4862
@elmahdifrimane4862 8 күн бұрын
same question
@typingaddict1319
@typingaddict1319 Жыл бұрын
It doesnt seem like grafana can see the nodes i have from cAdvsior. My Docker container dashboard has no data. What steps can I take to troubleshoot this?
@witblack
@witblack Жыл бұрын
i have this problem too. Did you find any answers for fix this issue? Can anybody help us?
@aoczon
@aoczon Жыл бұрын
Not sure if this has been asked already. Can you add how also how install the snmp exporter. Thanks
@daiben2004
@daiben2004 Жыл бұрын
nice, But how to monitor VMware ESXI and True Nas Core Storage?
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
@daiben2004 Thank you for your comment! Sign up on the forums and I can give more personalized help here: www.virtualizationhowto.com/community. Thank you again.
@vasiliynet3425
@vasiliynet3425 Жыл бұрын
Thanks! Looks more pretty than Zabbix.
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Vasilly, I definitely prefer PRTG for its capabilities, look, and feel...
@RolandTutorials
@RolandTutorials Жыл бұрын
i love this, thanks
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Thank you too!
@andreaquentino1068
@andreaquentino1068 2 жыл бұрын
nice!!! Very handy!!!
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Thank you Andrea!
@mathewcampisi7594
@mathewcampisi7594 Жыл бұрын
How do I add other servers to prometheus? Like 2 linode and a digital ocean server? I'm running prometheus locally, so would i need to create cloudflare tunnels???? Also can you make a video on running grafana and prometheus on trunas?
@alindaalvin1143
@alindaalvin1143 5 ай бұрын
Hello want do you do, if the windows machine is on a local nextwork, and the prometheus and grafana is on the cloud
@886609769
@886609769 Жыл бұрын
need some assistance: Prometheus is up and working, I have node exporters loaded on few server. Prometheus is able to identify them and scrape them. Installed Grafana and connected to Prometheus but Grafana is not able to show any data in dashboard any recommendations?
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Hello and thanks for the comment! Does grafana see the prometheus data source when you add it in settings?
@guapoforastero2668
@guapoforastero2668 Жыл бұрын
I have a question what would the configuration of the exporters and the Prometheus server be like if the servers were AT the company's office and the Prometheus server was AT home. Basically a remote monitoring. Thanks
@md.ishfakurrahman8457
@md.ishfakurrahman8457 Жыл бұрын
How do you decided ip address for targets? There is docker ip address too!
@MrInvalidnick
@MrInvalidnick 2 жыл бұрын
Thank you for share. Greetings
@VirtualizationHowto
@VirtualizationHowto 2 жыл бұрын
Thank you for your comment! Take care.
@aoczon
@aoczon Ай бұрын
Can you add SNMP Exporter? Please
@filipfedorisin3457
@filipfedorisin3457 Жыл бұрын
Hello, i am unable to hit node exporter and cadvisor metrics endpoints via prometheus. It gives me context deadline exceeded error. However when i try to curl it works like charm. Can you please help me with this?
@rainbowforest09
@rainbowforest09 2 жыл бұрын
I am having an issue with prometheus. When I try docker-compose up -d there is one error that occurs. Cannot start service prometheus: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/root/monitorsvr/prometheus/prometheus.yml" to rootfs at "/etc/prometheus/prometheus.yml": mount /root/monitorsvr/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? How to solve this?
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
erefem make sure you created a directory and not a file in your Linux environment. Also, check out permissions. Let me know if this helps.
@rainbowforest09
@rainbowforest09 Жыл бұрын
@@VirtualizationHowto I follow every step carefully but have had no success. I also add user to docker group. Is there something I am missing here?
@fortypanda
@fortypanda Жыл бұрын
@@rainbowforest09 1. Switch your user to root and run everything from there. 2. Check the user id (id -u) then change it to match accordingly in the docker-compose.yml file as in the video. Then proceed with the steps as he has done. It will work.
@TerryMcKnight1
@TerryMcKnight1 Жыл бұрын
I have exactly the same issue as erefem. lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.10 Release: 22.10 Codename: kinetic /promgrafnode$ sudo docker compose up -d [+] Running 4/5 ⠿ Container redis Started 1.2s ⠿ Container cadvisor Started 2.4s ⠿ Container node-exporter Running 0.0s ⠿ Container grafana Started 0.0s ⠼ Container prometheus Starting 2.4s Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/root/promgrafnode/prometheus/prometheus.yml" to rootfs at "/etc/prometheus/prometheus.yml": mount /root/promgrafnode/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
@khisanthxanadu2192
@khisanthxanadu2192 Жыл бұрын
I get the same error
@bayuwiratmo2820
@bayuwiratmo2820 Жыл бұрын
how to add target if I have 5 VM running on premise server? Just newbie
@shamshershaikh17
@shamshershaikh17 Жыл бұрын
Can we create a metrics to monitor service status like ntpd, chronyd, auditd in Prometheus
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
@shamshershaikh17 thank you for the comment! Sign up for the forums here: www.virtualizationhowto.com/community and let's discuss it in more detail there.
@sadesguy1152
@sadesguy1152 Жыл бұрын
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
@GrowLikeAWeed-T
@GrowLikeAWeed-T Жыл бұрын
Thank you. It's very helpful.
@MarkConstable
@MarkConstable 7 ай бұрын
Nope, not interested in a docker based solution... moving on.
@majorgear1021
@majorgear1021 6 ай бұрын
Aww. Come on. Try it.
Container vs VM: Hypervisor War is Over!
13:42
VirtualizationHowto
Рет қаралды 38 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
How Prometheus Monitoring works | Prometheus Architecture explained
21:31
TechWorld with Nana
Рет қаралды 1 МЛН
Home Lab Tour 2024: Servers, Apps, Docker, and more!
17:11
VirtualizationHowto
Рет қаралды 31 М.
What's the difference between a server and a cloud hosting?
7:22
MyCTOFriend - Tech startup tips for entrepreneurs
Рет қаралды 79 М.
Best Docker Container Monitoring Tools - Free and open source
17:45
VirtualizationHowto
Рет қаралды 74 М.
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Christian Lempa
Рет қаралды 705 М.
Monitor Docker Containers With cAdvisor, Prometheus And Grafana
20:12
Tech Tutorials - David McKone
Рет қаралды 3 М.
Best Docker Container Server Setup // Docker Swarm, CephFS, and Portainer
23:06
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 515 М.
You want a real Name Server at home? // DNS
32:31
Christian Lempa
Рет қаралды 293 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН