You ever wanted to get periodically updates of your hetzner cloud machines to your personal discord server via the hetzner api? No? Really?
Ok anyways here you have excactly that.
Sometimes it is really hard to easily monitor your cloud machines with small money. There are apps out there like UptimeRobot (which btw is really nice to work with) but if you want to get metrics, fast status updates to react instantly on the error or personalization you have to pay or build something yourself.
This is were the healthznerbot is coming in handy. It is set up fast and customizable. It even has a custom meme-mode for a little fun everytime the status update is a success.
If you just want to get fast metrics of the servers you have at the hetzner cloud just type in !servers in on a from you selected discord channel.
Installation
- Copy the project to your local machine
git clone https://github.com/raphaelbernhart/healthznerbot.git
- Change directory to Healthznerbot
cd healthznerbot
- Rename the
.env.example
to.env
and configure it with your credentials and wishes - Run the command
npm i
to install the dependencies - Run
npm run build
to build the bot - Change directory to dist
cd ./dist
- And finally run
npm run start
to run the bot
Top comments (0)