If you have a Storj Node, You can implement this telegram bot to check all the statistics of your node and you can also receive notifications in case your node goes down. The statistics that you can see are the same as in the Dashboard of your Storj Node. From this bot you will be able to consult the statistics of all your Storj nodes, there is no need for a bot for each node.
You can try the bot here.
But they can also implement within your infrastructure very easily, below you have a guide.
This Bot is mounted on Docker, so implementing it is very easy. You just need to have a database MongoDB 4.2.6-bionic and this container.
It is important that the database with your username and password are previously created before launching the bot.
Below you can see the Environment variables necessary for the operation of this container.
-
$TELEGRAM_TOKEN -> Token to access the HTTP API of your bot.
-
$URI_MONGODB -> Connection URI with your MongoDB database.
For example: mongodb://user:[email protected]/botstorjmonitor
To run this bot using Docker you can use the following command:
docker run -d --name bot-storjnodemonitor\
-e "TELEGRAM_TOKEN=YOUR-TELEGRAM-TOKEN" \
-e "URI_MONGODB=YOUR_URI_CONNECT_MONGODB"
rafa93m/bot-storjnodemonitor
Once this is done, you can now speak with your bot from the Telegram APP.
ETH: 0x62B128e40FDC786BC3Ae948d08b8783be7d3a199