Code Monkey home page Code Monkey logo

olton / mina-node-monitor Goto Github PK

View Code? Open in Web Editor NEW
58.0 6.0 12.0 3.46 MB

Mina Monitor is an extended graphical version of the mina client status command with additional indicators. This is a client-server application for visual monitoring of the validator node and alerts and restart (if need) when the node has a problem.

License: MIT License

Less 6.07% HTML 16.23% JavaScript 77.40% Dockerfile 0.30%
mina-node mina-monitor mina-server validator js javascript html nodejs client-server proxy-server

mina-node-monitor's Introduction

Mina Node Monitor

Mina Monitor is an extended graphical version of the mina client status command with additional indicators. This is a client-server application for visual monitoring of the validator node and alerts when the node has a problem.

Thanks to

Support Me

You can support me with donation MINA to address:

B62qnyk1g4S6zCxg9p4gorrFgZQv61BnhPkQ6s2uSrYd1fxD2qLTrG2

Or PayPal to address:

[email protected]

Key Features

Monitor Client:

  • Display of the main indicators of the Mina network (Block height, uptime, epoch and slot info)
  • Displaying the status of the node daemon (SYNCED, CATCHUP, BOOTSTRAP, ...)
  • Displaying the health of node (OK, Fork, Hanging)
  • Displaying the server resources consumed by the node (CPU, RAM, NETWORK)
  • Displaying the balance of the specified address and the value of this balance in different currencies
  • Displaying information about delegations to the specified validator address
  • Displaying information about blocks won and rewards received in the current era
  • Displays general information about the site server
  • Convenient live graphs for displaying consumed resources
  • Responsive interface (It is comfortable to look at both PC and phone and tablet)

Cluster Client:

  • Anything that a simple client displays, plus
  • Displaying the status of several (up to 3) nodes on one page
  • Cyclic bypass of nodes, polling of general information for the address is carried out sequentially from synchronized nodes
  • Displaying the response rate of a GraphQL node to the main request

You can find Monitor Cluster in this repo

Monitor Server Side:

  • Monitoring node health
  • Identification of critical node states (fork, forward fork, node freeze, lag/lead Mina Explorer)
  • Determining the Synchronization State of a Node
  • Automatic reboot of the node in case of critical state detection
  • Sending messages about the critical state of the node in Telegram and/or Discord
  • Sending the current balance of the specified address to Telegram and/or Discord
  • Sending Mina's cost to Telegram and/or Discord
  • Disabling snark-worker before block production and then resuming its work
  • Monitor memory consumption and reboot node when memory is critical

Monitor built with a stack:

  • server - NodeJS, JavaScript
  • client - JavaScript, HTML, CSS

You can watch a video about Mina Monitor on my YouTube channel

Credits

Documentation

You can read about client and server in

mina-node-monitor's People

Contributors

artmakh avatar olton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mina-node-monitor's Issues

node also restarts while bootstrapping

restartAfter - value in minutes, if node synced and height is lower from Mina Explorer within the specified time, node will restart after this interval

Currently mina nodes take quite a while to bootstrap. For me it takes longer than 30 minutes at the moment so maybe there should be an exception that the node is not restarted, while its bootstrapping.

make directory directive missing from package.json

In package.json, for the linux build, dist directory have to be created before copying files to this directory.

package.json

"build_site_x": "mkdir -p dist && cp -a client/config.json dist/ && parcel build  --dist-dir dist --public-url . --no-optimize  client/index.html",

xcopy not found

Hello,
While trying to build the client (npm run build) on my linux server, got :

> xcopy client\config.json dist\*.* /Y /I && parcel build -d dist --public-url . --no-minify client/index.html
sh: 1: xcopy: not found

Has there ever been a xcopy command on linux ?

Thanks for your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.