Ultimate Guide: Installing Prometheus and Grafana in UnRaid for Stunning Dashboards!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right so today what we want to do is we want to look at our dashboard and you know this is a pretty plain looking dashboard um I really want to spice it up with Prometheus and gaana so I did some research on it and I came across this U article like up here where it's underr data monitoring with Prometheus and Gana and I really like how that dashboard looks and I really want to kind of mimic that so so basically I'm going to go through this um tutorial here and kind of show you how I um set mine up so let's get started all right so the first thing we want to do is grab gaana so to grab Gana we'll go over to our apps and then we're just going to type in Gana and then once I have Gana I always like to get the official builds so I'll just go ahead and hit install and one of the things that I like to do is my network type um I made a custom one to um show metrics so I'll just go ahead and um put that in there for my network type just to keep all my metrics on the same network and we go down here and we look and then here's one thing that we need to do is change this py1 to our server name so if you look mine's um on 2.79 so I have that listed down here and we'll just go ahead and hit apply and then installing Gana is going to be that simple and we'll just wait till this is done all right so we're done we'll just go and hit done right now all right so the next thing we want to do is to look for Prometheus and then once we find pentheus here's the official build we'll go ahead and hit this and we'll hit install and we'll go down here the only thing I'm going to change is my network type to my custom metrics type and we'll go down here and we'll hit apply and we'll just wait for that to be done all right so now that that's done we'll just hit done here and we'll go back and look at um Prometheus and what we're going to do is we're going to look for this um node exporter so looking at this it's a plugin uh that's gathered from my UNR system and provide it to the Prometheus database so we're just going to hit install here and once that's done we'll just go ahead and hit on done and we'll move on to the next step all right so looks like our next step we got this um Prometheus file that we can download and once it's downloaded we will add this to our app data Prometheus um ET PC um folder so let's go ahead and do that now all right so we'll have our download folder um over here and we'll just hit the Prometheus gamma file and it's going to downloaded so once it's downloaded what we need to do is we'll just um end up double clicking it here and then right here what we need to change is where this says your unraid IP so I'm going to put my IP in there so I know it say 1921 16279 and I'm just going to go ahead and um save it and once I'm saved I'll just exit out of it and then I can move this download screen over go back to my apps and then go over here where it says um shares we go to our app data we'll go to Prometheus we'll go to the ETC file and then we'll go ahead and we'll hit upload and then we'll upload that yaml file that we edited and hit open and then from here what we're going to end up doing is going back over to our Docker containers and we'll be able to start Prometheus so we'll go ahead and hit start and if I thing go well it'd be um started all right so now that we got it started what we're going to do is going to go over here and I'll go to the web UI and here we have like no data is queried yet but that's okay so what we're gonna end up doing is go up here to status and then we'll hit targets and we'll have two different targets down here and what we want to do is um we want to know that we have our targets here we know that they're up and looks like we need to go to our Docker page and start the gaana web UI so let's go ahead and start the kafana web UI and it's going to ask for your user ID and password so by default is admin and admin we're going to go ahead and log in and then it's going to to ask us to put in a new password so we'll go ahead and do that now all right so now that we're in gaana what we want to do is go over here and hit the add data sources and then we're going to go to Prometheus so we'll go ahead and click on that and then we're going to keep everything the same and right here we have our htpp Local Host 9090 so what we're going to end up doing is we look at our Prometheus over here we have it already up here we can go ahead and copy that uh you know we have it down here too but we're just going to copy it from up here and then um don't click the 91,000 you want the 990 so we'll go back over here to the data source and I'm just going to click paste that in there and I'm going to take out the slash we don't do the slash behind there and then we're just going to go down here and we're going to hit save and test and it says everything is uh successful all right so since we have successo query the Prometheus API we can go up here and if we click this dashboard like right here these are some preset dashboards that's inside um inside Gana itself so if I go and hit import for example and I click on this this gives me some data information like right here in a preconfigured dashboard but you was like you know wait a minute you know we wanted that nice dashboard so we're going to get there so what we're going to doing is we'll go back to our dashboards um here we'll go back to our home and I went too far back so I'm just going to hit this um data sources tab right here and we're going to go back and this is the same one where we hit save and touch then it's right there just to show you where we're at but what you want to do is you want to go up here and hit this build a dashboard um up here so if I click on that now I have the chance to import a dashboard so if I import a dashboard I go over here and I type in 1860 which is the nice dashboard that um we showed at the beginning of the video um from the tutorial and we just is going to hit load and then we're just going to make sure that we select Prometheus as our um data source and we're just going to go ahead and hit import and there we are we got that nice you know that nice data uh so it has all the information that you can possibly want out of your server and down here you have additional information that we can set there and drop down and see different um information on your um un raid um so this is kind of nice and stuff um you can sit there play with it and customize it so I'd kind of like to see what you know other people end up creating um I'll probably play with this and create something you know myself I just wanted something to get up there kind of quick and dirty but um let's see how we can set there and customize this stuff in the future so all right well that's it so you know please like And subscribe and helps out the channel a lot so thank you
Info
Channel: MadTc Tech
Views: 2,056
Rating: undefined out of 5
Keywords: homelab, home, lab, mad, tc, madtc74, madtc, unraid, grafana, promethiu, docker, visuliation, viz, logs, node, insight, graph, dashboard, plugin, plug, yml, yaml, DataVisualization, NodeExporter, exporter, Tutorial, techTutorial, servermonitoring, Containerization, DataAnalytics, DevOps
Id: QTQuOr5WO-M
Channel Id: undefined
Length: 9min 30sec (570 seconds)
Published: Mon Mar 04 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.