Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/reecepbcups/cosmos-node-monitor
- Owner: Reecepbcups
- Created: 2023-11-28T21:20:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-29T00:20:06.000Z (about 1 year ago)
- Last Synced: 2024-04-14T22:51:03.679Z (8 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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```