⏰Monitoring
TenderDuty
Last updated
TenderDuty
Last updated
This TenderDuty v2 monitoring allows you to study control over nodes and, in particular, see the height of the network, validator status, uptime, signed and passed blocks. It is also possible to connect alerts to Telegram and Discord. Installation is possible in different ways, but I will use installation via Docker, although there are no fundamental differences. So, we will need a separate server (which definitely provides additional security) or a server with node(s) already installed. You will also need to find an open RPC or open your primary (not recommended) or backup node.
Installing Docker
Install tenderduty
Download the config and edit it
For simple monitoring without alerts, just change in the config:
network name:
chain-id:
valoper_address:
url:
After installing and editing the config, run docker
Checking our work in the browser
It's pretty easy to turn on an alert for discord. To do this you only need to perform a few steps
Let's go to our config and paste this link into the Webhook section
Let's go to our config and paste this link into the Webhook section
Reboot our Tenderduty - and now everything should be displayed in discord
docker restart tenderduty
Telegram takes a little longer to set up, but overall it's not very difficult. We will need to create our own bot and find out the ID of our telegram or the ID of the group we need in telegram
Create your own bot. To do this, write to the bot @BotFather and enter the command /newbot - then enter the bot name - then username (must end with bot). The bot will issue an API token, which we securely save and do not show to anyone
Find out your ID or group ID (to do this, add the bot to the group). To find out your ID, write to the bot @JsonViewBot and send it any message
Now it's time to add the ID and Token API to our configuration, then restart monitoring and wait for future alerts.