PHP script designed to monitor XUEZ CLI daemon
PHP script designed to monitor your master-node(s) by using RPC API of XUEZ daemon.
It uses apache, php and curl.
- apt-get install apache2 libapache2-mod-php php php-curl unzip
- service apache2 restart
- ufw allow 80/tcp
- cd /var/www/html/ # Default apache2 server path
- wget https://github.com/dirtyak/xuez_monitor/archive/master.zip
- unzip master.zip
- rm master.zip # We don't need that anymore
- nano /var/www/hmtl/config.php