Monitor Server with Prometheus and Grafana

grafana dashboard

Prometheus is used an open source software, that can collect metrics and alerting. You can download latest version oof Prometheus from https://prometheus.io/download/ Create a user useradd –no-create-home –system –shell /bin/false prometheus Download and Install prometheus cd /usr/local/src wget https://github.com/prometheus/prometheus/releases/download/v2.31.0-rc.1/prometheus-2.31.0-rc.1.linux-amd64.tar.gz tar xvf prometheus-2.31.0-rc.1.linux-amd64.tar.gz cd prometheus-2.31.0-rc.1.linux-amd64 mv prometheus /usr/local/bin/ mv promtool /usr/local/bin/ mkdir /etc/prometheus mkdir /var/lib/prometheus mv … Read more

Configure Munin Node

To install munin node on Ubuntu/Debian, run apt install -y munin-node To configure, edit file vi /etc/munin/munin-node.conf Find allow ^127\.0\.0\.1$ Below this line, you need to add IP of your Munin Master. You need to convert IP to regular expression format before adding. For example, if your IP is 88.212.32.35, you need to add allow … Read more