Skip to content

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 nodes and alerts and restart (if need) when the nodes have a problem.

Notifications You must be signed in to change notification settings

olton/mina-monitor-cluster

Repository files navigation

mina-monitor-cluster

Mina Monitor is an extended graphical version of the mina client status command with additional indicators. The Monitor shows a Mina network status and health of mina nodes (up to 3x and more nodes in one frame). This is an extended version of Mina Monitor.

Support Me

You can support me with donation MINA to address:

B62qnyk1g4S6zCxg9p4gorrFgZQv61BnhPkQ6s2uSrYd1fxD2qLTrG2

Or PayPal to address:

serhii@pimenov.com.ua

Thanks to

Important!

For using Mina Monitor Cluster you must install actual (>=2.0.0) Mina Monitor Server Side to the required Mina nodes.

Key Features

  • 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)
  • Displaying the status of several 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

Installation

How-to install cluster with one-line installer.

Install via Docker

To install Server via Docker, please read DOCKER.md

Install Mina Monitor Cluster sources from GitHub

Clone repository to your computer

git clone https://github.com/olton/mina-monitor-cluster.git

Install dependencies

cd mina-monitor-cluster
npm install

Create config file

To create config file with default parameters, you can run:

node src/start --no-start

or create text file config.json in the src folder manually. Below you can see example of the config:

{
    "nodes": [
        {
            "name": "Alpha",
            "host": "host1:8000",
            "https": false
        },
        {
            "name": "Beta",
            "host": "host2:8000",
            "https": false
        },
        {
            "name": "Gamma",
            "host": "host3:8000",
            "https": false
        }
    ],
    "theme": "auto",
    "chartLabels": false,
    "precision": 4,
    "coinbase": {
        "regular": 720,
        "supercharge": 1440
    },
    "explorer": "staketab",
    "currencySwitch": "10s",
    "blockDiff": 2
}

In the host property you must define addresses of the Mina Monitor Server interfaces.

Run Monitor

npm start

If you want to install the Monitor to the web server, you must first compile the files. To compile files run command

npm run build

After the command will execute, in folder build you can find files, which you can put into a web server.

About

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 nodes and alerts and restart (if need) when the nodes have a problem.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published