Skip to content

A script for checking Linux CLI NOIA node data, status and statistics

Notifications You must be signed in to change notification settings

anttu-t/noia-node-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

noia-node-status

A script for checking Linux CLI NOIA node data, status and statistics

Instructions to get started

Notice! This script requires that you have the NOIA node running as a Linux service. Instructions how to set up the node service can be found in this document: https://medium.com/@anttiturunen/set-up-noia-node-on-linux-df4a00635759

  1. Log in to you node command line

  2. Download the script, commands: cd ~ curl -LO https://raw.githubusercontent.com/anttu-t/noia-node-status/master/nnstat.sh

  3. Install dnsutils required for checking the external IP address: sudo apt install dnsutils

  4. Give execute rights to the script, command: sudo chmod u+x nnstat.sh

  5. Run the script (in home directory), command: ./nnstat.sh

The script output explained

Here is a sample script output of a running node with some explanations:


NOIA node data, status and statistics - Sep 23 13:57:16


Node name atu-rpi3
External IP address 2001:14bb:190:2d77:6420:ab58:7508:db95
Beneficiary address 0x406cd9b0b56f3d9c9c70ca542f0968ddfbf93c4b
System location Helsinki, Finland
Service provider DNA Oyj
Storage directory /home/pi/.noia-node/storage
Storage size 1 GB <-- The amount you have defined in node.settings
Uptime today 14 hours <- Hours diagnosed OK after midnight
Status checked OK 5 min ago <- The latest time of tested OK, should be less than 1 h
Test server address ookla.cumulustech.co.uk
Measured download speed 19 Mb/s
Measured upload speed 13 Mb/s
Network ping time 62 ms
Cumulative uptime 262 days 20 hours <-- All time uptime of this wallet address
Total downloaded 147 MB <-- All time downloadd data
Total uploaded 9 GB <-- All time uploaded data

(Legend: Green: OK/Good, Yellow: Acceptable, Red: Not OK/Poor)


If the node is not verified OK at all yet, the script also tests TCP port 8048 openness to internet. Based on the test result you get either a message:

"The node is down or not verified yet. (Can take up to 1 h)

Port 8048 tested OK"

or

"The node is down for TCP port 8048 being blocked!"

Notice! As the diagnostics by the network is run only once per hour, with a brand new node you may need to wait up to 1 hour before getting the data even though the node is working perfecly.

About

A script for checking Linux CLI NOIA node data, status and statistics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages