Skip to content

Northa/lion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring tool for UMEE network

Simple, lightweight cUI blockexplorer.

Features:

  • real time update
  • signed, missed, propossed blocks
  • info about validator
  • node info
  • node health
  • telegram notifications
  • hardware usage
  • peggo events

Alerts:

  • Ethereum balance < 0.1 ETH
    Alt text
  • If our event_nonce behind more than 3
    Alt text
  • ETH rpc monitor. If local rpc behind infura more than 5 blocks
    Alt text
  • Disk space monitor. If available disk < 10gb
    Alt text
  • Jailed status changed
    Alt text
  • Validator missing blocks
    Alt text
  • Bond status changed
    Alt text
Requirements:
Installing:

Technically, the installation itself is cloning the repo, setting dependencies, and providing 6 variables

$ cd && git clone https://github.com/Northa/lion.git && cd lion
$ sudo apt install python3-pip
$ pip3 install pipenv
$ pipenv sync

Next open config.py in editor and replace required variables with your values.

Once configured you can run the app by following:

$ pipenv run python lion.py

In order to monitor hardware you have to configure node-exporter. Node exporter installation described below

Node exporter installation:
 
cd && wget https://github.com/prometheus/node_exporter/releases/download/v1.3.0/node_exporter-1.3.0.linux-amd64.tar.gz && \
tar xvf node_exporter-1.3.0.linux-amd64.tar.gz && \
rm node_exporter-1.3.0.linux-amd64.tar.gz && \
sudo mv node_exporter-1.3.0.linux-amd64 node_exporter && \
chmod +x $HOME/node_exporter/node_exporter && \
sudo mv $HOME/node_exporter/node_exporter /usr/bin && \
rm -Rvf $HOME/node_exporter/

sudo tee /etc/systemd/system/exporterd.service > /dev/null <<EOF
[Unit]
Description=node_exporter
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/bin/node_exporter
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload && \
sudo systemctl enable exporterd && \
sudo systemctl restart exporterd

Node exporter by default working on port :9100

After installation node_exporter metrics should be available by folowing address: http://your_ip:9100

Node_exporter guide

Alt text

About

cUI blockexplorer for UMEE network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages