NIS-Monitor script

Hi, guys, Although NEM Infrastructure Service is robust, your node still sometime run into unsync status on NEM network.
try this script on Github
https://github.com/KevinZhanNEMChina/NIS-Keeper
NEM has provided a great web based API that I, a Linux sysadmin can easily call for.
This is a Linux shell script. There are two basic functions
1、Try to restart if NIS crashes
2、If your NIS lags 10 blocks or more behind your neighbor, and has been up over 3 hours. The script assume that your NIS faces unsync problem. The script will delete your NIS blockchain database and download a newest packed up db from bob.nem.ninja to help keep sync quickly and safely.
WARNING:If you are a supernode, please simultaneously use the servant keeper shell script.
The NIS server must be adjust to be compatible with the script

There is also a easy way to setup a new node on the README page.

2 Likes