Skip to content

Noriade/nyx_monitor

 
 

Repository files navigation

nyx-monitor

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

Requirements

  • Have a NYX 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/nrenault/nyx_monitor/archive/master.zip
unzip master.zip
rm master.zip # We don't need that anymore
  • Create and edit configuration (rpc_user and rpc_password)
cp /var/www/hmtl/config.php.example /var/www/hmtl/config.php
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)
  • NYX-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

  • NYX : NfShqok1Zq9nncuqNXr5rhFcGhgcYQLCRk
  • Ethereum : 0x69a7a99f938Afaa0a6B9982D93eceB5C5ca9ACc2
  • Bitcoin : bc1qqfyhj66lp5pzzxm9vrgfmeppzf8h858ac7s4qe
  • Binance Smart Chain : 0x69a7a99f938Afaa0a6B9982D93eceB5C5ca9ACc2
  • Solana : CW53Yc3hE16Y21RHW8Vxa8bJMgtVvhxbUG9oFkmZKNxz

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.0%
  • Hack 6.0%