Umbrel continues to onboard superior initiatives to their platform — most lately an utility known as “Uptime Kuma.” Self-described as “a flowery self-hosted monitoring device,” Uptime Kuma is a mission by Louis Lam that endeavors to ship a self-hosted model of “Uptime Robotic.” For these of you who’ve began house mining and want to arrange a self-hosted resolution to distant uptime monitoring (with Telegram notifications!), Uptime Kuma in your Umbrel is unbelievable. This is the right way to set it up.
Necessities:
- Umbrel node operating with Uptime Kuma downloaded, on the identical community that the miners you want to monitor are on
- Telegram
- 5 minutes of your time
Begin by downloading Uptime Kuma from the Umbrel app retailer after which open it up on a pc on the identical community as your Umbrel and your miner(s). Click on “Add New Monitor” within the prime left nook of the web page.
Fill out the shape as relevant.
For “Pleasant Title” you may put one thing like “Storage S9” for instance. For the URL, put within the IP deal with of your miner reminiscent of “http://192.168.0.xxx”. If you have already got a miner operating on your house community, I hope it is protected to imagine you realize the place to search out this data. Set the “Heartbeat Interval” to your liking. That is how often Uptime Kuma will ping your machine to examine that it’s on-line. “Retries” represents the variety of instances Uptime Kuma will reattempt to ping your machine after an preliminary failed ping. “Heartbeat Retry Interval” represents the period of time Uptime Kuma will wait between reattempted pings to your machine after an preliminary failed ping.
Now, for the Telegram notifications.
Within the prime proper nook of the “Add New Monitor” type, there’s a “Setup Notification” button.
Click on that button and you will open the notification settings type.
From right here, select Telegram from the dropdown checklist and select a reputation to your Telegram alert. Once more, you may put one thing like “Storage S9”, for instance. You will want a Telegram Bot Token, which you may get from right here: https://t.me/BotFather. Within the Telegram chat with the BotFather, sort “/newbot” and hit enter. It’s going to reply with a few questions: “Alright, a brand new bot. How are we going to name it? Please select a reputation to your bot.” Right here, once more, you may put one thing like “Storage S9” for instance. “Good. Now let’s select a username to your bot. It should finish in `bot`. Like this, for instance: TetrisBot or tetris_bot”. Right here, once more, you may put one thing like “Storage S9 Bot”. Then the bot will say you might be carried out, and offer you an API key.
Take that API key and paste it into the “Bot Token” area on the Uptime Kuma notification type.
Click on the hyperlink under the empty chat ID area to get the chat ID data.
That hyperlink ought to take you to a brand new webpage for the API which appears to be like like a bunch of shadowy tremendous coder textual content however all you want from right here is the chat ID. For me, this was the eighth row of textual content on the web page. Be aware: You must ship a Telegram message to your bot to provoke the chat and generate a chat ID earlier than the chat ID will present on the hyperlink within the type. Ship a take a look at message to no matter your newly-created bot title is earlier than clicking the hyperlink under the empty chat ID area.
Paste that chat ID into the Telegram notification type on Uptime Kuma and hit Take a look at. It is best to obtain a Telegram message out of your newly created bot. Save the notification type on Uptime Kuma after which scroll down and save the “Add New Monitor” type.
Increase! If that every one labored, you must have a functioning Telegram notification bot to your miners. Take a look at this by disconnecting for a pair minutes and see should you get a Telegram message out of your bot. You may as well monitor uptime on any searching gadget that may entry your Umbrel by way of the Uptime Kuma net GUI.
Pleased Hashing.
This can be a visitor submit by Scott Marmoll. Opinions expressed are totally their very own and don’t essentially mirror these of BTC Inc or Bitcoin Journal.