BWS-monitor

PHP script designed to monitor your master-node(s) by using RPC API of BWS daemon. It uses apache, php and curl.

Requirements

  • Have a BWS node running
  • Install dependencies (as root):
apt-get install apache2 libapache2-mod-php php php-curl unzip
service apache2 restart
  • Open your firewall port 80
ufw allow 80/tcp

Install

  • Unzip files in /var/www/html/ (default apache2 path) :
cd /var/www/html/ # Default apache2 server path
wget https://github.com/mining4altcoins/bws_monitor/releases/download/1.0.0.0/bws_monitor.zip
unzip bws_monitor.zip
rm bws_monitor.zip # We don't need that anymore
  • Edit configuration (rpc_user and rpc_password)
nano /var/www/hmtl/config.php

Features

  • Masterode status
  • Last Paid
  • Balance
  • Auto-refresh
  • Check Status and Last Paid of several Nodes
  • Explorer links

Important

  • Edit config.php (rpc_user & rpc_password)
  • BWS-monitor now uses curl to make RPC request, it can be done locally or remotely and is much safer than older method (php shell_exec)

Example

Feel free to Donate

  • BWS : CysLLmV8qpwCq6j6LeFjBqUUjSBhXGRG8j