Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reecepbcups/cosmos-node-monitor

Get alerts if your Cosmos node falls out of sync
https://github.com/reecepbcups/cosmos-node-monitor

Last synced: about 2 months ago
JSON representation

Get alerts if your Cosmos node falls out of sync

Awesome Lists containing this project

README

        

# Node Monitor

A script to monitor the status of your Cosmos server nodes relative to the rest of the network.

Discord notifications if there are errors:
- server is down
- node is down
- node has falled out of sync relative to other public nodes

## Supports
- Multiple personal nodes (good to test DNS & direct IP)
- Multiple references (compare against other public nodes)
- COnfigure allowed block drift / sway (5 blocks default)

## Installation

```bash

# Ubuntu
# sudo apt-get install python3-pip

# --break-system-packages is required on newer python versions if not using a python env
pip3 install -r requirements.txt --break-system-packages
sudo pip3 install -r requirements.txt --break-system-packages
```

## Usage

```bash

# edit with your discord webhook url & servers to monitor & compare against
cp config.example.json config.json

# crontab -e
# Every 15 minutes:
# */15 * * * * /usr/bin/python3 /root/cosmos-node-monitor/main.py

```