Umbrel continues to onboard superior initiatives to their platform — most lately an software known as “Uptime Kuma.” Self-described as “a flowery self-hosted monitoring instrument,” Uptime Kuma is a challenge by Louis Lam that endeavors to ship a self-hosted model of “Uptime Robotic.” For these of you who’ve began dwelling mining and want to arrange a self-hosted answer to distant uptime monitoring (with Telegram notifications!), Uptime Kuma in your Umbrel is unbelievable. This is easy methods 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’ll be able to put one thing like “Storage S9” for instance. For the URL, put within the IP deal with of your miner similar to “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 understand 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 test 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 may open the notification settings type.
From right here, select Telegram from the dropdown checklist and select a reputation on your Telegram alert. Once more, you’ll be able to put one thing like “Storage S9”, for instance. You may want a Telegram Bot Token, which you will get from right here: https://t.me/BotFather. Within the Telegram chat with the BotFather, kind “/newbot” and hit enter. It’ll reply with a few questions: “Alright, a brand new bot. How are we going to name it? Please select a reputation on your bot.” Right here, once more, you’ll be able to put one thing like “Storage S9” for instance. “Good. Now let’s select a username on your bot. It should finish in `bot`. Like this, for instance: TetrisBot or tetris_bot”. Right here, once more, you’ll be able to put one thing like “Storage S9 Bot”. Then the bot will say you’re executed, and offer you an API key.
Take that API key and paste it into the “Bot Token” discipline on the Uptime Kuma notification type.
Click on the hyperlink under the empty chat ID discipline to get the chat ID data.
That hyperlink ought to take you to a brand new webpage for the API which seems 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. Observe: You’ll want to 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 discipline.
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 each one labored, it’s best to have a functioning Telegram notification bot on your miners. Take a look at this by disconnecting for a pair minutes and see in case you get a Telegram message out of your bot. It’s also possible to monitor uptime on any shopping machine that may entry your Umbrel through the Uptime Kuma net GUI.
Completely satisfied Hashing.
This can be a visitor put up by Scott Marmoll. Opinions expressed are fully their very own and don’t essentially mirror these of BTC Inc or Bitcoin Journal.