Homelab Monitoring Made Easy - Part 1: Tools Overview - Grafana, Prometheus, InfluxDB, Telegraf

  Рет қаралды 30,920

Jim's Garage

Jim's Garage

Күн бұрын

Пікірлер: 41
@linsihan2719
@linsihan2719 9 ай бұрын
just wanna come to say thank you! I've been watching your Homelab series to build up my home server, really appreciate your contents here!
@Jims-Garage
@Jims-Garage 9 ай бұрын
Thanks, appreciate your feedback 🙂
@yas-k2j
@yas-k2j 8 ай бұрын
Thanks Jim, your videos always has great explanation and easy step by step solutions.
@Jims-Garage
@Jims-Garage 8 ай бұрын
Wow, thank you for the kind donation!
@luisliz
@luisliz Жыл бұрын
Been loving your videos. This came out just in time, i'm finally getting to the monitoring part of my homelab. TY SO MUCH!
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍 I'm hoping to have part 2 out shortly.
@kevinhughes9801
@kevinhughes9801 Жыл бұрын
Brill stuff great to see your sub count growing defo deserved
@Jims-Garage
@Jims-Garage Жыл бұрын
Thank you for your support
@octaviusss
@octaviusss 7 ай бұрын
Great video! thank you so much! Subscribed!
@Jims-Garage
@Jims-Garage 7 ай бұрын
Appreciated, thanks 👍
@fedefede843
@fedefede843 Жыл бұрын
Nice! I have a similar setup at home (using a RPi4). Grafana, Loki and Promtail. But instead InfluxDB I use Prometheus. I found it better fit to manage infrastructure (in any case for my home usage it would be the same :)). Along Prometheus I use Node Export for the node metrics and cAdvisor for the containers. I see here with Telegraf you get both in one go. Nice. InfluxDB I use it for Home Assistant historic data. I find it better for that scenario. Long time period retention and lot of sensors going on. At work I am currently trying to deploy a distributed stack, where I use Prometheus in agent mode in the servers, writing out to a central Prometheus instance having all our metrics in one place. On top of that Grafana. Thanks for the video!
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, sounds like you have a detailed setup 👍
@issamzgybi9761
@issamzgybi9761 4 ай бұрын
THANK YOUUUUU JIM
@Jims-Garage
@Jims-Garage 4 ай бұрын
@@issamzgybi9761 you're welcome
@HunterGeophysicsAustralia
@HunterGeophysicsAustralia 4 ай бұрын
At 21:50, the default username and password is "admin". Hope this helps someone in future...
@mnejmantowicz
@mnejmantowicz 11 ай бұрын
Jim, I’ve recently discovered your channel. Great content with clearly articulated details and gotchas. Well done sir. I do have a question in regards to this video, if I create a docker stack containing all the services and I need Telegraf to scrape an external resource outside the docker network, won’t it fail in this setup? I always seems to get “no route to host” or the like when I try to connect externally from within the container.
@Jims-Garage
@Jims-Garage 11 ай бұрын
Thanks for the feedback. It should be fine to link to external services, I do. Need to make sure that there're no firewall rules in the way and that the correct ports are open on the host
@mnejmantowicz
@mnejmantowicz 11 ай бұрын
@@Jims-Garage I appreciate the reply. I’ll investigate further. 👊🏻
@nwdsc
@nwdsc Жыл бұрын
Great presentation. I'm wondering how resource intensive this stack is. In a limited environment, will this be a CPU or memory hog? Especially once you get numerous monitors configured.
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, I recommend that you first cut the stack to only what you need. Then, impose resource limits on the containers, and only record what you need at a sensible frequency and retention period. I'm reasonably confident that it should remain lightweight.
@funashimi
@funashimi 2 ай бұрын
hey! thanks for the tutorial! got a couple of problems with your docker-compose in my synology NAS, hope it helps some viewers 1) in Jim's docker-compose ports are labeled differently from container to container, some are with double quotes: - "xxxx:xxxx" others without: - xxxx:xxxx I tried to compose up this in portainer and no ports were published in the end. So I just deleted double quotes so every port is declared in the same way and it worked! 2) during prometheus setup i got 2 errors: - err="open /prometheus/queries.active: permission denied" - err="open /etc/prometheus/prometheus.yml: permission denied" i tried to troubleshoot them myself for hours, but in the end I saw your "user: 0" with grafana container and added that to prometheus too. not elegant and security risk, but chmodding it to 777 is worse i suppose?...
@Jims-Garage
@Jims-Garage 2 ай бұрын
Thanks 👍 user 0 is worse as it runs the container as root (I think). 777 simply means anyone can alter it (but they're not root)
@grocerylist
@grocerylist 9 ай бұрын
How and where would I find the global id of my docker user?
@Jims-Garage
@Jims-Garage 9 ай бұрын
Hey, it's id -u username and id -g username
@grocerylist
@grocerylist 9 ай бұрын
@@Jims-Garage Maybe I missed something. Am I supposed to create a new user for this Monitoring docker stack?
@dereksloan3233
@dereksloan3233 Ай бұрын
@@grocerylist Did you get the docker user global id figured out?
@yonko1941
@yonko1941 Ай бұрын
Hi, I do not have reverse proxy running. Which port should I access Grafana? I tried adding a port in the docker compose file but its not working :/
@Jims-Garage
@Jims-Garage Ай бұрын
@@yonko1941 I think it's 3000
@yonko1941
@yonko1941 Ай бұрын
@Jims-Garage neither :(
@JPEO
@JPEO Жыл бұрын
After I've run the docker compose and everything is pulled, I got message in the end [network proxy delared as external, but could not be found] did I missed something? Thanks for the video by the way.
@Jims-Garage
@Jims-Garage Жыл бұрын
This is because I'm using an external network called proxy that I created when I deployed Traefik. Check out my Traefik video if you need further help.
@JPEO
@JPEO Жыл бұрын
@@Jims-Garage Thanks for you prompt reply, unfortunately I cannot use reverse proxy because I cannot do port forwarding.
@Jims-Garage
@Jims-Garage Жыл бұрын
@@JPEO Sure you can, follow my Traefik guide. You use a DNS challenge method, not a TLS. This doesn't require port forwarding.
@JPEO
@JPEO Жыл бұрын
@@Jims-Garage I didnt know that I'll watch it again.
@JoshArchers
@JoshArchers 10 ай бұрын
Great video - but InfluxDB has really put pay to wanting to mess with the TICK stack, or any other variation of it, what with the 3.0 Edge and Community shenanigans. I think these days it would be far better for the homelab market to use Netdata, or perhaps just Prometheus and Grafana together.
@Jay.M
@Jay.M 3 ай бұрын
The configuration does not work and there is no instruction on how to get it running, you are missing a few configuration files (e.g. loki-config.yml) so those services wont start. Information on that would be helpful. Also, the Grafana container doesn't have the port assigned to it so that starts but is inaccessible.
@Jims-Garage
@Jims-Garage 3 ай бұрын
Perhaps things have changed but it worked at the time of recording, I'll check. I'm using a reverse proxy so no ports are required for grafana, it's much nicer using fqdn with Https. Add ports if you don't want to use a proxy.
@gabrielpetry4099
@gabrielpetry4099 8 ай бұрын
i didn't get the idea on why using Prometheus with you are already using influx that has all the things, promtail there is the tail thing for influx for example
@andrebrait
@andrebrait 3 ай бұрын
Influx doesn't do alerting. Hence why Prometheus is used.
@raul230285
@raul230285 Жыл бұрын
Nice
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Self-host your own Git platform! // Gitea Tutorial
24:35
Christian Lempa
Рет қаралды 21 М.
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Christian Lempa
Рет қаралды 687 М.
Influx vs Prometheus vs Timescale
20:33
Gabriel Zimmermann
Рет қаралды 39 М.
Using Telegraf, InfluxDB, and Grafana Tutorial
15:06
InfluxData
Рет қаралды 4,2 М.
I Monitored My Network with Grafana (2024)
22:01
Antonio Persiano
Рет қаралды 9 М.
Prometheus SNMP Exporter: Network Monitoring Tutorial!
21:11
Distro Domain
Рет қаралды 10 М.
Easily Install InfluxDB, Telegraf, & Grafana with Docker
13:43
The Free and Open Source Software I Use in 2024 - Part 1
28:31
Awesome Open Source
Рет қаралды 328 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН