- free disk space is less than 20% and 10%
- height is not changing
- axelard process is not running
- axelard-vald process is not running
- tofnd is not running
- root account on server
- telegram bot token
- reciever telegram id
In this guide we won't focus on creating telegram. You can follow this instruction
Follow this guide to get your telegram id:
# install required packeges:
apt install -y monit jq
# important this to run this command from root home dir
cd /root
git clone https://github.com/Validatrium/axelar.git
cd axelar
echo include '/root/axelar/conf/*' >> /etc/monit/monitrc
## IF YOU HAVE A DIFFERENT RPC PORT (edit 'height.sh' file, to recieve height notifications)
#replace with your rpc address: (example: localhost:26657)
RPC="localhost:26657"
# edit telegram.conf, replacce with your values to recieve alerts
TOKEN=<TOKEN>
CHATID=<YOUR-ID>
# check if you setup telegram notifications correctly:
bin/sendtelegram -m 'hi there!' -c telegram.conf
# restart monitoring tool
service monit restart