Skip to content

Commit

Permalink
Alerting (#799)
Browse files Browse the repository at this point in the history
* add MyTonCtrl alert bot docs

* update sidebars

* update alerting.md
  • Loading branch information
yungwine authored Oct 18, 2024
1 parent 6829d25 commit 11b99df
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/participate/run-nodes/alerting.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ If you want to receive messages in a group, add the bot to the group, and it wil
```bash
$ sudo systemctl restart mytoncore
```
5. Check that the bot is able to send messages by running the command

```bash
MyTonCtrl> test_alert
```
You should receive a message from the bot in your Telegram account or chat.


## Supported Alerts

Expand All @@ -53,3 +60,11 @@ The MyTonCtrl Alert Bot supports the following alerts:
* Node is not answering to ADNL connection
* Validator created zero blocks for past 6 hours
* Validator has been slashed in the previous validation round
## En(dis)bling Alerts
To enable or disable alerts, use the following commands:
* To enable an alert, use the command `enable_alert <alert-name>`.
* To disable an alert, use the command `disable_alert <alert-name>`.
* To check the status of alerts, use the command `alerts_list`.

0 comments on commit 11b99df

Please sign in to comment.