Reports the status of your HPB node. It reports if the node is MINING, PEERCOUNT, CURRENT BLOCKNUMBER, IF STARTED, NODE TYPE (HpNode), VERSION, BOE ADDRESS and UPLOAD/DOWNLOAD SPEED. Using this information, HPB can quickly notify you if there are any issues with your node, and get an overview of the health of the network.
How to set it up:
-
Request a password for your node. Send a message to "nicemans" on Telegram or to xxx on WeChat.
-
Install curl:
sudo apt install curl -y
- Download nodechecker.sh to your node and place it in /opt/ghpb-bin/:
sudo curl -o /opt/ghpb-bin/nodechecker.sh https://raw.githubusercontent.com/Nicemanss/nodechecker/master/nodechecker.sh
-
Open nodechecker.sh with a text editor and change the following to be correct: NODENAME, PASSWORD, BINARY, PORT (BINARY and PORT are already set to default, so no need to change them if you have not altered the configuration).
-
Run nodechecker.sh:
sudo bash /opt/ghpb-bin/nodechecker.sh
- nodechecker.sh will now report your node's status every 15 minutes and run a bandwidth test at midnight.
Using the name of your node and password obtained in step 1, you can also login to the following URLs to watch: Dashboards: https://382ac6595ff7400d9466e10bf89853a0.us-central1.gcp.cloud.es.io:9243/app/dashboards#/view/e504b420-e71d-11ea-8880-0d3256919bd5?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!f,title:Nodes,viewMode:view)
Uninstall:
rm /etc/cron.d/nodechecker