• 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: January 17th, 2024

help-circle
  • Dang, that’s a lot of seperate parts for 1 “simple” task

    Agree, but this setup (node-exporter + Prometheus + Grafana) allows for a lot of expansion and customization. I’m sure there are simpler tools that tell you your computer status, and it’s up to you to see which fits more your use-case.

    but just seems like there could be an easier way

    I’ve felt that way before. But in this case of node-exporter and Prometheus, it’s way simpler. You don’t even need Docker, and the installation for both tools is basically a single line that you can copy and paste from their documentation.

    Configuring Prometheus to accept node-exporter is a bit harder I admit, but again you can simply copy and paste the documentation example. The whole process should take like ~10 minutes if you follow the documentation.



  • Prometheus is a metric scrapper, it just recollects metrics from either its own computer or another one. If you want to monitor something, you also need that something to publish metrics, so they can be scrapped by Prometheus.

    Thus if you want to monitor even just a single computer, you need node-exporter to publish the metrics, and Prometheus to gather them. Then you can use Grafana to create beautiful dashboards (or use community’s), and even add alarms to it.