How to graph the resource usage of servers?

Sorry if this is a dumb question… I don’t even know the correct terms to google for.

Is there an easy way to have different machines report their usage level to a single place. From there, is there a good tool to graph that information on a single page?

At this point, I am interested in tracking memory usage, CPU usage, and storage usage across a proxmox server and two different NASs, one Synology and one qnap.

Even just the correct keywords to search for would be appreciated.

To answer my own question. There seems to be a good example at https://github.com/Mbarmem/Grafana.Dashboard

1 Like

I haven’t looked into it yet, but I’ve seen people use Grafana for this use-case.

1 Like

Thanks,

This ranks pretty high on my accidental home lab priorities. I would be nice to have a single pane of glass to show memory, cpu, and storage consumption across all of my servers. Then if something seems to be nearing capacity I can shift things around or buy more of a specific resource.

I’ll go though the link I posted above a see what I can figure out. But, to be honest, I like your video style. They feel like they bring me up to the necessary level to understand have the various parts of a system fit together before I get down in the weeds.

David

1 Like

I’m hoping to cover this topic as well as centralized logging as soon as I can. There’s some things I’ll catch up on and I’ll try to see where everything fits into my schedule. Sometimes the production quality going up can slow me down a bit, so I’m trying to figure out how to automate some of my video production so I can be quicker to cover topics.

Great.

The last time I really played with my network was in the early 2000’s when the NSLU2 came out and flashing router firmware was all the rage. Then, life and work seemed to take over.

Home labs and home networking (and google search) are now at a stage where one can set up a surprising polished system with just a few hours per week. Most importantly, for me, the tools are good enough that when something goes wrong I can find the issue or a least revert the change until I get some time to look into things.

1 Like

Grafana, InfluxDB, and Telegraf.

Telegraf is the agent you install on the host to push metrics into InfluxDB. Telegraf has a huge config file, but is very easy to configure. Grafana is the dashboard engine.

I installed all three on a Debian server last week and used Ansible to install Telegram on 4 VM’s. Then I configured Telegram. Had everything up an running within 20 minutes. I did, however, have to configure /etc/telegraf/telegraf.conf to enable network interface monitoring and specify the name of the interface you want to monitor.

Here is the article I used to perform the install and configuration:

2 Likes

I’m personally using Grafana and Prometheus as Docker containers, with prometheus-node-exporter running on each machine I’m monitoring. This works very well for me. :blush:

1 Like

Thanks,
I appreciate the suggestion. I’ll check out Prometheus.

Unless I am mistaken, monitoring and reporting seem to be one of the things that users and companies are often willing to pay to do correctly. I went through the Graylog homelab episode over the weekend and go a good feeling for how that works.

1 Like

Depending on your needs, but, many of the heavy hitters have already been mentioned in this thread. The traditional ELK Stack (Producers, Storage, Processors, Grapher’s ) is a good starting point.

I ran across this one and bookmarked it some time back due to it’s Jupyter Notebook / Spark components.

I wouldn’t say it’s an entry level approach, but it certainly covers a lot of ground in the logging / analytics space.

1 Like

Thanks, I’ll look into it.

I am thinking that I spent a ton of time working on getting the home/free versions of a vmware based infrastructure working. While it might be great in a large network, it was overly complex for my basic needs (and basic hardware.)

Proxmox meets my needs/willingness to deal with complexity almost perfectly. I am kind of hoping there is a similar type of monitoring tool.

For monitoring anything, Zabbix is an excellent tool and will run on a raspberry pi.

ELK or Splunk is a bit advanced. If you are new to monitoring, I’d recommend starting off with Grafana or Zabbix. But there are other tools out there. Nagios is popular as well.

I’ve been working in the application and network monitoring area for the past 15 years, so let me know if I can help.

1 Like

If anyone else is learning along…

There is an excellent explanation of the Prometheus Architecture at How Prometheus Monitoring works | Prometheus Architecture explained - YouTube

I am going to try to set up a simple monitoring system that monitors my Proxmox server, my primary Synology NAS, my remote backup NAS, and my primary laptop with a couple of different systems.

As odd as it seems, my goal is a ‘set it and forget it’ system where I can trust my network is chugging along without any intervention by me.

Going to set up prometheus based system today… will try zabbix asap.

1 Like

Prometheus is also very popular and Grafana integrates very well it.

I like Grafana quite a bit. I was thinking of setting that up on my servers (which usually leads to a video) but I’ve gotten quite a bit behind schedule at the moment.

2 Likes

I’m currently running Grafana and InfluxDB from a VM, but they both run great on a RPi-4.

1 Like

I would be interested in a video using Grafana and how to setup own graphs. More specifically, what things should we make available at a glance, given the limited “above the fold” space.

I made my own Home Screen, using the Prometheus Node Exporter Full Dashboard as a template.

This has basic stats for my machines, as well as basic HDD and ZFS stats. And I link directly to the Node Exporter Full Dashboard for more detailed information.

2 Likes