jaimehgb / LiskDelegateWatcher

Monitor lisk delegates in real time and get notified about their downtimes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LiskDelegateWatcher


Overview

If you run a Lisk Delegate this may be useful for you. Basically, this script will send you an SMS whenever your delegate misses a block. This way, if your node stops running or something you'll know it instantly, potentially missing less blocks and money than the ones you would without this service.
You'll also be notified if your delegate stops being among the top 101 lisk delegates.

Installation and requirements

  • Your system will need to have PHP >= 5.3.0
  • Clone this repo where you want to have it
  • Install Composer if you don't have it already
  • Then run composer require twilio/sdk
  • And ... done

How to configure and run it

You'll need a twilio account, with a phone number able to send messages to the country you want to send messages. At config.php you can set all the settings to make it work. Each option is greatly explained there :D
To run it: php daemon.php
You might want to use screen or nohup to send it to the background.

Misc

Feel free to suggest changes and updates, to contribute, to test the script, to use it, to whatever ... If you find any issue let me know too and I'll try to fix it. You are more than welcome to fix it yourself and open a pull request :D (hehe)
And yeah

About

Monitor lisk delegates in real time and get notified about their downtimes.

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%