How to Monitor an Ubuntu Server with Grafana & Prometheus

Grafana is an open source metric analytics & visualization tool which can help us to monitor the system with a nice Dashboard.

Step 1: Installing Grafana

Grafana is available in the APT packages repository, however it could not be the latest version, so we’ll use the official Grafana repository.

First, it is needed to create the file /etc/apt/sources.list.d/grafana.list and add the following into it:

deb https://packages.grafana.com/oss/deb stable main

There is a separate repository for beta releases:

deb https://packages.grafana.com/oss/deb beta main

Then it is needed to add the GPG Key, in order to install signed packages:

$ curl https://packages.grafana.com/gpg.key | sudo apt-key add -

Continue reading How to Monitor an Ubuntu Server with Grafana & Prometheus