Giter VIP home page Giter VIP logo

monitoring's Introduction

A simple and quite interesting way to keep track of your cosmo-nodes.

Set it all up together

1 (1)

download additional utilities

sudo apt update && sudo apt upgrade -y &&
sudo apt install curl build-essential git wget jq make gcc tmux htop nvme-cli pkg-config libssl-dev lib

docker

apt update && \
apt install apt-transport-https ca-certificates curl software-properties-common -y && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && \
apt update && \
apt-cache policy docker-ce && \
sudo apt install docker-ce -y && \
docker --version

tenderduty

tmux new-session -S tnd
mkdir tenderduty && cd tenderduty
docker run --rm ghcr.io/blockpane/tenderduty:latest -example-config >config.yml

configuration

nano $HOME/tenderduty/config.yml

For simple monitoring without notifications, just change in the config:

  • network name:
  • chain-id:
  • valoper_address:
  • RPC url:

Start

docker run -d --name tenderduty -p "8888:8888" -p "28686:28686" --restart unless-stopped -v $(pwd)/config.yml:/var/lib/tenderduty/config.yml ghcr.io/blockpane/tenderduty:latest

check logs

docker logs -f --tail 50 tenderduty

Let's check our monitoring in the browser

echo -e "\033[0;32mhttp://$(wget -qO- eth0.me):8888/\033[0m"
# Exmp - http://1.0.0.111:8888/

commands

stop the container

docker stop tenderduty

restart the container

docker restart tenderduty

check logs

docker logs -f --tail 50 tenderduty

monitoring's People

Contributors

keni32 avatar

Watchers

 avatar

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.