← Back
Tech Hut July 6, 2024 29m

BEST Home Server Monitoring Setup! (Linux, Proxmox, Unraid, and more)

Read full transcript 19 segments
  1. by the end of this video we are going to by the end of this video we are going to have stunning graphs dashboards and have stunning graphs dashboards and have stunning graphs dashboards and visualizations of data and metrics for visualizations of data and metrics for visualizations of data and metrics for our Linux servers Docker containers our Linux servers Docker containers our Linux servers Docker containers unraid server proxmox and we're going to unraid server proxmox and we're going to unraid server proxmox and we're going to go through the entire process of how I go through the entire process of how I go through the entire process of how I set everything up we're going to be set everything up we're going to be set everything up we're going to be using a variety of tools including using a variety of tools including using a variety of tools including grafana Prometheus their node exporter grafana Prometheus their node exporter grafana Prometheus their node exporter influx DB and Telegraph and it may sound influx DB and Telegraph and it may sound influx DB and Telegraph and it may sound like a lot but I do have all this in a like a lot but I do have all this in a like a lot but I do have all this in a real nice stalker compos file that you real nice stalker compos file that you real nice stalker compos file that you can just go ahead and get cloned from my can just go ahead and get cloned from my can just go ahead and get cloned from my Repository it comes with the Repository it comes with the Repository it comes with the configuration files that you're going to configuration files that you're going to configuration files that you're going to need to get started and all you need to need to get started and all you need to need to get started and all you need to do is change a couple variables and do is change a couple variables and do is change a couple variables and you're good to go there's a lot here on you're good to go there's a lot here on you're good to go there's a lot here on the actual article going into the the actual article going into the the actual article going into the various applications what they do and various applications what they do and various applications what they do and how they all work together I could talk how they all work together I could talk how they all work together I could talk about this forever but that's not really about this forever but that's not really about this forever but that's not really the purpose of this but what I will say the purpose of this but what I will say the purpose of this but what I will say is there's basically three main is there's basically three main is there's basically three main components grafana is going to be the components grafana is going to be the components grafana is going to be the tool that actually visualizes the data tool that actually visualizes the data tool that actually visualizes the data that are in our databases the databases that are in our databases the databases that are in our databases the databases we're going to be using our Prometheus we're going to be using our Prometheus we're going to be using our Prometheus and influx DB and then from there we and influx DB and then from there we and influx DB and then from there we have our exporting tools whether that be have our exporting tools whether that be have our exporting tools whether that be the ACT node exporter for Prometheus or the ACT node exporter for Prometheus or the ACT node exporter for Prometheus or Telegraph which we're going to be using Telegraph which we're going to be using Telegraph which we're going to be using to export data system metrics I'll also to export data system metrics I'll also to export data system metrics I'll also note that I'm not doing this in the most note that I'm not doing this in the most note that I'm not doing this in the most secure way possible I do recommend that secure way possible I do recommend that secure way possible I do recommend that if you're going to copy this exact setup if you're going to copy this exact setup if you're going to copy this exact setup you have this in a closed private you have this in a closed private you have this in a closed private Network that nobody else can access Network that nobody else can access Network that nobody else can access because I have not yet set up https and because I have not yet set up https and because I have not yet set up https and I will update that as soon as I can on I will update that as soon as I can on I will update that as soon as I can on this article but there will be a video this article but there will be a video this article but there will be a video linked down below from Christian which linked down below from Christian which linked down below from Christian which goes over some of these steps and does goes over some of these steps and does goes over some of these steps and does show you how to enable ssf also running show you how to enable ssf also running show you how to enable ssf also running something like Prometheus and influx DB

  2. something like Prometheus and influx DB something like Prometheus and influx DB together isn't really that common of a together isn't really that common of a together isn't really that common of a practice the main reason I'm doing that practice the main reason I'm doing that practice the main reason I'm doing that is because they both generally have is because they both generally have is because they both generally have their own pros and cons I absolutely their own pros and cons I absolutely their own pros and cons I absolutely love the node exporter which works with love the node exporter which works with love the node exporter which works with Prometheus but at the same time influx Prometheus but at the same time influx Prometheus but at the same time influx DB is an absolutely beautiful DB is an absolutely beautiful DB is an absolutely beautiful application and if you're somebody who's application and if you're somebody who's application and if you're somebody who's not looking for these like really pretty not looking for these like really pretty not looking for these like really pretty customizable dashboards and you just customizable dashboards and you just customizable dashboards and you just want a really nice database that helps want a really nice database that helps want a really nice database that helps you visualize the data you could you visualize the data you could you visualize the data you could probably go with only influx DB it's all probably go with only influx DB it's all probably go with only influx DB it's all up to you and the point of building all up to you and the point of building all up to you and the point of building all this together is more of a kind of home this together is more of a kind of home this together is more of a kind of home lab environment a lab to learn to play lab environment a lab to learn to play lab environment a lab to learn to play around to have fun for this video we are around to have fun for this video we are around to have fun for this video we are going to be setting this up on Ubuntu going to be setting this up on Ubuntu going to be setting this up on Ubuntu but you could set it up just about on but you could set it up just about on but you could set it up just about on anything that will work with Docker as anything that will work with Docker as anything that will work with Docker as this is going to be a Docker composed this is going to be a Docker composed this is going to be a Docker composed stack specifically I spun up this fresh stack specifically I spun up this fresh stack specifically I spun up this fresh install right here on a proxmox virtual install right here on a proxmox virtual install right here on a proxmox virtual machine which we will be able to see machine which we will be able to see machine which we will be able to see later with in our grafana dashboard later with in our grafana dashboard later with in our grafana dashboard which is pretty cool so let's go ahead which is pretty cool so let's go ahead which is pretty cool so let's go ahead and SSH into that virtual machine there and SSH into that virtual machine there and SSH into that virtual machine there we go and again all I did on this we go and again all I did on this we go and again all I did on this machine is update it so we are literally machine is update it so we are literally machine is update it so we are literally starting from scratch here now one thing starting from scratch here now one thing starting from scratch here now one thing that we can do just to start is install that we can do just to start is install that we can do just to start is install the Prometheus node exporter cuz we're the Prometheus node exporter cuz we're the Prometheus node exporter cuz we're going to want to actually monitor the going to want to actually monitor the going to want to actually monitor the machine that we're installing all this machine that we're installing all this machine that we're installing all this on anyways and for auntu it's just going on anyways and for auntu it's just going on anyways and for auntu it's just going to be a pseudo apt install uh Prometheus to be a pseudo apt install uh Prometheus to be a pseudo apt install uh Prometheus node exporter just like that it's a node exporter just like that it's a node exporter just like that it's a really small application so it doesn't really small application so it doesn't really small application so it doesn't take too much time at all and then we take too much time at all and then we take too much time at all and then we could check to see if it's running with could check to see if it's running with could check to see if it's running with a system CTL command and we can see a system CTL command and we can see a system CTL command and we can see right here that it is active and running right here that it is active and running right here that it is active and running now other than that node exporter we're now other than that node exporter we're now other than that node exporter we're launching everything with Docker right

  3. launching everything with Docker right launching everything with Docker right here I have a link which will take you here I have a link which will take you here I have a link which will take you to this page right here this is the to this page right here this is the to this page right here this is the seven basics for beginners and this will seven basics for beginners and this will seven basics for beginners and this will go over just about everything you need go over just about everything you need go over just about everything you need to know to go to an install Docker all I to know to go to an install Docker all I to know to go to an install Docker all I need to do is get this a convenient need to do is get this a convenient need to do is get this a convenient script right here drop that on into my script right here drop that on into my script right here drop that on into my terminal run the command and it's going terminal run the command and it's going terminal run the command and it's going to install everything I need for Docker to install everything I need for Docker to install everything I need for Docker Docker compose everything like that Docker compose everything like that Docker compose everything like that additionally I am going to want to do additionally I am going to want to do additionally I am going to want to do this as a nonroot user so I'm going to this as a nonroot user so I'm going to this as a nonroot user so I'm going to add my user to the docker group that add my user to the docker group that add my user to the docker group that convenient script automatically adds the convenient script automatically adds the convenient script automatically adds the uh group Docker so all I need to do is uh group Docker so all I need to do is uh group Docker so all I need to do is add my current user to that group add my current user to that group add my current user to that group refresh our groups and now we are good refresh our groups and now we are good refresh our groups and now we are good to go now I went ahead and put all of my to go now I went ahead and put all of my to go now I went ahead and put all of my configurations the compose yml in this configurations the compose yml in this configurations the compose yml in this right here this is the uh server right here this is the uh server right here this is the uh server monitoring uh repository that I went monitoring uh repository that I went monitoring uh repository that I went ahead and built it goes over a lot of ahead and built it goes over a lot of ahead and built it goes over a lot of different steps this is a work in different steps this is a work in different steps this is a work in progress I do plan on adding a lot more progress I do plan on adding a lot more progress I do plan on adding a lot more to it including the SSL steps and things to it including the SSL steps and things to it including the SSL steps and things like that and this is just mostly a much like that and this is just mostly a much like that and this is just mostly a much lighter version of the entire article if lighter version of the entire article if lighter version of the entire article if you wanted to skip that and go straight you wanted to skip that and go straight you wanted to skip that and go straight here so to actually pull this we just here so to actually pull this we just here so to actually pull this we just want to run a git clone command let's want to run a git clone command let's want to run a git clone command let's paste that on in it's going to go ahead paste that on in it's going to go ahead paste that on in it's going to go ahead and pull all of that and now if we LS in and pull all of that and now if we LS in and pull all of that and now if we LS in this directory we can see we have our this directory we can see we have our this directory we can see we have our server monitoring folder right there so server monitoring folder right there so server monitoring folder right there so let CD into our server monitoring we let CD into our server monitoring we let CD into our server monitoring we could see how everything is structured could see how everything is structured could see how everything is structured here we have our actual compos yaml in here we have our actual compos yaml in here we have our actual compos yaml in grafana we have the data source yml grafana we have the data source yml grafana we have the data source yml within Prometheus here we have have our within Prometheus here we have have our within Prometheus here we have have our Prometheus configuration file in Prometheus configuration file in Prometheus configuration file in Telegraph we have a telegraph Telegraph we have a telegraph Telegraph we have a telegraph configuration file which this is going

  4. configuration file which this is going configuration file which this is going to be running directly on this machine to be running directly on this machine to be running directly on this machine with everything else so if there is data with everything else so if there is data with everything else so if there is data such as Docker containers and I do have such as Docker containers and I do have such as Docker containers and I do have an unraid folder this is more just extra an unraid folder this is more just extra an unraid folder this is more just extra information on if you do want to set information on if you do want to set information on if you do want to set this right here up on unraid now if I this right here up on unraid now if I this right here up on unraid now if I jump into this compose yaml file real jump into this compose yaml file real jump into this compose yaml file real quick this is where we could go ahead quick this is where we could go ahead quick this is where we could go ahead and make some edits and the main thing and make some edits and the main thing and make some edits and the main thing you're going to want to edit is under you're going to want to edit is under you're going to want to edit is under extra hosts right here where it says extra hosts right here where it says extra hosts right here where it says Docker lab going to want to put in your Docker lab going to want to put in your Docker lab going to want to put in your host name and to find that all you have host name and to find that all you have host name and to find that all you have to do is type in host name we can see to do is type in host name we can see to do is type in host name we can see mine is Docker lab so you're going to mine is Docker lab so you're going to mine is Docker lab so you're going to want to go ahead and change that to want to go ahead and change that to want to go ahead and change that to whatever yours happens to be basically whatever yours happens to be basically whatever yours happens to be basically this is going to enable them to access this is going to enable them to access this is going to enable them to access data exporters running on the host data exporters running on the host data exporters running on the host system outside of Docker by adding an system outside of Docker by adding an system outside of Docker by adding an entry to the container's Etsy host file entry to the container's Etsy host file entry to the container's Etsy host file if you do have DNS set up on your landan if you do have DNS set up on your landan if you do have DNS set up on your landan this probably isn't necessary but I this probably isn't necessary but I this probably isn't necessary but I found it to work the best for me and found it to work the best for me and found it to work the best for me and then we have our volumes here we can see then we have our volumes here we can see then we have our volumes here we can see prom data is our Prometheus dat it is prom data is our Prometheus dat it is prom data is our Prometheus dat it is going to be created as a volume and going to be created as a volume and going to be created as a volume and right here this is going to be our right here this is going to be our right here this is going to be our configuration file within our current configuration file within our current configuration file within our current working directory we have our ports here working directory we have our ports here working directory we have our ports here if you do have other Docker containers if you do have other Docker containers if you do have other Docker containers make sure you're not running containers make sure you're not running containers make sure you're not running containers on the same port you may need to change on the same port you may need to change on the same port you may need to change this part here for grafana we have our this part here for grafana we have our this part here for grafana we have our graphon data also in a volume and we graphon data also in a volume and we graphon data also in a volume and we will have access to edit the data will have access to edit the data will have access to edit the data sources if you would like to for me I'm sources if you would like to for me I'm sources if you would like to for me I'm not going to need to for influx DB we're not going to need to for influx DB we're not going to need to for influx DB we're using the Alpine version and this is using the Alpine version and this is using the Alpine version and this is also stored in a volume again if you also stored in a volume again if you also stored in a volume again if you wanted to bind it to to either a network wanted to bind it to to either a network wanted to bind it to to either a network share or directly in your host system share or directly in your host system share or directly in your host system you would want to change that right here you would want to change that right here you would want to change that right here and then for telegraph this is just and then for telegraph this is just and then for telegraph this is just running the latest version of telegraph

  5. running the latest version of telegraph running the latest version of telegraph uh refer to the unraid section if you uh refer to the unraid section if you uh refer to the unraid section if you have uh various packages or various have uh various packages or various have uh various packages or various components of your system that you want components of your system that you want components of your system that you want to monitor you may want to change this to monitor you may want to change this to monitor you may want to change this out for a modified container this is out for a modified container this is out for a modified container this is going to be running on host because to going to be running on host because to going to be running on host because to actually use this Docker container to actually use this Docker container to actually use this Docker container to monitor everything we are going to need monitor everything we are going to need monitor everything we are going to need to expose it to the root system again to expose it to the root system again to expose it to the root system again that adds some uh concerns and if you're that adds some uh concerns and if you're that adds some uh concerns and if you're not comfortable with that you can just not comfortable with that you can just not comfortable with that you can just disable this and not use it we're also disable this and not use it we're also disable this and not use it we're also giving the user in the container root giving the user in the container root giving the user in the container root privileges so that's something to keep privileges so that's something to keep privileges so that's something to keep note of as well as it can also see the note of as well as it can also see the note of as well as it can also see the docker stck as well as the root of our docker stck as well as the root of our docker stck as well as the root of our file system and then we have our file system and then we have our file system and then we have our environment and our volumes now for me environment and our volumes now for me environment and our volumes now for me this looks good I'm going to Output this this looks good I'm going to Output this this looks good I'm going to Output this now if we go over here the only other now if we go over here the only other now if we go over here the only other thing we really need to modify before we thing we really need to modify before we thing we really need to modify before we launch this is the Prometheus launch this is the Prometheus launch this is the Prometheus configuration so if I go ahead and give configuration so if I go ahead and give configuration so if I go ahead and give that a copy and paste this on in uh we that a copy and paste this on in uh we that a copy and paste this on in uh we have a lot of variables we could change have a lot of variables we could change have a lot of variables we could change the scrape interval and timeout this is the scrape interval and timeout this is the scrape interval and timeout this is how often that it's actually going to be how often that it's actually going to be how often that it's actually going to be pulling for data we have alerting stuff pulling for data we have alerting stuff pulling for data we have alerting stuff which I'm not going to get into right which I'm not going to get into right which I'm not going to get into right now we have scrape configs so we have now we have scrape configs so we have now we have scrape configs so we have pereus already in there so it's going to pereus already in there so it's going to pereus already in there so it's going to automatically show up in grafana when we automatically show up in grafana when we automatically show up in grafana when we add this and then down here we have add this and then down here we have add this and then down here we have targets we're going to just keep this as targets we're going to just keep this as targets we're going to just keep this as Local Host it should be able to grab it Local Host it should be able to grab it Local Host it should be able to grab it just fine and then right here is our uh just fine and then right here is our uh just fine and then right here is our uh node exporter Target so node exporter is node exporter Target so node exporter is node exporter Target so node exporter is the very first thing that we installed the very first thing that we installed the very first thing that we installed so just as an example example I could go so just as an example example I could go so just as an example example I could go ahead and remove this comment on Docker ahead and remove this comment on Docker ahead and remove this comment on Docker lab and that's going to go ahead and set lab and that's going to go ahead and set lab and that's going to go ahead and set it up as a Target so now our Prometheus it up as a Target so now our Prometheus it up as a Target so now our Prometheus database is going to look for this node

  6. database is going to look for this node database is going to look for this node exporter to pull data now one thing here exporter to pull data now one thing here exporter to pull data now one thing here you can see these are using host names you can see these are using host names you can see these are using host names instead of IP addresses you could just instead of IP addresses you could just instead of IP addresses you could just go ah and pop an IP address in here for go ah and pop an IP address in here for go ah and pop an IP address in here for a local uh server or service you have a local uh server or service you have a local uh server or service you have running but I'm going to Output that running but I'm going to Output that running but I'm going to Output that real quick and here within the article real quick and here within the article real quick and here within the article we have options for uh optional host we have options for uh optional host we have options for uh optional host config I'm going to go ahead and give config I'm going to go ahead and give config I'm going to go ahead and give this a copy and fire this up here so we this a copy and fire this up here so we this a copy and fire this up here so we can see our Local Host in our Docker lab can see our Local Host in our Docker lab can see our Local Host in our Docker lab one thing I'm going to do is add a one thing I'm going to do is add a one thing I'm going to do is add a comment here and do custom host names uh comment here and do custom host names uh comment here and do custom host names uh if you have this managed on a service if you have this managed on a service if you have this managed on a service throughout your network you're not going throughout your network you're not going throughout your network you're not going to need to do this but this is just to to need to do this but this is just to to need to do this but this is just to make everything pretty within our kind make everything pretty within our kind make everything pretty within our kind of metrics server here these right here of metrics server here these right here of metrics server here these right here are some of mine so I'm going to paste are some of mine so I'm going to paste are some of mine so I'm going to paste that on in make this a little prettier that on in make this a little prettier that on in make this a little prettier unraid so these are all the systems that unraid so these are all the systems that unraid so these are all the systems that I'm going to go ahead and be linking up I'm going to go ahead and be linking up I'm going to go ahead and be linking up in this video and providing custom host in this video and providing custom host in this video and providing custom host names just makes it cleaner that's the names just makes it cleaner that's the names just makes it cleaner that's the IP address and it's going to link up IP address and it's going to link up IP address and it's going to link up with this host name so let's output that with this host name so let's output that with this host name so let's output that and just give our server a quick reboot and just give our server a quick reboot and just give our server a quick reboot so now that we're back in I'm going to so now that we're back in I'm going to so now that we're back in I'm going to go back into my kind of project go back into my kind of project go back into my kind of project directory here and go back to my directory here and go back to my directory here and go back to my Prometheus Prometheus Prometheus configuration and I already have the configuration and I already have the configuration and I already have the node exporter installed on this machine node exporter installed on this machine node exporter installed on this machine so I'm just going to go ahead and so I'm just going to go ahead and so I'm just going to go ahead and uncomment that and then we will talk uncomment that and then we will talk uncomment that and then we will talk about UNR a little bit later so let's about UNR a little bit later so let's about UNR a little bit later so let's export this file now at this point we export this file now at this point we export this file now at this point we should be able to spin up our uh our should be able to spin up our uh our should be able to spin up our uh our stack here so to do that we're just stack here so to do that we're just stack here so to do that we're just going to do a Docker compose up- D for going to do a Docker compose up- D for going to do a Docker compose up- D for detach hated so we're not stuck in the detach hated so we're not stuck in the detach hated so we're not stuck in the terminal uh let's hit enter I got some terminal uh let's hit enter I got some terminal uh let's hit enter I got some fat fingers you know there we go so it's fat fingers you know there we go so it's fat fingers you know there we go so it's pulling all my packages extracting pulling all my packages extracting pulling all my packages extracting everything and you can see everything is

  7. everything and you can see everything is everything and you can see everything is running and looking good and to check I running and looking good and to check I running and looking good and to check I do recommend you jump into the logs real do recommend you jump into the logs real do recommend you jump into the logs real quick so if you do Docker compose logs quick so if you do Docker compose logs quick so if you do Docker compose logs we can see if there's any major errors we can see if there's any major errors we can see if there's any major errors or anything spitting out as of yet which or anything spitting out as of yet which or anything spitting out as of yet which I haven't completely configured I haven't completely configured I haven't completely configured everything so there might be but for now everything so there might be but for now everything so there might be but for now that is fine and then the next step is that is fine and then the next step is that is fine and then the next step is going to be going into some of our going to be going into some of our going to be going into some of our dashboards and actually set up our user dashboards and actually set up our user dashboards and actually set up our user accounts and whatnot create a bucket so accounts and whatnot create a bucket so accounts and whatnot create a bucket so first let's go ahead and set up inflex first let's go ahead and set up inflex first let's go ahead and set up inflex db2 just to triple check let's go and db2 just to triple check let's go and db2 just to triple check let's go and check our IP address of this server that check our IP address of this server that check our IP address of this server that we've installed it on we can see here we've installed it on we can see here we've installed it on we can see here it's the IP address ending in 36 and it's the IP address ending in 36 and it's the IP address ending in 36 and we're going to want to head over to we're going to want to head over to we're going to want to head over to 8086 now from here we're going to get 8086 now from here we're going to get 8086 now from here we're going to get started we're going to want to create an started we're going to want to create an started we're going to want to create an account a lot of people set up these account a lot of people set up these account a lot of people set up these account Creations within the docker account Creations within the docker account Creations within the docker composed but I find this just a little composed but I find this just a little composed but I find this just a little bit better not to have a password in the bit better not to have a password in the bit better not to have a password in the file like that but here I'm going to set file like that but here I'm going to set file like that but here I'm going to set our password for my organization name our password for my organization name our password for my organization name I'm just going to call it Tech Hut and I'm just going to call it Tech Hut and I'm just going to call it Tech Hut and the initial bucket name I'm just going the initial bucket name I'm just going the initial bucket name I'm just going to call this inflex DB as this is going to call this inflex DB as this is going to call this inflex DB as this is going to be a place that influx DB itself is to be a place that influx DB itself is to be a place that influx DB itself is going to want to store some data so going to want to store some data so going to want to store some data so let's continue from there and this right let's continue from there and this right let's continue from there and this right here this is your initial token we're here this is your initial token we're here this is your initial token we're going to be using this quite a bit to going to be using this quite a bit to going to be using this quite a bit to link this up so I do recommend you save link this up so I do recommend you save link this up so I do recommend you save this and of course you can always go in this and of course you can always go in this and of course you can always go in the admin panel later and generate new the admin panel later and generate new the admin panel later and generate new API tokens if you'd like to we just API tokens if you'd like to we just API tokens if you'd like to we just click on a quick start here and if you click on a quick start here and if you click on a quick start here and if you did want to generate new tokens tokens did want to generate new tokens tokens did want to generate new tokens tokens and do like application specific with and do like application specific with and do like application specific with more secure permissions you just go over more secure permissions you just go over more secure permissions you just go over here go to API tokens and this is the here go to API tokens and this is the here go to API tokens and this is the token that was just generated and all token that was just generated and all token that was just generated and all you need to do is click new and then do you need to do is click new and then do you need to do is click new and then do all access which the default one here is

  8. all access which the default one here is all access which the default one here is or you do custom and now we could go to or you do custom and now we could go to or you do custom and now we could go to grafana so this is going to be at the grafana so this is going to be at the grafana so this is going to be at the same IP address ending in 3000 here I same IP address ending in 3000 here I same IP address ending in 3000 here I was logged into this earlier but the was logged into this earlier but the was logged into this earlier but the default kind of password is going to be default kind of password is going to be default kind of password is going to be admin and admin and then you're going to admin and admin and then you're going to admin and admin and then you're going to want to go ahead and set up a new want to go ahead and set up a new want to go ahead and set up a new password and hit submit save that and we password and hit submit save that and we password and hit submit save that and we are in so the very first thing that are in so the very first thing that are in so the very first thing that we're going to do within grafana is we're going to do within grafana is we're going to do within grafana is configure our data sources both uh we're configure our data sources both uh we're configure our data sources both uh we're making going to make sure Prometheus is making going to make sure Prometheus is making going to make sure Prometheus is working and that inflex DB so if we go working and that inflex DB so if we go working and that inflex DB so if we go over here to the navigation menu and go over here to the navigation menu and go over here to the navigation menu and go to data sources we can see Prometheus to data sources we can see Prometheus to data sources we can see Prometheus should already be loaded in there and we should already be loaded in there and we should already be loaded in there and we are using the name server right there are using the name server right there are using the name server right there which since all these are kind of in the which since all these are kind of in the which since all these are kind of in the same Docker compost stack this uses same Docker compost stack this uses same Docker compost stack this uses Docker DNS so we could use the container Docker DNS so we could use the container Docker DNS so we could use the container names or as actual name servers in names or as actual name servers in names or as actual name servers in between each other so just to make sure between each other so just to make sure between each other so just to make sure this works we're going to hit save and this works we're going to hit save and this works we're going to hit save and test we can see we have no issues there test we can see we have no issues there test we can see we have no issues there and then let's go ahead and add a new and then let's go ahead and add a new and then let's go ahead and add a new connection this is going to be influx DB connection this is going to be influx DB connection this is going to be influx DB so let's add that add as a new data so let's add that add as a new data so let's add that add as a new data source and for this first one this is source and for this first one this is source and for this first one this is going to be proxmox now there's a lot to going to be proxmox now there's a lot to going to be proxmox now there's a lot to learn about inflex DB for this actual learn about inflex DB for this actual learn about inflex DB for this actual proxmox data we're going to be using the proxmox data we're going to be using the proxmox data we're going to be using the inflex ql language if you use flux a lot inflex ql language if you use flux a lot inflex ql language if you use flux a lot of the dashboards don't work but some of of the dashboards don't work but some of of the dashboards don't work but some of them are really awesome we'll talk about them are really awesome we'll talk about them are really awesome we'll talk about that later and using influx ql is only that later and using influx ql is only that later and using influx ql is only really going to pull one of the buckets really going to pull one of the buckets really going to pull one of the buckets so let's do HTTP and then send this to so let's do HTTP and then send this to so let's do HTTP and then send this to inflex DB at the Port 886 for this we

  9. inflex DB at the Port 886 for this we inflex DB at the Port 886 for this we are going to skip our TSL verify and are going to skip our TSL verify and are going to skip our TSL verify and this is going to be our proxmox bucket this is going to be our proxmox bucket this is going to be our proxmox bucket for the password here we're going to for the password here we're going to for the password here we're going to copy that key from earlier paste that on copy that key from earlier paste that on copy that key from earlier paste that on in this is going to be a get we can see in this is going to be a get we can see in this is going to be a get we can see here our data source is working with here our data source is working with here our data source is working with zero measurements found and that's zero measurements found and that's zero measurements found and that's because we went ahead and created that because we went ahead and created that because we went ahead and created that fresh bucket so now we have our first fresh bucket so now we have our first fresh bucket so now we have our first bit of data sources here it's looking bit of data sources here it's looking bit of data sources here it's looking good this right here is the first good this right here is the first good this right here is the first dashboard that we're going to be dashboard that we're going to be dashboard that we're going to be grabbing for that node exporter that we grabbing for that node exporter that we grabbing for that node exporter that we already set up if you don't know there already set up if you don't know there already set up if you don't know there are a huge variety of dashboards if I go are a huge variety of dashboards if I go are a huge variety of dashboards if I go over here this right now is sorted by over here this right now is sorted by over here this right now is sorted by downloads you can see there are a ton of downloads you can see there are a ton of downloads you can see there are a ton of different dashboards a lot of the most different dashboards a lot of the most different dashboards a lot of the most downloaded ones are for Prometheus if downloaded ones are for Prometheus if downloaded ones are for Prometheus if you wanted to go through and see exactly you wanted to go through and see exactly you wanted to go through and see exactly what you need and what services you want what you need and what services you want what you need and what services you want to spin up but just to start we are to spin up but just to start we are to spin up but just to start we are going to go with the most popular going to go with the most popular going to go with the most popular dashboard and that is node exporter full dashboard and that is node exporter full dashboard and that is node exporter full when you see a dashboard that you want when you see a dashboard that you want when you see a dashboard that you want all you need to do is go down here copy all you need to do is go down here copy all you need to do is go down here copy the id2 clipboard and then we can jump the id2 clipboard and then we can jump the id2 clipboard and then we can jump back over to Gana go over to dashboards back over to Gana go over to dashboards back over to Gana go over to dashboards we're going to go new and we're going to we're going to go new and we're going to we're going to go new and we're going to import a dashboard just paste in the ID import a dashboard just paste in the ID import a dashboard just paste in the ID right here and then click on load now right here and then click on load now right here and then click on load now this is going to bring up the options uh this is going to bring up the options uh this is going to bring up the options uh I'm just going to call this node I'm just going to call this node I'm just going to call this node exporter right here and then we're going exporter right here and then we're going exporter right here and then we're going to select our data source for this this to select our data source for this this to select our data source for this this is going to be our perthus data source is going to be our perthus data source is going to be our perthus data source so let's select that click on import and so let's select that click on import and so let's select that click on import and boom let's make this a little bit bigger boom let's make this a little bit bigger boom let's make this a little bit bigger real quick so we can see what is going real quick so we can see what is going real quick so we can see what is going on here this is data from the uh on here this is data from the uh on here this is data from the uh nexcloud server that I spun up that I nexcloud server that I spun up that I nexcloud server that I spun up that I already installed the node exporter on already installed the node exporter on already installed the node exporter on earlier so you can see it automatically

  10. earlier so you can see it automatically earlier so you can see it automatically pulls everything we have our CPU or CPU pulls everything we have our CPU or CPU pulls everything we have our CPU or CPU busy RAM used a bunch of different busy RAM used a bunch of different busy RAM used a bunch of different information we could go down here and go information we could go down here and go information we could go down here and go into these individual panels of just a into these individual panels of just a into these individual panels of just a ton of different things and metrics we ton of different things and metrics we ton of different things and metrics we have system processes here you can have system processes here you can have system processes here you can actually see what is going on how the actually see what is going on how the actually see what is going on how the CPUs are splitting up workloads I mean CPUs are splitting up workloads I mean CPUs are splitting up workloads I mean just an absolute comical amount of stuff just an absolute comical amount of stuff just an absolute comical amount of stuff that we're able to visualize on here and that we're able to visualize on here and that we're able to visualize on here and I just imported this so there's not a I just imported this so there's not a I just imported this so there's not a lot of data but as this kind of fills lot of data but as this kind of fills lot of data but as this kind of fills and it truly does look beautiful and we and it truly does look beautiful and we and it truly does look beautiful and we did do two of these so if I go all the did do two of these so if I go all the did do two of these so if I go all the way back up to the top from nexcloud if way back up to the top from nexcloud if way back up to the top from nexcloud if I go to my Docker lab we can see the I go to my Docker lab we can see the I go to my Docker lab we can see the actual system utilization on this actual system utilization on this actual system utilization on this virtual machine that we have a grafana virtual machine that we have a grafana virtual machine that we have a grafana Prometheus and all that spun up on and I Prometheus and all that spun up on and I Prometheus and all that spun up on and I mean if this is all you need all you mean if this is all you need all you mean if this is all you need all you need to install is grafana Prometheus need to install is grafana Prometheus need to install is grafana Prometheus and the node exporter and you're you're and the node exporter and you're you're and the node exporter and you're you're good to go at this point now unrate here good to go at this point now unrate here good to go at this point now unrate here is another thing that I would like to is another thing that I would like to is another thing that I would like to Monitor and to do this all you need to Monitor and to do this all you need to Monitor and to do this all you need to do is go to apps and they have a really do is go to apps and they have a really do is go to apps and they have a really nice schnazzy Prometheus node exporter nice schnazzy Prometheus node exporter nice schnazzy Prometheus node exporter that you could grab right here you can that you could grab right here you can that you could grab right here you can see I already have it installed all you see I already have it installed all you see I already have it installed all you got to do is install it make sure that got to do is install it make sure that got to do is install it make sure that any Docker container containers aren't any Docker container containers aren't any Docker container containers aren't using the port that this uses and I am using the port that this uses and I am using the port that this uses and I am going to go back into the Prometheus going to go back into the Prometheus going to go back into the Prometheus yaml file and add my unrate instance yaml file and add my unrate instance yaml file and add my unrate instance which is right here output that all we which is right here output that all we which is right here output that all we need to do now is restart the uh Docker need to do now is restart the uh Docker need to do now is restart the uh Docker compose so we just go Docker compose

  11. compose so we just go Docker compose compose so we just go Docker compose restart it's going to go ahead and restart it's going to go ahead and restart it's going to go ahead and restart all those containers we should restart all those containers we should restart all those containers we should now see the unraid under host click on now see the unraid under host click on now see the unraid under host click on that and here is unraid this one does that and here is unraid this one does that and here is unraid this one does take a little bit longer to actually take a little bit longer to actually take a little bit longer to actually kind of start pulling data but it does kind of start pulling data but it does kind of start pulling data but it does and soon it will be beautiful now if and soon it will be beautiful now if and soon it will be beautiful now if this and all this data is all you need this and all this data is all you need this and all this data is all you need that's all that you could stop here you that's all that you could stop here you that's all that you could stop here you got Prometheus you got the node got Prometheus you got the node got Prometheus you got the node exporters and this dashboard running exporters and this dashboard running exporters and this dashboard running you're good to go you can monitor your you're good to go you can monitor your you're good to go you can monitor your systems but I am not done I want to systems but I am not done I want to systems but I am not done I want to monitor this right here I want to monitor this right here I want to monitor this right here I want to Monitor proxmox and we already have the Monitor proxmox and we already have the Monitor proxmox and we already have the data source in Gana plus proxmox has its data source in Gana plus proxmox has its data source in Gana plus proxmox has its own exporter for a metric server built own exporter for a metric server built own exporter for a metric server built into it that sends data to uh DB and to into it that sends data to uh DB and to into it that sends data to uh DB and to get to that all we need to do is go over get to that all we need to do is go over get to that all we need to do is go over here to Data Center scroll down to here to Data Center scroll down to here to Data Center scroll down to metric server see I have a test right metric server see I have a test right metric server see I have a test right there let's just ignore that and then there let's just ignore that and then there let's just ignore that and then from here with nothing there we're going from here with nothing there we're going from here with nothing there we're going to go ahead and add and we're going to to go ahead and add and we're going to to go ahead and add and we're going to go influx DB if you prefer graphite and go influx DB if you prefer graphite and go influx DB if you prefer graphite and you want to kind of experiment and play you want to kind of experiment and play you want to kind of experiment and play around with it you could test that out around with it you could test that out around with it you could test that out but let's go inflex and here I'll call but let's go inflex and here I'll call but let's go inflex and here I'll call it Docker lab because that's where this it Docker lab because that's where this it Docker lab because that's where this data is going to be exported to and here data is going to be exported to and here data is going to be exported to and here this isn't on that same machine so I'm this isn't on that same machine so I'm this isn't on that same machine so I'm going to actually need to use the IP going to actually need to use the IP going to actually need to use the IP address in this case so it's going to be address in this case so it's going to be address in this case so it's going to be at 36 and we are going to use the HTTP at 36 and we are going to use the HTTP at 36 and we are going to use the HTTP protocol for now our organization is protocol for now our organization is protocol for now our organization is Tech Hut our bucket is going to be Tech Hut our bucket is going to be Tech Hut our bucket is going to be proxmox and proxmox and proxmox and then we got our API key then we got our API key then we got our API key here pop that on in and before I hit

  12. here pop that on in and before I hit here pop that on in and before I hit create I'm going to jump over here to my create I'm going to jump over here to my create I'm going to jump over here to my buckets go into proxmox and you can see buckets go into proxmox and you can see buckets go into proxmox and you can see there's absolutely no data found oh there's absolutely no data found oh there's absolutely no data found oh almost forgot this is on the P 8086 so almost forgot this is on the P 8086 so almost forgot this is on the P 8086 so let's go ahead and click create and let's go ahead and click create and let's go ahead and click create and there we go if there was a connection there we go if there was a connection there we go if there was a connection issue it would have told you right here issue it would have told you right here issue it would have told you right here so now if I refresh this it might not so now if I refresh this it might not so now if I refresh this it might not populate right away uh procm oh yep it's populate right away uh procm oh yep it's populate right away uh procm oh yep it's there so we have a bunch of different there so we have a bunch of different there so we have a bunch of different stuff and one thing that's really cool stuff and one thing that's really cool stuff and one thing that's really cool is if you just want simple graphs and is if you just want simple graphs and is if you just want simple graphs and kind of be able to explore data this kind of be able to explore data this kind of be able to explore data this might be good enough for you so if I go might be good enough for you so if I go might be good enough for you so if I go like CPU stats for example go CPUs prox like CPU stats for example go CPUs prox like CPU stats for example go CPUs prox Mox hit submit we can see data start to Mox hit submit we can see data start to Mox hit submit we can see data start to show up let's go let's open up something show up let's go let's open up something show up let's go let's open up something with a little bit more variability maybe with a little bit more variability maybe with a little bit more variability maybe memory memory used and hit submit there memory memory used and hit submit there memory memory used and hit submit there we go so we can see this kind of start we go so we can see this kind of start we go so we can see this kind of start to populate here but let's get let's get to populate here but let's get let's get to populate here but let's get let's get a really nice dashboard so this right a really nice dashboard so this right a really nice dashboard so this right here is the dashboard that I like to use here is the dashboard that I like to use here is the dashboard that I like to use for proxmox we go and just grab this ID for proxmox we go and just grab this ID for proxmox we go and just grab this ID from here and then go straight over to from here and then go straight over to from here and then go straight over to dashboards we're going to import a new dashboards we're going to import a new dashboards we're going to import a new dashboard so paste that in Hit hit load dashboard so paste that in Hit hit load dashboard so paste that in Hit hit load for this we're going to go with proxmox for this we're going to go with proxmox for this we're going to go with proxmox for inflex database source and you can for inflex database source and you can for inflex database source and you can rename it if you want to but I am going rename it if you want to but I am going rename it if you want to but I am going to go import and here we go I'm missing to go import and here we go I'm missing to go import and here we go I'm missing the clock panel I'll probably try to add the clock panel I'll probably try to add the clock panel I'll probably try to add that into the docker compos to that into the docker compos to that into the docker compos to automatically install that but you go automatically install that but you go automatically install that but you go and edit just about anything you see and edit just about anything you see and edit just about anything you see here so just to get rid of these I just here so just to get rid of these I just here so just to get rid of these I just hit remove remove and there we go then I hit remove remove and there we go then I hit remove remove and there we go then I could drag this around and really play

  13. could drag this around and really play could drag this around and really play with it how I see fit up here we have with it how I see fit up here we have with it how I see fit up here we have our server proxmox storage local we can our server proxmox storage local we can our server proxmox storage local we can add the local VM and then under add the local VM and then under add the local VM and then under interfaces here we could add all of our interfaces here we could add all of our interfaces here we could add all of our interfaces so now if we scroll down we interfaces so now if we scroll down we interfaces so now if we scroll down we can see just about everything that's can see just about everything that's can see just about everything that's going on we have our lxc containers all going on we have our lxc containers all going on we have our lxc containers all of those spun up and displaying data we of those spun up and displaying data we of those spun up and displaying data we could see the current memory usage our could see the current memory usage our could see the current memory usage our VM usage we have our actual dis read VM usage we have our actual dis read VM usage we have our actual dis read writes between all of our various writes between all of our various writes between all of our various containers and virtual machines just containers and virtual machines just containers and virtual machines just really a whole bunch of awesome data now really a whole bunch of awesome data now really a whole bunch of awesome data now that we can see in grafana for proxmox that we can see in grafana for proxmox that we can see in grafana for proxmox so that is so that is so that is truly beautiful and the very next thing truly beautiful and the very next thing truly beautiful and the very next thing we're going to set up is Telegraph and we're going to set up is Telegraph and we're going to set up is Telegraph and we're going to be using this to monitor we're going to be using this to monitor we're going to be using this to monitor our Docker containers and what we're our Docker containers and what we're our Docker containers and what we're going to want to do is head over to our going to want to do is head over to our going to want to do is head over to our terminal and actually edit our Telegraph terminal and actually edit our Telegraph terminal and actually edit our Telegraph configuration here right now at least configuration here right now at least configuration here right now at least pulled from this repository I only have pulled from this repository I only have pulled from this repository I only have it configured to monitor Docker but I do it configured to monitor Docker but I do it configured to monitor Docker but I do have some uh systemwide variables that have some uh systemwide variables that have some uh systemwide variables that you could go to uncomment if you do want you could go to uncomment if you do want you could go to uncomment if you do want that data included this isn't a full that data included this isn't a full that data included this isn't a full tutorial on how to use Telegraph but I tutorial on how to use Telegraph but I tutorial on how to use Telegraph but I will leave links to documentation on all will leave links to documentation on all will leave links to documentation on all these different plugins but for at least these different plugins but for at least these different plugins but for at least this initial setup the only thing we this initial setup the only thing we this initial setup the only thing we should need to configure right here is should need to configure right here is should need to configure right here is our outputs plugin sending the data to our outputs plugin sending the data to our outputs plugin sending the data to influx DB version 2 and since this is influx DB version 2 and since this is influx DB version 2 and since this is all in the same stack this right here all in the same stack this right here all in the same stack this right here this host name is going to work but we this host name is going to work but we this host name is going to work but we are going to need to paste our token are going to need to paste our token are going to need to paste our token right into here so let's paste that we

  14. right into here so let's paste that we right into here so let's paste that we have your org this is going to be Tech have your org this is going to be Tech have your org this is going to be Tech Hut now for bucket I'm going to need to Hut now for bucket I'm going to need to Hut now for bucket I'm going to need to create a new one cuz I do want want a create a new one cuz I do want want a create a new one cuz I do want want a lot of this data separated I'm going to lot of this data separated I'm going to lot of this data separated I'm going to call this local Docker save that out call this local Docker save that out call this local Docker save that out close it and then we can head over here close it and then we can head over here close it and then we can head over here let's go to our buckets and then make a let's go to our buckets and then make a let's go to our buckets and then make a new one let's create a bucket for our new one let's create a bucket for our new one let's create a bucket for our local Docker local Docker and also never local Docker local Docker and also never local Docker local Docker and also never probably isn't generally a good idea probably isn't generally a good idea probably isn't generally a good idea depending on your dis space I like to go depending on your dis space I like to go depending on your dis space I like to go 90 days personally so let's create that 90 days personally so let's create that 90 days personally so let's create that and now with our new bucket here and the and now with our new bucket here and the and now with our new bucket here and the configuration done let's just go ahead configuration done let's just go ahead configuration done let's just go ahead and restart our compose to sync with our and restart our compose to sync with our and restart our compose to sync with our new configuration and now depending on new configuration and now depending on new configuration and now depending on how quick it's going to work it signed how quick it's going to work it signed how quick it's going to work it signed me out let's go ahead and go back in and me out let's go ahead and go back in and me out let's go ahead and go back in and here we are we got Dockers so if we go here we are we got Dockers so if we go here we are we got Dockers so if we go in here we could see like n CPUs Docker in here we could see like n CPUs Docker in here we could see like n CPUs Docker lab let's submit that and we're getting lab let's submit that and we're getting lab let's submit that and we're getting some data now within grafana we're going some data now within grafana we're going some data now within grafana we're going to want to add a new connection I'm to want to add a new connection I'm to want to add a new connection I'm going to save our dashboard real quick going to save our dashboard real quick going to save our dashboard real quick and this is going to be another influx and this is going to be another influx and this is going to be another influx DB Source but this time we going to go DB Source but this time we going to go DB Source but this time we going to go flux now flux Works a little bit flux now flux Works a little bit flux now flux Works a little bit different it can read all the buckets so different it can read all the buckets so different it can read all the buckets so I'm just going to leave this this as I'm just going to leave this this as I'm just going to leave this this as influx DB but I'll call it flux flux is influx DB but I'll call it flux flux is influx DB but I'll call it flux flux is currently in beta I do recommend you currently in beta I do recommend you currently in beta I do recommend you kind of go through and read this if you kind of go through and read this if you kind of go through and read this if you would like to so with this flux we're would like to so with this flux we're would like to so with this flux we're going to paste in our influx DB URL for going to paste in our influx DB URL for going to paste in our influx DB URL for HTTP I'm going to get rid of basic HTTP I'm going to get rid of basic HTTP I'm going to get rid of basic authentication and we're going to skip authentication and we're going to skip authentication and we're going to skip TLS for now and right here we're going TLS for now and right here we're going TLS for now and right here we're going to fill in our organization our token to fill in our organization our token to fill in our organization our token and you can set a default bucket if

  15. and you can set a default bucket if and you can set a default bucket if you'd like to this one is going to be you'd like to this one is going to be you'd like to this one is going to be Docker lab for our default and then we Docker lab for our default and then we Docker lab for our default and then we can save and test and we can see we have can save and test and we can see we have can save and test and we can see we have five buckets found which is good so we five buckets found which is good so we five buckets found which is good so we are going to get the docker monitoring are going to get the docker monitoring are going to get the docker monitoring dashboard let's give this double click dashboard let's give this double click dashboard let's give this double click copy that and then go over here to our copy that and then go over here to our copy that and then go over here to our dashboards import a new one paste this dashboards import a new one paste this dashboards import a new one paste this on in and click load for this I'm going on in and click load for this I'm going on in and click load for this I'm going to go ahead and rename it so it's a to go ahead and rename it so it's a to go ahead and rename it so it's a little bit prettier and then go with little bit prettier and then go with little bit prettier and then go with influx DB flux as our source let's influx DB flux as our source let's influx DB flux as our source let's import that and here we are now our import that and here we are now our import that and here we are now our bucket we are going to want to go to one bucket we are going to want to go to one bucket we are going to want to go to one of these specifically our local Docker of these specifically our local Docker of these specifically our local Docker bucket and we can see it is filling up bucket and we can see it is filling up bucket and we can see it is filling up so if I open up all these we have data so if I open up all these we have data so if I open up all these we have data woo this is our local machine the only woo this is our local machine the only woo this is our local machine the only thing I have running is in that composed thing I have running is in that composed thing I have running is in that composed so you can see we have inflex db2 so you can see we have inflex db2 so you can see we have inflex db2 Prometheus grafana and Telegraph all Prometheus grafana and Telegraph all Prometheus grafana and Telegraph all running and I can see a nice overview of running and I can see a nice overview of running and I can see a nice overview of their actual system resources including their actual system resources including their actual system resources including Network usage memory CPU and dis Usage Network usage memory CPU and dis Usage Network usage memory CPU and dis Usage Now from there I want to go ahead and Now from there I want to go ahead and Now from there I want to go ahead and pull the actual Docker containers pull the actual Docker containers pull the actual Docker containers running in my unraid instance here as running in my unraid instance here as running in my unraid instance here as well as set up a whole separate unraid well as set up a whole separate unraid well as set up a whole separate unraid container now this part was difficult to container now this part was difficult to container now this part was difficult to say the least to get set up and working say the least to get set up and working say the least to get set up and working I actually made a whole separate uh kind I actually made a whole separate uh kind I actually made a whole separate uh kind of a readme repository page of of a readme repository page of of a readme repository page of everything that I needed to do to get everything that I needed to do to get everything that I needed to do to get this working and now that it is working this working and now that it is working this working and now that it is working and I know what to do it's actually a and I know what to do it's actually a and I know what to do it's actually a pretty straightforward process first

  16. pretty straightforward process first pretty straightforward process first what we need to do is download this what we need to do is download this what we need to do is download this right here this is our Telegraph right here this is our Telegraph right here this is our Telegraph configuration for unrate specifically configuration for unrate specifically configuration for unrate specifically you go and customize the interval and you go and customize the interval and you go and customize the interval and all that if you would like to we have all that if you would like to we have all that if you would like to we have our inputs for Docker but this one for our inputs for Docker but this one for our inputs for Docker but this one for unraid has a lot of other variables for unraid has a lot of other variables for unraid has a lot of other variables for a dashboard that I'm going to import a a dashboard that I'm going to import a a dashboard that I'm going to import a little bit later this includes CPU disk little bit later this includes CPU disk little bit later this includes CPU disk disio a whole bunch of different things disio a whole bunch of different things disio a whole bunch of different things you can even get your UPS in here if you you can even get your UPS in here if you you can even get your UPS in here if you actually have that set up and there's actually have that set up and there's actually have that set up and there's some information on trying to help you some information on trying to help you some information on trying to help you set up Nvidia if you're interested set up Nvidia if you're interested set up Nvidia if you're interested obviously you are going to have to edit obviously you are going to have to edit obviously you are going to have to edit this right here jumping into my UNR this right here jumping into my UNR this right here jumping into my UNR dashboard the first thing you're going dashboard the first thing you're going dashboard the first thing you're going to want to do is navigate over to app to want to do is navigate over to app to want to do is navigate over to app data and create this Telegraph folder I data and create this Telegraph folder I data and create this Telegraph folder I actually need to update this actually need to update this actually need to update this configuration so I'm going to go ahead configuration so I'm going to go ahead configuration so I'm going to go ahead and give it a quick delete head back and give it a quick delete head back and give it a quick delete head back over here and actually download this raw over here and actually download this raw over here and actually download this raw file you can see it's completed there so file you can see it's completed there so file you can see it's completed there so I'm going to go into my local terminal I'm going to go into my local terminal I'm going to go into my local terminal and edit this real fast and then the and edit this real fast and then the and edit this real fast and then the only thing I am going to need to change only thing I am going to need to change only thing I am going to need to change for now is down here in my outputs uh for now is down here in my outputs uh for now is down here in my outputs uh plug-in I'm going to create a new bucket plug-in I'm going to create a new bucket plug-in I'm going to create a new bucket called unraid I'm going to change this called unraid I'm going to change this called unraid I'm going to change this and then paste in our token and for this and then paste in our token and for this and then paste in our token and for this I am going to use an IP address instead I am going to use an IP address instead I am going to use an IP address instead of a host name so this is 10.0.0 dot of a host name so this is 10.0.0 dot of a host name so this is 10.0.0 dot this right here is the IP address that this right here is the IP address that this right here is the IP address that we've been connecting to for the we've been connecting to for the we've been connecting to for the dashboards and whatnot so let's output dashboards and whatnot so let's output dashboards and whatnot so let's output that and then upload it here so there it that and then upload it here so there it that and then upload it here so there it is let's go ahead and upload that into is let's go ahead and upload that into is let's go ahead and upload that into unraid now if you don't know I'm unraid now if you don't know I'm unraid now if you don't know I'm actually using this file manager right actually using this file manager right actually using this file manager right here in unraid to actually kind of here in unraid to actually kind of here in unraid to actually kind of navigate through the web UI if you were

  17. navigate through the web UI if you were navigate through the web UI if you were curious but from there to actually grab curious but from there to actually grab curious but from there to actually grab this what you need to do is go over here this what you need to do is go over here this what you need to do is go over here search for Telegraph and they do have an search for Telegraph and they do have an search for Telegraph and they do have an official image we're not going to use official image we're not going to use official image we're not going to use that official image I already pulled it that official image I already pulled it that official image I already pulled it and have it running so if I go over to and have it running so if I go over to and have it running so if I go over to Docker and I go to Telegraph let's just Docker and I go to Telegraph let's just Docker and I go to Telegraph let's just edit this so you can kind of see what I edit this so you can kind of see what I edit this so you can kind of see what I did here name Telegraph one thing you're did here name Telegraph one thing you're did here name Telegraph one thing you're going to want to switch out the going to want to switch out the going to want to switch out the repository we're using go lift's image repository we're using go lift's image repository we're using go lift's image here this right here is a modified image here this right here is a modified image here this right here is a modified image of telegraph that includes some extra of telegraph that includes some extra of telegraph that includes some extra tools I spent so much time trying to get tools I spent so much time trying to get tools I spent so much time trying to get the official image to work after a the official image to work after a the official image to work after a couple hours I gave up and ended up couple hours I gave up and ended up couple hours I gave up and ended up finding this so includes some extra finding this so includes some extra finding this so includes some extra packages that do make monitoring unraid packages that do make monitoring unraid packages that do make monitoring unraid significantly prettier and some significantly prettier and some significantly prettier and some modifications to the pseudo file so we modifications to the pseudo file so we modifications to the pseudo file so we can actually access the plugins in that can actually access the plugins in that can actually access the plugins in that configuration if I go over here to configuration if I go over here to configuration if I go over here to Advanced view real fast we could see Advanced view real fast we could see Advanced view real fast we could see some more information so you're going to some more information so you're going to some more information so you're going to want to change the repository URL we're want to change the repository URL we're want to change the repository URL we're going to add some extra parameters going to add some extra parameters going to add some extra parameters giving our user on the container access giving our user on the container access giving our user on the container access to the docker sock and do make sure you to the docker sock and do make sure you to the docker sock and do make sure you switch this over to bash so this command switch this over to bash so this command switch this over to bash so this command here will actually run and other than here will actually run and other than here will actually run and other than that that's all at least in my setup that that's all at least in my setup that that's all at least in my setup that I needed to do obviously make sure that I needed to do obviously make sure that I needed to do obviously make sure if you do have a different path for your if you do have a different path for your if you do have a different path for your configuration you edit that here and configuration you edit that here and configuration you edit that here and then spin up the container in my then spin up the container in my then spin up the container in my instance since I updated the instance since I updated the instance since I updated the configuration I'm going to go ahead and configuration I'm going to go ahead and configuration I'm going to go ahead and give it a restart after first I make the give it a restart after first I make the give it a restart after first I make the uh actual bucket so let's go to buckets uh actual bucket so let's go to buckets uh actual bucket so let's go to buckets this is going to be create bucket unraid

  18. this is going to be create bucket unraid this is going to be create bucket unraid older than 90 days create so now in this older than 90 days create so now in this older than 90 days create so now in this unraid bucket we currently see nothing unraid bucket we currently see nothing unraid bucket we currently see nothing but if we go back over here and restart but if we go back over here and restart but if we go back over here and restart this container and make sure it's all this container and make sure it's all this container and make sure it's all working good which it seems to be we working good which it seems to be we working good which it seems to be we have a successful connection when it have a successful connection when it have a successful connection when it comes to setting up uh metric stuff logs comes to setting up uh metric stuff logs comes to setting up uh metric stuff logs and Docker are going to be your and Docker are going to be your and Docker are going to be your absolutely best friend so let's close absolutely best friend so let's close absolutely best friend so let's close that out if we go back to the data that out if we go back to the data that out if we go back to the data exporter give it a nice little refresh exporter give it a nice little refresh exporter give it a nice little refresh here go over to UNR oh boy do we have here go over to UNR oh boy do we have here go over to UNR oh boy do we have all the data you can see all of our all the data you can see all of our all the data you can see all of our Docker stuff here as well as all those Docker stuff here as well as all those Docker stuff here as well as all those plugins to monitor the uh specific plugins to monitor the uh specific plugins to monitor the uh specific hardware and everything I just did is hardware and everything I just did is hardware and everything I just did is going to be here you can see the extra going to be here you can see the extra going to be here you can see the extra parameters the repository and now if I parameters the repository and now if I parameters the repository and now if I go back here this is our Docker go back here this is our Docker go back here this is our Docker dashboard so if I give this a quick dashboard so if I give this a quick dashboard so if I give this a quick refresh under bucket we should now see refresh under bucket we should now see refresh under bucket we should now see unraid so if I click on that we have all unraid so if I click on that we have all unraid so if I click on that we have all of our containers for the viewing now of our containers for the viewing now of our containers for the viewing now this is our Graff dashboards I found this is our Graff dashboards I found this is our Graff dashboards I found this one to be the best working one for this one to be the best working one for this one to be the best working one for how I set this up and and all that so how I set this up and and all that so how I set this up and and all that so from here let's copy that ID and before from here let's copy that ID and before from here let's copy that ID and before we import that dashboard let's go over we import that dashboard let's go over we import that dashboard let's go over here and add a new connection let's go here and add a new connection let's go here and add a new connection let's go inflex DB add as a new source this is inflex DB add as a new source this is inflex DB add as a new source this is going to use the influx ql fill this in going to use the influx ql fill this in going to use the influx ql fill this in just how we did before with our skip TLS just how we did before with our skip TLS just how we did before with our skip TLS verify and this is going to be verify and this is going to be verify and this is going to be specifically our unraid database pop in specifically our unraid database pop in specifically our unraid database pop in our API token we're going to get this our API token we're going to get this our API token we're going to get this and then save and test we can see we and then save and test we can see we and then save and test we can see we found the 20 measurements beautiful so

  19. found the 20 measurements beautiful so found the 20 measurements beautiful so now in dashboards let's goe and import now in dashboards let's goe and import now in dashboards let's goe and import it which is this one right here let's it which is this one right here let's it which is this one right here let's load it and then let's use oh I forgot load it and then let's use oh I forgot load it and then let's use oh I forgot to rename it it's this one though I to rename it it's this one though I to rename it it's this one though I normally would rename the actual normally would rename the actual normally would rename the actual connection to unraid this is our unraid connection to unraid this is our unraid connection to unraid this is our unraid system dashboard let's import it and system dashboard let's import it and system dashboard let's import it and there we go I don't have my UPS setup so there we go I don't have my UPS setup so there we go I don't have my UPS setup so I'm just going to popop minimize that I'm just going to popop minimize that I'm just going to popop minimize that for now look how stunning this uh for now look how stunning this uh for now look how stunning this uh dashboard is for unraid uh we have all dashboard is for unraid uh we have all dashboard is for unraid uh we have all of our CPU usage with all the different of our CPU usage with all the different of our CPU usage with all the different cores we have the CPU packages and what cores we have the CPU packages and what cores we have the CPU packages and what is taking up what more CPU information is taking up what more CPU information is taking up what more CPU information including the per core temps uh load including the per core temps uh load including the per core temps uh load limits go down here to memory and limits go down here to memory and limits go down here to memory and network stuff we have our diss this was network stuff we have our diss this was network stuff we have our diss this was just imported so it's not going to say just imported so it's not going to say just imported so it's not going to say anything here but we have growth history anything here but we have growth history anything here but we have growth history storage consumption smart chart's not storage consumption smart chart's not storage consumption smart chart's not working yet I still haven't yet uh working yet I still haven't yet uh working yet I still haven't yet uh figured out this part completely but I figured out this part completely but I figured out this part completely but I just end up uh getting rid of these for just end up uh getting rid of these for just end up uh getting rid of these for now until I do have it figured out going now until I do have it figured out going now until I do have it figured out going down here we got our dis wrs read wrs down here we got our dis wrs read wrs down here we got our dis wrs read wrs and this is all just data from the last and this is all just data from the last and this is all just data from the last what is that like 5 minutes or so so what is that like 5 minutes or so so what is that like 5 minutes or so so it's already pulling a lot of different it's already pulling a lot of different it's already pulling a lot of different metrics and just visually this is metrics and just visually this is metrics and just visually this is beautiful there's so much more to learn beautiful there's so much more to learn beautiful there's so much more to learn there's so much more I need to do to there's so much more I need to do to there's so much more I need to do to like kind of secure this and it's a lot like kind of secure this and it's a lot like kind of secure this and it's a lot so again that full guide and GitHub page so again that full guide and GitHub page so again that full guide and GitHub page will be linked down below and within will be linked down below and within will be linked down below and within those there will be links to all kinds those there will be links to all kinds those there will be links to all kinds of documentations to learn more and uh of documentations to learn more and uh of documentations to learn more and uh with all that I do hope you have an with all that I do hope you have an with all that I do hope you have an absolutely beautiful day and goodbye

Summary

This tech transcript details how to set up stunning data visualizations for Linux servers, Docker containers, and other home lab systems using tools like Grafana, Prometheus, InfluxDB, and Telegraf. The practical takeaway is to clone the provided Docker Compose file, adjust a few variables, and access your visually rich dashboards, with a recommendation to secure the setup to a private network.

View original episode ↗