Umbrel continues to onboard superior tasks to their platform — maximum not too long ago an software referred to as “Uptime Kuma.” Self-described as “a posh self-hosted tracking instrument,” Uptime Kuma is a challenge through Louis Lam that endeavors to send a self-hosted model of “Uptime Robotic.” For the ones of you who’ve began house mining and want to arrange a self-hosted strategy to faraway uptime tracking (with Telegram notifications!), Uptime Kuma to your Umbrel is implausible. This is how one can set it up.
Necessities:
- Umbrel node working with Uptime Kuma downloaded, at the similar community that the miners you want to observe are on
- Telegram
- five mins of your time
Get started through downloading Uptime Kuma from the Umbrel app retailer after which open it up on a pc at the similar community as your Umbrel and your miner(s). Click on “Upload New Observe” within the most sensible left nook of the web page.
Fill out the shape as appropriate.
For “Pleasant Identify” you’ll put one thing like “Storage S9” as an example. For the URL, put within the IP deal with of your miner equivalent to “http://192.168.0.xxx“. If you have already got a miner working on your house community, I’m hoping it is protected to think you recognize the place to seek out this knowledge. Set the “Heartbeat Period” in your liking. That is how continuously Uptime Kuma will ping your system to test that it’s on-line. “Retries” represents the collection of occasions Uptime Kuma will reattempt to ping your system after an preliminary failed ping. “Heartbeat Retry Period” represents the period of time Uptime Kuma will wait between reattempted pings in your system after an preliminary failed ping.
Now, for the Telegram notifications.
Within the most sensible proper nook of the “Upload New Observe” shape, there’s a “Setup Notification” button.
Click on that button and you can open the notification settings shape.
From right here, make a choice Telegram from the dropdown record and make a choice a reputation to your Telegram alert. Once more, you’ll put one thing like “Storage S9”, as an example. You can want a Telegram Bot Token, which you’ll get from right here: https://t.me/BotFather. Within the Telegram chat with the BotFather, kind “/newbot” and hit input. It’s going to answer with a few questions: “Alright, a brand new bot. How are we going to name it? Please make a choice a reputation to your bot.” Right here, once more, you’ll put one thing like “Storage S9” as an example. “Excellent. Now let’s make a choice a username to your bot. It should result in `bot`. Like this, as an example: TetrisBot or tetris_bot”. Right here, once more, you’ll put one thing like “Storage S9 Bot”. Then the bot will say you’re achieved, and give you an API key.
Take that API key and paste it into the “Bot Token” box at the Uptime Kuma notification shape.
Click on the hyperlink under the empty chat ID box to get the chat ID knowledge.
That hyperlink must take you to a brand new webpage for the API which looks as if a host of shadowy tremendous coder textual content however all you wish to have from this is the chat ID. For me, this was once the 8th row of textual content at the web page. Be aware: You want to ship a Telegram message in your bot to start up the chat and generate a talk ID prior to the chat ID will display on the hyperlink within the shape. Ship a take a look at message to no matter your newly-created bot title is prior to clicking the hyperlink under the empty chat ID box.
Paste that chat ID into the Telegram notification shape on Uptime Kuma and hit Check. You must obtain a Telegram message out of your newly created bot. Save the notification shape on Uptime Kuma after which scroll down and save the “Upload New Observe” shape.
Growth! If that every one labored, you’ll have a functioning Telegram notification bot to your miners. Check this through disconnecting for a pair mins and spot in the event you get a Telegram message out of your bot. You’ll be able to additionally observe uptime on any surfing instrument that may get entry to your Umbrel by way of the Uptime Kuma internet GUI.
Satisfied Hashing.
This can be a visitor submit through Scott Marmoll. Evaluations expressed are fully their very own and don’t essentially mirror the ones of BTC Inc or Bitcoin Mag.