An easy setup to instantly get a powerful monitoring tool for all your validation nodes.
command -v docker >/dev/null || (curl -fsSL https://get.docker.com | sudo sh)
cd $HOME && git clone https://github.com/nodesynctop/Monitoring-Tool.git
cd Monitoring-Tool && sudo nano prometheus/prometheus.yml
your_ip:port
# Replace with the IP address and port of your Tendermint node
sudo docker compose up -d
default user: admin
default password: admin
You can change the password after your first login.
Use http://prometheus:9090
as the Prometheus server URL for your setup. This is the default URL to access the Prometheus web interface, which is running within Docker.
Open the Prometheus Configuration File
cd $HOME/Monitoring-Tool && sudo nano prometheus/prometheus.yml
Add Multiple Nodes
scrape_configs:
- job_name: 'tendermint'
static_configs:
- targets:
- 'your_ip1:port' # Replace with the IP address and port of the first Tendermint node
- 'your_ip2:port' # Replace with the IP address and port of the second Tendermint node
- 'your_ip3:port' # Replace with the IP address and port of the third Tendermint node
Save and Restart Prometheus
docker compose restart prometheus
docker stop grafana prometheus node_exporter
docker rm grafana prometheus node_exporter