Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.
/ OT-NodeWatch Public archive

A collection of scripts for OriginTrail Nodes

Notifications You must be signed in to change notification settings

calr0x/OT-NodeWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

OT-NodeWatch

IMPORTANT : This repository does not support docker nodes

You must follow the instructions on OT-Settings repository before proceeding here

A collection of scripts to monitor your OriginTrail Nodes

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.

This collection includes:

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).

Manual installation:

Log into server as root.

apt install jq
cd
git clone https://github.com/calr0x/OT-NodeWatch.git

bid_check:

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

disk_check:

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

About

A collection of scripts for OriginTrail Nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages