Monitoring

sample alert

This simple script will monitor your node and send alert to your telegram chat/group when your bioauth is about to end or already in inactive state.

Installation

Prepare Telegram API Key

go to Telegram, search for @BotFather

type in /start to interact with @BotFather and create your bot with /newbot command

after that type /token to get your API Key

Install script

Copy and save this script below with .sh format in your Humanode server

After that, don't forget to give execute permission by using this command below

Set cronjob

You need to install the cronjob to make this alert work.

Open cron editor by executing this:

After that, put this line into the last line of crontab and then save it

This cron will run the script every 5 minutes

Last updated

Was this helpful?