This is a simply node and network consensus monitor for dektop Windows users. I like this kind of solutions as it always shows me the data I need, but doesn't take up too much of my display.
You can find the latest version on github: LiskDelegateMonitor
v1.0 is an update of my earlier Lisk Delegate Monitor script. There will be no new releases after this (unless bug fixes needed), as I already started working on a different solution, that will show more data, and better, will do lisk.log analysis and will offer options like enable disable forging with a button. It will also have an alarm and failover solution.
It will be called Lisk Node Monitor.
This version will show:
- Your basic delegate information
- Your nodes current height and if they have forging enabled (Letters (F)orging (N)ot forging or (U)unknown beside your node names)
- Height consensus on the network. It's a good indicatior if a node of yours is experiencing a problem
- A message if one of your nodes is behind on block (optional)
- A sound file can also be played on this event (optional)
- It can be set that this only happens if the forging node is behind
Notes for update:
Removed event notification.
Cleaned up the code, should be final version (other than bug fixes)
A more advanced version of this tool will be developed with the name of "Lisk Node Monitor"Installation
Just install Autohotkey
and you can start running the script. Or you can use the compiled exe, or compile it yourself with the tool provided with AHK install. Please note that Autohotkey is Windows only (Although there is a Wine port for it, you are welcome to try it.About usage:
- The first start will generate a settings.ini. Edit this for settings. Please note, that any time you edit settings.ini you have to reload/restart the script if it's already running, for the new settings to take effect. (I'll make some easier settings handling at some point.)
- There are a few parameters that you "should" provide for the script to show everything it could.
- Your delegate username (delegatename)
- Your node addresses, with port if needed (nodeurl)Some additional notes:
The app (or script) is written in Autohotkey. If you don't know it, AHK is an open-source automation language. I used it for various reasons:
- AHK has a very simply syntax. Even if you don't know it, it's very easy to read the code. So anyone can verify that nothing sinister is in the code.
- You can run it as source, no need to compile (but you can do it with a simple GUI tool included in the install folder). Just install Autohotkey and can run any .ahk file.
- I made the code as easily followable and simple as possible, with losts of comments. You can find comments after ";" (semicolon) that is the default comment flag for AHK
- I'm not a developer by trade and this is the language that I know best (it made my daily life much easier for years now)
- As I usually code just for myself, my code may not be as error-toleran as it should be. Provide me feedback, if you run into any problems, I'll correct it as soon as possible.
- If you run into a bug, let me know, I'll fix it as soon as possible.
- If you have a feature request or improvement idea, I'd like to hear it. Maybe I'll prioritize it and you get in sooner.
(See my delegate candidacy thread
. VOTE for Vega)