Monitoring - cosmos-exporter

Install cosmos-exporter on your validator instance

Binary

wget <https://github.com/solarlabsteam/cosmos-exporter/releases/download/v0.3.0/cosmos-exporter_0.3.0_Linux_x86_64.tar.gz>

tar xvfz cosmos-exporter-*

sudo cp ./cosmos-exporter /usr/bin

Configure a system service

[Unit]
Description=Cosmos Exporter
After=network-online.target

[Service]
User=<username>
TimeoutStartSec=0
CPUWeight=95
IOWeight=95
ExecStart=cosmos-exporter
Restart=always
RestartSec=2
LimitNOFILE=800000
KillSignal=SIGTERM

[Install]
WantedBy=multi-user.target

Start the service

sudo systemctl enable cosmos-exporter
sudo systemctl start cosmos-exporter

# Monitor
sudo systemctl status cosmos-exporter
sudo journalctl -fu cosmos-exporter -o cat

Monitoring - Prometheus

Install Prometheus on a separate monitoring server

1. Update the System

Update the apt package list to prepare the system for further installations.