/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 and restart (if need) when the node has a problem.

Primary LanguageJavaScriptMIT LicenseMIT

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:

serhii@pimenov.com.ua

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