Тёмный

Docker Dashboard Using Grafana, Prometheus & Node Exporter 

DB Tech
Подписаться 80 тыс.
Просмотров 64 тыс.
50% 1

I've been wanting to get into Grafana dashboards for a while, so here we go!
This is much easier to setup than I originally thought it would be and we can do it in about 5 steps.
Updated information here: dbt3ch.com/books/prometheus-g...
/=========================================/
Join this channel to get access to perks:
/ @dbtechyt
The hardware I'm using in my Raspberry Pi Home Server:
- Raspberry Pi 4 8GB
- Argon One M.2 Case
- Silicon Power 256GB Boot Drive
- Sabrent 2TB Rocket NVMe PCIe M.2 Storage Drive
- Sabrent USB 3.2 Tool-Free NVMe Enclosure
Currently the Argon One M.2 case is NOT currently available on Amazon, but you can get it on their website: dbte.ch/argononem2
AFFILIATE LINKS:
You can get their standard (non-M.2) Argon One case here: amzn.to/3ouFtnx
Silicon Power 256GB A55 M.2 SSD: amzn.to/2G00chM
Sabrent 2TB Rocket NVMe PCIe M.2: amzn.to/3ovZmuv
Sabrent USB 3.2 Tool-Free NVMe Enclosure: amzn.to/35xruVG
CanaKit Raspberry Pi 4 8GB: amzn.to/2FZDvKA
Porkbun .click and .link domains for $0.99!
porkbun.com Coupon Code: DBTECH
Limit 3 per customer.
Good through 12-31-2020
Sponsor Links:
www.argon40.com/
www.sabrent.com/
porkbun.com
More Raspberry Pi Home Server Videos:
• Raspberry Pi 4 Home Se...
/=========================================/
Remember to leave a like on this video and subscribe if you want to see more!
/=========================================/
Like what I do? Want to be generous and help support my channel? Here are some ways to support:
Patreon: dbte.ch/patreon
Ko-fi: dbte.ch/kofi
/=========================================/
Here's my RU-vid Merch Store:
dbte.ch/ytstore
/=========================================/
Here's my Amazon Influencer Shop Link:
Amazon: dbte.ch/amazonshop
/=========================================/
Follow Me:
Twitter: dbte.ch/tw
Facebook: dbte.ch/fb
Subscribe: dbte.ch/ytsub

Наука

Опубликовано:

 

