smd00 / healthchecker

Script to check the health of a server. Compatible with Ethereum and Bitcoin nodes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

healthchecker

Install as cron

# apt-get install git -y && apt-get install nano -y
git clone https://github.com/smd00/healthchecker.git && mv -f healthchecker ${HOME}/smdhc && cd ${HOME}/smdhc && chmod +x ./setup.sh
# customise .env.tmp and cron.tmp
sh ./setup.sh

Customise cron job

crontab -l && nano /etc/cron.d/cron
crontab /etc/cron.d/cron && crontab -l

(sudo) Customise cron job

sudo crontab -l && sudo nano /etc/cron.d/cron
sudo crontab /etc/cron.d/cron && sudo crontab -l

Run once:

sh ./check.sh ${HOME}/smdhc ignoreAlreadyRunCheck

About

Script to check the health of a server. Compatible with Ethereum and Bitcoin nodes.


Languages

Language:Shell 88.3%Language:Python 11.7%