Umbrel continues to onboard superior tasks to their platform — most just lately an utility referred to as “Uptime Kuma.” Self-described as “a elaborate self-hosted monitoring software,” Uptime Kuma is a undertaking 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 resolution to distant uptime monitoring (with Telegram notifications!), Uptime Kuma in your Umbrel is improbable. This is set it up.
Necessities:
- Umbrel node working 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 Identify” 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 akin to “http://192.168.0.xxx”. If you have already got a miner working on your private home community, I hope it is protected to imagine the place to search out this data. Set the “Heartbeat Interval” to your liking. That is how steadily 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” kind, there’s a “Setup Notification” button.
Click on that button and you will open the notification settings kind.
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 may get from right here: https://t.me/BotFather. Within the Telegram chat with the BotFather, sort “/newbot” and hit enter. It is going to 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 finished, and give you an API key.
Take that API key and paste it into the “Bot Token” subject on the Uptime Kuma notification kind.
Click on the hyperlink under the empty chat ID subject to get the chat ID data.
That hyperlink ought to take you to a brand new webpage for the API which appears 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 might 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 kind. Ship a take a look at message to no matter your newly-created bot identify is earlier than clicking the hyperlink under the empty chat ID subject.
Paste that chat ID into the Telegram notification kind 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 kind on Uptime Kuma after which scroll down and save the “Add New Monitor” kind.
Increase! If that every one labored, you need to have a functioning Telegram notification bot on your miners. Take a look at this by disconnecting for a pair minutes and see if you happen to get a Telegram message out of your bot. It’s also possible to monitor uptime on any looking system that may entry your Umbrel through the Uptime Kuma net GUI.
Completely happy Hashing.
This can be a visitor put up by Scott Marmoll. Opinions expressed are completely their very own and don’t essentially replicate these of BTC Inc or Bitcoin Journal.