20 дек 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 167   
@AndersQvist
@AndersQvist 3 года назад
Again, thanks for a intuitive, and easy-to-follow guide. It did of course now work the 1st time, but after some trouble-shooting a copy-paste error was discovered and now I have page showing my shiny stats!
@DBTechYT
@DBTechYT 3 года назад
Glad it helped
@kevinbreen4510
@kevinbreen4510 3 года назад
So much more modern looking than the previous rpi-monitor. Thank you!
@Farizno
@Farizno 3 года назад
Another great video. Thanks for sharing. I'm really enjoying the series.
@amiguirigillo
@amiguirigillo 3 года назад
Thanks! I really no have any idea how works, well that before see your video, thanks! keep sharing cool things like this.
@GorkemYildirim
@GorkemYildirim 3 года назад
Followed all steps, working fine. Thanks alot.
@OpiumZA
@OpiumZA 3 года назад
Thank you, all up and running!
@Matrox473
@Matrox473 3 года назад
Thank you man, was really painless to setup, nice !
@DBTechYT
@DBTechYT 3 года назад
Great to hear!
@canichos
@canichos 3 года назад
Great info! Love all your raspberry pi stuff. Im running now 27 containers on one of my rasp4 including HA, nodered, and so much more, learned a lot from you! Many thanks!
@DBTechYT
@DBTechYT 3 года назад
Good stuff!
@ColinEditz
@ColinEditz 2 года назад
Wow that sounds great! Which model of the Rasp4 do you have, how much RAM?
@canichos
@canichos 2 года назад
@@ColinEditz its a 4gb version booting directly from a very fast SSD, I don't even use a memory card, amazing results.
@ColinEditz
@ColinEditz 2 года назад
@@canichos Oh cool, awesome. I'm getting a 2Gb soon and was a little worried if I didn't need more. But if you can run that many containers on 4Gb, surely even 10 containers should be doable. Just out of curiosity, what things are you running? I currently have Homebridge (HA alternative) and Node-RED running on a Pi Zero W
@canichos
@canichos 2 года назад
@@ColinEditz currently I have, nginx, bitwarden, nodered, pihole, cloudflared, portainer, wireguard, mosquitto, zwavejs2mqtt, homeassistant, duckdns, wordpress, endlessh, heimdall, nginx_db, cloudflareddns, wordpress_db, tandoor, tandoor_db, daapd, motioneye, Samba_Server, but don't ignore a fast ssd since impact is huge on the rasp performance.
@JohanovskyT
@JohanovskyT Год назад
Thx for this guide. It helped me a lot!
@Tivrest
@Tivrest 3 года назад
The best RU-vid tuto for Grafana installing......... and it's again DB Tech. Thanks a lot friend.
@DBTechYT
@DBTechYT 3 года назад
Wow, thanks!
@TheBeardedLibertarian
@TheBeardedLibertarian Год назад
nice video, used stacks to deploy this, worked after only a few ds moves :)
@asiw
@asiw 3 года назад
Superb. Really excellent. Thank you.
@nordinekhalfoun1257
@nordinekhalfoun1257 3 года назад
A great Thanks !! Can you do a video on monitoring different hosts with prometheus and Grafana ?
@ntn888
@ntn888 2 года назад
this channel is a goldmine
@JuanaMeloUnicEducation
@JuanaMeloUnicEducation 3 года назад
Hello David, can do another video showing how to scrape data from containers? as far I could understand Node export only collects data from the host itself but not of the containers, it would be great if you create a video showing how to collect metrics of the containers
@Ladi7724
@Ladi7724 3 года назад
Awesome Tutorial quick setup.. Thanks
@jeffrisdon2803
@jeffrisdon2803 10 месяцев назад
Very Cool! Thank You!! Also love your website! All kinds of cool stuff!
@DBTechYT
@DBTechYT 10 месяцев назад
Thanks so much!
@vincent.borreux
@vincent.borreux 3 года назад
Thanks a lot. Very impressive dashboard and monitoring tool !!!!
@DBTechYT
@DBTechYT 3 года назад
Glad you like it!
@JimMTVVlogs
@JimMTVVlogs 3 года назад
Really great tutorial! I just want to ask, how can we add another server in the same dashboard? Is there an easy way doing that?
@gotelldonn
@gotelldonn 3 года назад
Great video as always!
@DBTechYT
@DBTechYT 3 года назад
I appreciate that
@lawsnewton
@lawsnewton 3 года назад
Your Pi was probably having DNS issues as I did not need to use an IP on my install. Thank you for the guide this is Awesome!!!
@neilvermeulen5283
@neilvermeulen5283 2 года назад
Thank you mate!
@majorgear1021
@majorgear1021 Год назад
I used your macvlan videos to containerize and centralize around 10 of my apps running in separate linux containers (lxc’s) on a single system. However, some remaining apps need to be Internet accessible, so I think I’ll put them on a separate node using wireguard to connect them to my internet accessible vps. So, I’ll want to have metrics from multiple systems sent to prometheus and available to grafana for “dashboarding” . Is there a video on how to set things up to monitor multiple docker nodes/hosts ? Also, a video on alerting would be great as well. While containerizing apps, found an app that hadn’t been able to connect to it’s data source for 5 months! I had no clue it was broken until I migrated it to docker.
@theRealist.
@theRealist. 3 года назад
Well done! It works perfectly!
@DBTechYT
@DBTechYT 3 года назад
Awesome!
@ronm6585
@ronm6585 3 года назад
Nice! Thank you.
@ShayneChambers
@ShayneChambers 3 года назад
Great video. I like your channel. I have prometheus running on another host in a truenas jail which has its own up address. I get the website with metrics. I have grafana running in a container on a ubuntu server. It seems that the grafana server cannot connect to node exporter in Prometheus on truenas. Any ideas why? It seems that grafana can’t connect to the external network. I’m new to docker/rancher/kubernetes. Thx bud
@zaonpt
@zaonpt 2 года назад
TYVM i love ur vids
@breakwin96
@breakwin96 3 года назад
Could you have a look at selfhosting Clockify in a docker container? would love a tutorial :)
@Seabassxb
@Seabassxb 2 года назад
Would it be possible to monitor devices not using docker ? I have a pi using steam link which can't be run in docker and would like to see performance
@BartmanMoto
@BartmanMoto 3 года назад
Hey man, how can i add my ext USB hdd mountpoint is /dev/sda1..... i cant finde a possibility
@andreaquentino1068
@andreaquentino1068 Год назад
Cool!!! Thanks!!!
@Vibe_Chex
@Vibe_Chex 2 года назад
Great video, thanks!
@DBTechYT
@DBTechYT 2 года назад
You bet!
@Farang_Lifestyles
@Farang_Lifestyles 3 года назад
awesome tutorial, thanks so much
@DBTechYT
@DBTechYT 3 года назад
Glad it was helpful!
@lb_RobotMonkey
@lb_RobotMonkey 3 года назад
How do I get access to the grafana.ini file so I can update alert info (email, slack webnooks, etc.)?
@MCSnipexLP
@MCSnipexLP 3 года назад
Thank you! worked perfect
@DBTechYT
@DBTechYT 3 года назад
Awesome! Thanks for the comment :)
@sarbajitdas4345
@sarbajitdas4345 2 года назад
Really helpful video...thanks a lot
@DBTechYT
@DBTechYT 2 года назад
Most welcome!
@gnarly3327
@gnarly3327 3 года назад
I might have done something wrong but I cant choose any job from the dashboard, even though the service is picked up by prometheus.
@marmao78
@marmao78 3 года назад
Hi DB Tech Thank you for your great content. I would like your help with a question. In your video, you have installed all software on the same server (Raspberry Pi). Let´s spouse that I have 4 different servers that I would like to monitor. I would like to monitor all of them from a single point (docker server with grafana). Should I install only node exporter in each server that I want to monitor or should I need to install Prometheus in all of them? In minute 9:41 of your video, you have a dashboard that shows several servers monitored. I would love to do the same. Do you mind sharing with us how you did it? Thank you for all your help. I´m having a lot of fun following your guides.
@DBTechYT
@DBTechYT 3 года назад
You would install Node Exporter on each of the servers you want to manage. Then you would modify the prometheus.yml file on your main server to have more lines: nano prometheus.yml global: scrape_interval: 5s external_labels: monitor: 'node' scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['192.168.68.127:9090'] ## IP Address of the localhost - job_name: 'node-exporter' static_configs: - targets: ['192.168.68.127:9100'] ## IP Address of the localhost - job_name: 'node-exporter' static_configs: - targets: ['192.168.68.128:9100'] ## IP Address of the additional computer - job_name: 'node-exporter' static_configs: - targets: ['192.168.68.129:9100'] ## IP Address of the additional computer - job_name: 'node-exporter' static_configs: - targets: ['192.168.68.130:9100'] ## IP Address of the additional computer
@delduked
@delduked 3 года назад
dang, nice video!
@DBTechYT
@DBTechYT 3 года назад
Thanks!
@BenjamineKrypton
@BenjamineKrypton Год назад
Thank You
@pieterjdw
@pieterjdw 3 года назад
Thank very much for explaining and sharing your knowledge. If I start node exporter on another system how will I pull the data in the main system with prometheus?
@DBTechYT
@DBTechYT 3 года назад
Install Node Exporter on the new server. Then, on your existing system, add an additional node-exporter line in your prometheus file that has the IP address and port for node-exporter of your new device
@usmanAli-hw5xu
@usmanAli-hw5xu 3 года назад
sir i want to monitor jitsi meet server with grafana any idea ?
@patrickgleissner3945
@patrickgleissner3945 3 года назад
Great video - spared me a lot of time. Some hickups though: 1. as of now you have to download and edit the json file to your preferred dashboard. Otherwise you just get "table-old" error reportin inside the dashboard. 2. my installation picks /dev/loop1 98M 98M 0 100% /snap/core/10577 as root partition of the node - stating it is 100% full. Certainly this is not as intended...
@Lvdnat
@Lvdnat 3 года назад
Can also turn plex into grafana. and if so could you turn this into a tutorial?
@TomasHedlund16
@TomasHedlund16 Год назад
Hello, I've tried to install node-exporter so many times now but can't get it to work. I only recieve this: docker: Error response from daemon: path / is mounted on / but it is not a shared or slave mount. Do you have any idea about what to do about that. I'm running docker in a lxc container on proxmox.
@royitoroy
@royitoroy Год назад
me too and have a proxmox too... maibe cant be install over proxmox
@kazifaisal-rj9js
@kazifaisal-rj9js 3 месяца назад
Awesome
@Teleport73
@Teleport73 Год назад
Love your content. Always clear and reliable. Could you make a short video on how to set up Grafana for local https in Docker please? I currently have many panels pulled into Home Assistant as /webpage cards, but unfortunately these won't load/display when viewed on a remote browser or the HA companion app, because the embedded links from Grafana are http. Nowhere can I find this information. Thanks.
@washingtoninf
@washingtoninf Год назад
You should use a reverse proxy such as nginx with letsencrypt free ssl and publish your cards using the front domain with https with the reverse proxy doing the job.
@majorgear1021
@majorgear1021 Год назад
@@washingtoninf Good idea. I just set up Traefik for this a few days ago. I made DNS aliases (CNAMEs) for my services, pointed them t the proxy IP, and it servers the wildcard ssl certificate and forward the connect back to the correct host on the backend. I like how it automatically renews certs as well.
@kavivarman3459
@kavivarman3459 3 года назад
I got error in prometheus >>>Warning: Error fetching server time: Detected 48578.12199997902 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results. how to solve ??????
3 года назад
Hey, thanks for the video! I tried to get Grafana dashboard on my raspberry pi 2 model B, but, when I'm trying to add an id of grafana dashboard, I get a message: "Cannot read property 'result' of undefined", so the dashboard is empty. I tried to find a solution, but I didn't find a way to fix. Maybe you can help me? Thanks!
@DBTechYT
@DBTechYT 3 года назад
No idea. I don't have a Pi 2 to test on.
@marmao78
@marmao78 3 года назад
Hi DB Tech Thank you for your great content. I have a Mikrotik router that I would like to monitor. Do you know how I could monitor the Mikrotik router and switch using Prometheus and grafana? If you have a Mikrotik device I think it will be such great content to share. Thank you for all your help.
@DBTechYT
@DBTechYT 3 года назад
You can only monitor things that have an API that you can tap into.
@datatech8813
@datatech8813 Год назад
can change prometheus port ?
@MrEric377
@MrEric377 3 года назад
Hey, I just found your channel and you have some really good content. QQ, Do you know of any software that can report\monitor on specific process / services on windows? (Processes I pick)
@DBTechYT
@DBTechYT 3 года назад
I believe you can install Node Exporter on Windows and then monitor it this same way
@BugMonsters
@BugMonsters Год назад
Interesting Video. Is it possible to monitor docker container with this as well? And is it possible to use this on a VM?
@majorgear1021
@majorgear1021 Год назад
I came here because, from the title, I though the dashboard would have docker container metrics. This is sort of useful, but since most of my apps are dockerized, I really want metrics for my containers more than the docker host.
@kurtnaslund
@kurtnaslund 3 года назад
Hello, thanks for this tutorial as well! :-) Everything worked, until I cannot for the life of me remember the username and password for my Grafana-install. What is the easiest way to reset this?
@dusty2445
@dusty2445 3 года назад
That is sweet
@thebaldfox
@thebaldfox 3 года назад
Great tutorial as always, but I cannot for the life of me get this working. I can bring up the metrics (node-exporter), and can also fire up prometheus, but when I click under service discovery, I cannot get Prometheus to pick up Node-exporter.... I created the prometheus.yml as suggested, with the applicable IP addresses, but/home/andy/docker/prometheus/prometheus.yml... can someone tell me if there's an issue with keeping it there rather than ETC? I adjust my docker stack accordingly to take into account my location, but I cannot get it to read it. Any thoughts?
@devdylan6152
@devdylan6152 3 года назад
if you are doing this for a VPS and not your pi, you should include the port 9100 into the allowed list, id suggest ip params setting it to only be accessible by the systems own IP but try it without that setting first.
@royitoroy
@royitoroy 2 года назад
Exactly the same thing happens to me, I installed it first in my virtual machine (omv6) and everything was perfect as DB says, but when I install it in my real server (OMV5) prometheus it seems that it does not take the data from node exporter under service discovery :( you already solved it ?
@TheAramis0
@TheAramis0 2 года назад
At 9:38 seeing you have few instances (node-exporter) which you can select in the drop-down menu in Instance section. My question is, so far I have 2 different Node-Exporter with State=up in Prometheus/Targets but in Grafana is showing me only 1 of 2. How did you get more nodes in the grafana dashboard ?
@DBTechYT
@DBTechYT 2 года назад
It's been a while since I did this video, but, if I remember correctly, I had to add additional lines to the .yml file... something like this I think: global: scrape_interval: 5s external_labels: monitor: 'node' scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['192.168.68.127:9090'] ## IP Address of the first host - targets: ['192.168.68.128:9090'] ## IP Address of the second host - job_name: 'node-exporter' static_configs: - targets: ['192.168.68.127:9100'] ## IP Address of the first host - targets: ['192.168.68.128:9100'] ## IP Address of the second host
@TheAramis0
@TheAramis0 2 года назад
@@DBTechYT I've added like that but still not seeing another target from another host in the dashboard. missing something in the configuration OPNSense,Prometheus or Grafana
@TheAramis0
@TheAramis0 2 года назад
OPNsense is using Telegraf with output to Prometheus, could be there something
@TheAramis0
@TheAramis0 2 года назад
Prometheus is getting the node-exporter will all data but Grafana is not seeing it :(
@MrJwan
@MrJwan Год назад
|Can I use this to montier Docker Containers Ram , Network traffic and CPU usage ?
@DBTechYT
@DBTechYT Год назад
I'm almost positive there's a way to do that, but I've never done it myself.
@robertsv539
@robertsv539 3 года назад
In the Prometheus command the second part doesn't work for me for some reason, the :/etc/prometheus/prometheus.yml prom/prometheus. Did we have to create a /etc/prometheus folder beforehand?
@DBTechYT
@DBTechYT 3 года назад
This is what happens when you don't watch the video. 4:33
@robertsv539
@robertsv539 3 года назад
@@DBTechYT Hmm, still don't see the folder creation in etc there, no worries though - just used cloud commander and copied it over manually. Now it works!
@StephenYT.
@StephenYT. 3 года назад
but this graph are static not dynamic?
@shetuamin
@shetuamin 3 года назад
Last few days i try to figure out this, but failed.
@jepeswe
@jepeswe 3 года назад
Great video as always :) Question: in the .yml file, is it possible to add other ip for example other computers running prometheus, so i can have one dashborad for all my computers.?
@DBTechYT
@DBTechYT 3 года назад
You can install this to pull data from multiple servers, but you'll need to install the node-exporter docker container on each of the servers you want to pull data from. Then your prometheus.yml file will look like this: global: scrape_interval: 5s external_labels: monitor: 'node' scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['192.168.68.127:9090'] ## IP Address of the localhost - job_name: 'node-exporter-first-server' ## You can name 'node-exporter-first-server' basically whatever you want static_configs: - targets: ['192.168.68.127:9100'] ## IP Address of the localhost - job_name: 'node-exporter-second-server' ## You can name 'node-exporter-second-server' basically whatever you want static_configs: - targets: ['192.168.68.250:9100'] ## IP Address of the localhost Just keep repeating the last section that starts with "- job_name" all the way through the targets
@DBTechYT
@DBTechYT 3 года назад
Then you can toggle between the machines on the dashboard at the top where it says "JOB". You'll be able to select the server you want in the drop down.
@Findanish
@Findanish 3 года назад
@@DBTechYT How do i install node-exporter into each of my docker container?
@DBTechYT
@DBTechYT 3 года назад
You don't. It installs on your server and monitors everything
@condor13
@condor13 3 года назад
Thanks, all up but grafana in not showing any data. Followed all your steps. prometheus works, node exporter spits out data...but dashboard on the grafana show "no data" on all of them. Thanks
@royitoroy
@royitoroy 2 года назад
Exactly the same thing happens to me, I installed it first in my virtual machine (omv6) and everything was perfect as DB says, but when I install it in my real server (OMV5) prometheus it seems that it does not take the data from node exporter :( you already solved it ?
@laneyweb
@laneyweb 3 года назад
Hey thanks for the video. I'm failing at the first hurdle I'm afraid. When I run the node explorer container on my Synology, I get this message at the end of the install: docker: "Error response from daemon: linux mounts: path / is mounted on / but it is not a shared or slave mount. " I tried Google but I cant seem to find a way to fix. Thanks!
@laneyweb
@laneyweb 3 года назад
Scrub that :) - I found this command "mount --make-rshared /" and all worked well then.
@DBTechYT
@DBTechYT 3 года назад
Awesome! Thanks for sharing your solution!!
@laneyweb
@laneyweb 3 года назад
@@DBTechYT Thank you for the video. Used Grafana at work but never thought to have it here for my personal NAS. Thanks again for all the great vids :)
@falroi
@falroi 3 года назад
I’m having this same error on a mac mini, can’t seem to figure this one out. Any suggestions?
@jamesmcaninch
@jamesmcaninch Год назад
I used the stack on the link via Portainer. When using nano to write the prometheus.yml file, I get the following error when trying to save it: [ Error writing prometheus.yml: Is a directory ]. Any idea how to get around this?
@DBTechYT
@DBTechYT Год назад
Do the following: Ssh into your server Cd to the prometheus.yml Remove it with: rm -rf prometheus.yml Then re-create the file with: nano prometheus.yml
@jamesmcaninch
@jamesmcaninch Год назад
@@DBTechYT Thanks very much for the response. That solved that problem. I now can't get any data on my Grafana dashboard, but I'll keep plugging away!
@jamesmcaninch
@jamesmcaninch Год назад
All working now :)
@itsathejoey
@itsathejoey Год назад
In my lab I use Watchtower to update my containers and when I tried running Grafana, each time it would update it would lose its config. How do you go about making Grafana persistent?
@Marchand_
@Marchand_ Год назад
Setup a link to a volume or bind mount like so: ./data/grafana:/var/lib/grafana
@itsathejoey
@itsathejoey Год назад
@@Marchand_ Think I tried that once and Grafana just didn't want to work.
@ryanbell85
@ryanbell85 3 года назад
Should I still look at using Docker with the recent deprecation news? I'm just getting started.
@DBTechYT
@DBTechYT 3 года назад
What deprecation news? I've only heard that Kubernetes isn't supporting Docker the same way moving forward.
@ryanbell85
@ryanbell85 3 года назад
@@DBTechYT yeah, kind confusing to understand the impact this news for people that have a home lab. Do you see any issues using the Docker runtime long term or should I consider using another runtime for all my docker images?
@DBTechYT
@DBTechYT 3 года назад
Docker isn't going anywhere I don't think. The only change is the Kubernetes thing, so you should be just fine.
@WisherTheKing
@WisherTheKing 3 года назад
I installed prometheus on all my nodes but I can't combine all of the data sources like yours. How did you do that? Great video btw.
@DBTechYT
@DBTechYT 3 года назад
I show the entire process in this video. Check your container logs to figure out what's going wrong
@WisherTheKing
@WisherTheKing 3 года назад
@@DBTechYT You actually are not showing that actually and that’s why I asked. Thanks anyway.
@galiehneh
@galiehneh 3 года назад
I have another server to monitor, how to add it on the same dashboard/"Instance" ?
@patrickgleissner3945
@patrickgleissner3945 3 года назад
just edit the prometheus.yml - separating the servers by colon and run node exporter on second host static_configs: - targets: ['192.168.68.127:9100','0.0.0.0:9100'] ## IP Address of the localhost
@galiehneh
@galiehneh 3 года назад
@@patrickgleissner3945 thanks
@jasonflt
@jasonflt 3 года назад
Could I suggest a complete network monitoring setup ? Step by step please
@DBTechYT
@DBTechYT 3 года назад
Did you have something specific in mind?
@jasonflt
@jasonflt 3 года назад
@@DBTechYT i was searching the other day for just a network monitoring system. I'm having ping spikes every so often through my network and wanted to see what piece of equipment was taking up bandwidth. if it could be done through dashboard and outputted in grafana would be cool. I looked but most of the stuff, well it's above my learning or knowledge of implementing it . Maybe you know of something or .......
@bobbydigital9323
@bobbydigital9323 3 года назад
Great video. Can you do a video on DiskOver?
@DBTechYT
@DBTechYT 3 года назад
Great recommendation! I'll look into it
@pablograffigna3928
@pablograffigna3928 3 года назад
Another cool video..i gonna try it in my servers..is possible get info from another server..not just from the localhost? maybe have a centralized grafana-prometheus log server???..greets from argentina!!!
@DBTechYT
@DBTechYT 3 года назад
You can install this to pull data from multiple servers, but you'll need to install the node-exporter docker container on each of the servers you want to pull data from. Then your prometheus.yml file will look like this: global: scrape_interval: 5s external_labels: monitor: 'node' scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['192.168.68.127:9090'] ## IP Address of the localhost - job_name: 'node-exporter-first-server' ## You can name 'node-exporter-first-server' basically whatever you want static_configs: - targets: ['192.168.68.127:9100'] ## IP Address of the localhost - job_name: 'node-exporter-second-server' ## You can name 'node-exporter-second-server' basically whatever you want static_configs: - targets: ['192.168.68.250:9100'] ## IP Address of the localhost Just keep repeating the last section that starts with "- job_name" all the way through the targets
@DBTechYT
@DBTechYT 3 года назад
Then you can toggle between the machines on the dashboard at the top where it says "JOB". You'll be able to select the server you want in the drop down.
@samK1XT
@samK1XT 2 года назад
How to save n limit the data to 1 year rather than beginning of the server ?
@DBTechYT
@DBTechYT 2 года назад
delete old logs?
@samK1XT
@samK1XT 2 года назад
@@DBTechYT yes delete logs that are older than 1 year to save space.....can we automate this process ?
@DrFunkBlast
@DrFunkBlast 2 года назад
i dont see the code in the description below as you mentioned in the video
@DBTechYT
@DBTechYT 2 года назад
Click the link in the description
@Yoshirocksyou
@Yoshirocksyou 2 года назад
@@DBTechYT the link below only gives us code for a docker compose witch is not on the video tutorial. Makes it kinda confusing for some viewers
@DBTechYT
@DBTechYT 2 года назад
On that page, there is a description at the top and then 2 links; one for the docker compose and one for the prometheus.yml file. I just checked and even have the page open and am looking at it right now.
@Yoshirocksyou
@Yoshirocksyou 2 года назад
@@DBTechYT at the beginning of the video you mentioned we need to install node exporter, you then paste into putty a command and follow up with “all of this will be in the description down below” i know how to use docker compose, my first statement was “this could be confusing for some viewers“
@Yoshirocksyou
@Yoshirocksyou 2 года назад
Sorry if I’m missing something or just not making sense
3 года назад
When we are using a pc, the title and the controls of the video does not let us see the top and the bottom of your video. :(
@DBTechYT
@DBTechYT 3 года назад
That sounds like an issue on your end. I have never encountered what you're talking about. Can you send me a screenshot?
@nwdsc
@nwdsc 3 года назад
I really appreciate all your hard work and help provided by your content. I put this together in a stack and got everything up and running on two different test systems. I thought I would share here in case anyone wanted to try out this method. Note that this setup still relies on the "prometheus.yml" file so the appropriate folder and file needs to be created BEFORE running the stack. Enjoy! version: '2' services: node-exporter: image: quay.io/prometheus/node-exporter:latest container_name: node-exporter restart: unless-stopped volumes: - '/:/host:ro,rslave' - /etc/localtime:/etc/localtime:ro network_mode: host command: - '--path.rootfs=/host' pid: host prometheus: image: prom/prometheus container_name: prometheus restart: unless-stopped depends_on: - node-exporter ports: - 9090:9090 volumes: - /srv/dev-disk-by-label-Files/Config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml grafana: image: grafana/grafana container_name: grafana restart: unless-stopped depends_on: - prometheus - node-exporter ports: - 9006:3000
@987we3
@987we3 4 месяца назад
Wow hello again
@DBTechYT
@DBTechYT 4 месяца назад
👋
@johndoudar6395
@johndoudar6395 Год назад
is this info still valid??
@plapbandit
@plapbandit 3 года назад
Well, this is way sexier than it has any business being
@DBTechYT
@DBTechYT 3 года назад
Right?!
@CodySmiley
@CodySmiley Год назад
No info in descryption.
@DBTechYT
@DBTechYT Год назад
Seriously? There's a link right near the top of the description that has all the info you need that I can't put in the description because RU-vid restricts what kind of stuff I can put in there.
@CodySmiley
@CodySmiley Год назад
@@DBTechYT When typing the command you said you could find it in the description, but there is nothing there (except a link with yml without a description of what it is).
@DBTechYT
@DBTechYT Год назад
This is in the description: /===========/ I've been wanting to get into Grafana dashboards for a while, so here we go! This is much easier to setup than I originally thought it would be and we can do it in about 5 steps. Updated information here: dbt3ch.com/books/prometheus-grafana-dashboard /===========/ If you click that link, you'll be taken to a page that says: /===========/ Prometheus / Grafana Dashboard After you've created the prometheus.yml file and have deployed the docker-compose, the rest of the steps are as follows: - Select DataSource on home page. Select Prometheus. - Search for: "node exporter grafana dashboards" on Google - Look for results on grafana.com - Find ID of the dashboard you like (This is the dashboard I like: grafana.com/grafana/dashboards/11074) - Import ID in Grafana /===========/ With further information of the content of both files listed below. How could I POSSIBLY make it easier? I can't put all the information in a RU-vid video description. RU-vid won't let me. So I set up a website/repository of information for viewers to get the detailed information that RU-vid won't let me put in the video descriptions. This is the same method that lots of creators use to help their viewers get the information they need. Wanna know what some other creators do? NOTHING. They leave NOTHING in the description and expect the viewer to go find the information for themselves. And, I can say this with 100% honesty, in the couple of years of doing this you are the only one who seems to take issue with it.
@DBTechYT
@DBTechYT Год назад
If I put a link in the description and you acknowledge the link but refuse to click it to get the additional information that is disclosed in the text before the link... I'm just lost on what you think the solution is...
@podakira
@podakira 3 года назад
There is a fantastic tool in SSH : bpytop
@DBTechYT
@DBTechYT 3 года назад
Just tried it on 2 different systems and got this result each time: -bash: bpytop: command not found
@podakira
@podakira 3 года назад
@@DBTechYT github.com/aristocratos/bpytop "Install python3 and git with a package manager of you choice Install psutil python module (sudo might be required) python3 -m pip install psutil"
@stefwill
@stefwill 3 года назад
Great walkthrough! I followed you exactly and everything is working as expected except Prometheus. I keep getting this error but can't seem to figure out why and my Google-fu is letting me down. level=error ts=2021-06-29T03:17:38.313Z caller=main.go:355 msg="Error loading config (--config.file=/etc/prometheus/prometheus.yml)" err="open /etc/prometheus/prometheus.yml: no such file or directory"
Далее
XBackBone File Sharing and File Management in Docker
16:43
Yacht vs Portainer - Docker Dashboard comparison!
16:16
кукинг с Даниилом 🥸
01:00
Просмотров 491 тыс.
Extreme AMPS
5:59
Просмотров 5
My new Proxmox Monitoring Tools: InfluxDB2 + Grafana
19:46
NAS vs. Home Server - What's the difference?
7:31
Просмотров 307 тыс.
Easy Raspberry Pi Projects for 2023!
10:03
Просмотров 833 тыс.
Nest.js Metrics - Prometheus & Grafana Tutorial
22:42
НЕ БЕРУ APPLE VISION PRO!
0:37
Просмотров 371 тыс.
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 2,4 млн
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн