Monitoring tool

Includes grafana server, node_exporter, prometheus, alertmanager. And dashboards.

1. Install Docker

sudo apt -q update
sudo apt -qy install ca-certificates curl gnupg lsb-release

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null

sudo apt -q update
sudo apt -qy install docker-ce docker-ce-cli containerd.io docker-compose-plugin

sudo usermod -aG docker $USER

2. Clone the repo

cd $HOME
git clone https://github.com/nodejumper-org/monitoring-tool.git

3. Create configuration files from examples

4. Start containers

5. Add your servers with installed node_exporter or installed cosmos-based node with enabled prometheus port to file prometheus/prometheus.yml

Next, install the node exporter on the server with the validator:

How to update

Telegram notifications

Server alerts

  • Server down

  • Out of memory (<10%)

  • Out of disk space (<10%)

  • Out of disk space within 24h

  • High CPU load (>85%)

Cosmos-based validator node alerts

  • Missing blocks

  • Degraded syncing (sync less than 40 blocks in last 5 min)

  • Low peers count (<5)

In order to enable telegram notifications, create your own bot and fill in the following fields in the file alertmanager/config.yml

Last updated