Tenderduty Setup
Create Pagerduty Service
Click +New Service
Add Service Name and Details
Assign Escalation Policy
Choose "Events API v2 Integration"

Get Validator Address
Check your local port for status
curl 0.0.0.0:<YOURPORTHERE>/status | jq
Look for your "address" under "validator_info". It will look something liek this:
"validator_info": {
"address": "YOURADDRESSHERE",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "NOTWHATYOUWANTHERE"
},
"voting_power": "1000000000000"
On a machine that has gaiad installed run:
gaiad keys parse YOURADDRESSHERE
This will return something like:
formats:
- cosmosqrthqrthqrthqrth
- cosmospubqrthqrthqrth
- cosmosvaloperqrthqrtnqrtn
- cosmosvaloperpubatrhqryjqrynqrn
- cosmosvalconsaderthqafgnrn
- cosmosvalconspub1eva29cmn9twrthwrthwjtyjwtyjwtym
Input the address that starts with "cosmosvalcons" into your tenderduty .yml file.
Go to Tenderduty MachineNavigate to To tenderduty/chains.d folder
cd tenderduty/chains.d
Create a new chain .yml file
nano namada-testnet.yml
chain_id: union-testnet-4 valoper_address: cosmosvalcons1nue4xu43a2ypqrtfx4tzeeh5ws5sm66ymj5h8f public_fallback: yes alerts: stalled_enabled: yes stalled_minutes: 10 consecutive_enabled: yes consecutive_missed: 50 consecutive_priority: critical percentage_enabled: yes percentage_missed: 4 percentage_priority: warning alert_if_inactive: no alert_if_no_servers: no pagerduty: enabled: yes api_key: "<YOURAPIKEYFROMPAGERDUTYHERE>" # uses default if blank discord: enabled: yes webhook: "" # uses default if blank telegram: enabled: no api_key: "" # uses default if blank channel: "" # uses default if blank nodes: # Own Node - url: tcp://<YOURIPHERE:YOURPORTHERE> alert_if_down: yes # Public RPC - url: https://<OTHERRPCSNODESHERE> alert_if_down: no
Restart tenderduty:
sudo systemctl restart tenderduty && journalctl -fu tenderduty
Last updated
Was this helpful?