VALIDEXIS Services
  • ๐Ÿ‘‹ About US
  • ๐ŸŒ Supported Networks
  • ๐ŸŒ Our Validators
  • ๐Ÿ” Validator Security: Our Approach and Protection Measures
    • ๐Ÿ”’Enhancing SSH Security for a Validator
    • ๐Ÿ“ก TMKMS for Remote Signing
    • ๐Ÿ”‘ Horcrux
    • ๐Ÿ›ก๏ธ Protecting Validator from DDoS Attacks
    • ๐ŸงฉMulti-Factor Authentication (MFA) for a Validator
  • ๐ŸšจMonitoring
    • ๐Ÿ“Š Node-exporter + Prometheus + Grafana
    • ๐Ÿ•ต๏ธ TenderDuty for Node Monitoring
  • ๐Ÿงต Setting up connection to IBC with Hermes
  • ๐Ÿค–CelestiaUltraBot
    • ๐Ÿ† Contest
    • ๐Ÿš€ Getting started
    • ๐Ÿ–ฅ๏ธ Validator monitoring
    • ๐Ÿ” Bridge Node Monitoring
    • ๐Ÿ‘› Wallet
    • ๐Ÿ›ธ AI Troubleshooting
  • ๐ŸŸข MAINNETS
    • Celestia
      • ๐Ÿ—‚๏ธ API/RPC/gRPC/AddrBook
      • ๐Ÿ“ธ Snapshot
      • ๐Ÿ”— Validator Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
      • ๐Ÿ’พ Full Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
      • ๐ŸŒ‰ Bridge Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
      • ๐Ÿ’ก Light Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
    • Zetachain
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Xion
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Nibiru
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Kyve
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Juno
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Agoric
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • CosmosHub
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Lava
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Uptick
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Paloma
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Kusama
      • ๐Ÿ—‚๏ธ API/RPC
      • ๐Ÿ“ธ Snapshot
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • Polkadot
      • ๐Ÿ—‚๏ธ API/RPC
      • ๐Ÿ“ธ Snapshot
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
      • ๐Ÿ”ง Installing a Polkadot Node Using Kagome
      • ๐Ÿงช Benchmarking a Server for Substrate/Polkadot
      • ๐Ÿ“˜ Monitoring Polkadot Nodes with Prometheus and Alertmanager
      • ๐Ÿ” UFW Security Template
    • Starknet
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
    • NYM
      • โš™๏ธ Installation
      • ๐Ÿ› ๏ธ Upgrade
      • ๐Ÿ“œ Useful Commands
  • ๐ŸŸก TESTNETS
    • Celestia
      • ๐Ÿ—‚๏ธ API/RPC/AddrBook
      • ๐Ÿ“ธ Snapshot
      • ๐Ÿ”— Validator Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
      • ๐Ÿ’พ Full Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
      • ๐ŸŒ‰ Bridge Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
      • ๐Ÿ’ก Light Node Installation
        • ๐Ÿ› ๏ธ Upgrade
        • ๐Ÿ“œ Useful Commands
Powered by GitBook
On this page
  • Preparing the Environment
  • Installing Docker
  • Setting Up TenderDuty
  • Running TenderDuty
  • Securing the Server
  • Configuring Telegram Notifications
  • Restarting TenderDuty
  1. ๐ŸšจMonitoring

๐Ÿ•ต๏ธ TenderDuty for Node Monitoring

TenderDuty is a robust tool for monitoring blockchain nodes, providing insights into network height, validator status, uptime, signed blocks, and transmitted blocks. It also supports alerts via Telegram and Discord for effective monitoring.


Preparing the Environment

Start by updating your server and installing the necessary dependencies:

sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget jq make gcc tmux htop pkg-config libssl-dev tar clang unzip -y

Installing Docker

Docker is required to run TenderDuty. Follow these steps to install it:

Add the Docker repository key:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add the Docker repository:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

Install Docker:

sudo apt update && sudo apt install docker-ce -y

Verify the installation:

docker --version

Setting Up TenderDuty

Create a dedicated directory for TenderDuty and set up the configuration.

Create the directory and navigate to it:

mkdir $HOME/tenderduty && cd $HOME/tenderduty

Download the example configuration file:

docker run --rm ghcr.io/blockpane/tenderduty:latest -example-config > config.yml

Edit the configuration file:

nano $HOME/tenderduty/config.yml

Customize the configuration:

  • Replace celestia with your project name.

  • Update the chain_id (e.g., replace mocha-4 with your chain ID, such as testnet-1).

  • Enter your validator address in the valoper_address field.

  • Update the url field with the RPC address of your node, such as tcp://localhost:26657.

Running TenderDuty

Launch TenderDuty as a Docker container using the following command:

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

Securing the Server

To protect your server, configure a firewall.

Install the ufw firewall if not already installed:

sudo apt install ufw

Set up firewall rules:

sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow 8888/tcp
sudo ufw enable

You can now access the TenderDuty dashboard in your browser at: http://<YOUR_SERVER_IP>:8888.


Configuring Telegram Notifications

To enable notifications in Telegram:

  1. Create a Telegram bot using @BotFather and save the API token.

  2. Create a Telegram group, add the bot to the group, and retrieve the group ID.

  3. Edit the configuration file:

    nano $HOME/tenderduty/config.yml
  4. Modify the Telegram section:

    telegram:
      enabled: yes
      api_key: '<YOUR_BOT_API_KEY>'
      channel: '<YOUR_GROUP_ID>'

Restarting TenderDuty

Apply the configuration changes by restarting the Docker container:

docker restart tenderduty

TenderDuty is now fully installed and configured. Monitor your node status, receive real-time alerts, and manage everything via the web interface.

Previous๐Ÿ“Š Node-exporter + Prometheus + GrafanaNext๐Ÿงต Setting up connection to IBC with Hermes

Last updated 4 months ago

To configure, use this .

documentation