IMPORTANT : This repository does not support docker nodes
You must follow the instructions on OT-Settings repository before proceeding here
All monitor scripts will notify you through Telegram anytime an issue arises.
For instance, if bid_check.sh doesn't see your node bid on a job within 1 hour, it will send you a Telegram message.
bid_check:
- Checks the logs for "Accepting" which indicates a bid. Checks every hour by default (changeable).
- Checks the logs for "ve been chosen" which indicates an awarded job. Checks every hour by default (changeable).
disk_check:
- Checks the disk space used every day by default (changeable).
Log into server as root.
apt install jq
cd
git clone https://github.com/calr0x/OT-NodeWatch.git
Default check is every hour.
crontab -e
Press '1' (if asked) to select nano as the editor.
0 * * * * /root/OT-NodeWatch/bid_check.sh
ctrl+s
ctrl+x
Default check is once a day.
crontab -e
Press '1' (if asked) to select nano as the editor.
0 0 * * * /root/OT-NodeWatch/disk_check/disk_check.sh
ctrl+s
ctrl+x
Read the commented info inside each script for more details
nano /root/OT-NodeWatch/bid_check.sh
nano /root/OT-NodeWatch/disk_check.sh
when done,
ctrl+x