Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 1.61 KB

README.md

File metadata and controls

43 lines (22 loc) · 1.61 KB

Telegram Bot - Storj Node Monitor

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.

Get Started

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.

Environment variables

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

Start the Container

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.

Donations

ETH: 0x62B128e40FDC786BC3Ae948d08b8783be7d3a199