NOTE: We recommand using a VPS (2 GB RAM, 20 GB Hard disk). Also, make sure to open the port 26657 on your validator server.
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
mkdir tenderduty && cd tenderduty
docker run --rm ghcr.io/blockpane/tenderduty:latest -example-config >config.yml
NOTE: You can delete the existing config.yml
file and create a new file using vim
or nano
.
In the config.yml
file, add the following:
- Replace "PagerDuty-Events-API-V2-Integration-Key" with PagerDuty Integration key
- Replace "valoper-address" with your Valooper Address
- Replace tcp://ip-address:26657 with your validator ip with the correct port (Default is 26657
---
enable_dashboard: yes
listen_port: 8888
hide_logs: no
node_down_alert_minutes: 3
node_down_alert_severity: critical
prometheus_enabled: yes
prometheus_listen_port: 28686
pagerduty:
enabled: no
api_key: <PagerDuty-Events-API-V2-Integration-Key>
default_severity: alert
discord:
enabled: no
webhook: https://discord.com/api/webhooks/999999999999999999/zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
telegram:
enabled: no
api_key: '5555555555:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
channel: "-666666666"
slack:
enabled: no
webhook: https://hooks.slack.com/services/AAAAAAAAAAAAAAAAAAAAAAA/bbbbbbbbbbbbbbbbbbbbbbbb
chains:
"Elys Testnet":
chain_id: elystestnet-1
valoper_address: <valoper-address>
public_fallback: yes
alerts:
stalled_enabled: yes
stalled_minutes: 10
consecutive_enabled: yes
consecutive_missed: 5
consecutive_priority: critical
percentage_enabled: yes
percentage_missed: 10
percentage_priority: warning
alert_if_inactive: yes
alert_if_no_servers: yes
pagerduty:
enabled: yes
api_key: "" # uses default if blank
discord:
enabled: no
webhook: "" # uses default if blank
telegram:
enabled: no
api_key: "" # uses default if blank
channel: "" # uses default if blank
slack:
enabled: no
webhook: "" # uses default if blank
nodes:
- url: tcp://<ip-address>:26657
alert_if_down: yes
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
To visit Tenderduty page - http://ip-address:8888 #Example - http://123.12.134.12:8888