Skip to content

Nano Node Monitor is a server-side PHP-based monitor for a Nano node.

License

Notifications You must be signed in to change notification settings

amani1104/nanoNodeMonitor

 
 

Repository files navigation

Nano Node Monitor

GitHub release StyleCI Docker Pulls

Nano Node Monitor is a server-side PHP-based monitor for Nano and Banano nodes. It connects to a running node via RPC and displays it's status on a simple webpage. Being server-side, it does not expose the RPC interface of the Nano node to the public.

Light

Dark

Banano

Prerequisites

  • Running Nano Node with RPC enabled (Tutorial)

  • Webserver with PHP (Tutorial)

  • PHP-Curl Module

    sudo apt-get install php-curl

Installation

In your empty webserver directory, e.g. /var/www/html, execute:

git clone https://github.com/NanoTools/nanoNodeMonitor .

If you want it to run a subdirectory remove the . at the end.

In the modules folder, create your own config file by executing:

cp config.sample.php config.php

You will have to add your node's account to the config file config.php by modifying the following lines. Make sure to remove the // in front of $nanoNodeAccount:

// account of this node 
$nanoNodeAccount = 'xrb_1f56swb9qtpy3yoxiscq9799nerek153w43yjc9atoaeg3e91cc9zfr89ehj'; 

If you are running a standalone node you might need to modify the IP-address and the port for the RPC in the file config.php. It should match the corresponding entries in ~/RaiBlocks/config.json, e.g.

// ip address for RPC (default: [::1])
$nanoNodeRPCIP   = '127.0.0.1';

// ip address for RPC (default: 7076)
$nanoNodeRPCPort = '7076';

Updating

Switch to your installation directory and execute git pull.

Creating a Theme

If you're interested in creating your own theme in addition to the official Light, Dark, and Banano themes, we've made it very simple for you to do so. Check out the Wiki for more info.

Links

Support

Feel free to change your representative to the Nano Node Monitor Rep xrb_1f56swb9qtpy3yoxiscq9799nerek153w43yjc9atoaeg3e91cc9zfr89ehj to support further decentralization within the Nano network. In case of problems, please send an issue.

Donations to the development of Nano Node Monitor are very welcome to: xrb_1nanomon9uycemhgonue4twmcqmsu7oxw43maro8amj751ozpus8r8gsic48

Have fun! :)

About

Nano Node Monitor is a server-side PHP-based monitor for a Nano node.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.4%
  • PHP 18.3%
  • CSS 3.6%
  • HTML 2.3%
  • Other 0.4%