How To Set Up Uptime Monitoring For Your Home Bitcoin Mining Setup

2 years ago

Umbrel continues to onboard awesome projects to their level — astir precocious an exertion called "Uptime Kuma." Self-described arsenic "a fancy self-hosted monitoring tool," Uptime Kuma is simply a task by Louis Lam that endeavors to vessel a self-hosted mentation of "Uptime Robot." For those of you who person started location mining and privation to acceptable up a self-hosted solution to distant uptime monitoring (with Telegram notifications!), Uptime Kuma connected your Umbrel is fantastic. Here's however to acceptable it up.

Requirements:

  • Umbrel node moving with Uptime Kuma downloaded, connected the aforesaid web that the miners you privation to show are on
  • Telegram
  • 5 minutes of your time

Start by downloading Uptime Kuma from the Umbrel app store and past unfastened it up connected a machine connected the aforesaid web arsenic your Umbrel and your miner(s). Click "Add New Monitor" successful the apical near country of the page.

Uptime Kuma for umbrel

Fill retired the signifier arsenic applicable.

Uptime Kuma for umbrel

For “Friendly Name" you tin enactment thing similar "Garage S9" for example. For the URL, enactment successful the IP code of your miner specified arsenic "http://192.168.0.xxx". If you already person a miner moving connected your location network, I anticipation it's harmless to presume you cognize wherever to find this information. Set the "Heartbeat Interval" to your liking. This is however often Uptime Kuma volition ping your instrumentality to cheque that it is online. "Retries" represents the fig of times Uptime Kuma volition reattempt to ping your instrumentality aft an archetypal failed ping. "Heartbeat Retry Interval" represents the magnitude of clip Uptime Kuma volition hold betwixt reattempted pings to your instrumentality aft an archetypal failed ping.

Now, for the Telegram notifications.

In the apical close country of the "Add New Monitor" form, determination is simply a "Setup Notification" button.

Uptime Kuma for umbrel

Click that fastener and you'll unfastened the notification settings form.

Uptime Kuma for umbrel

From here, take Telegram from the dropdown database and take a sanction for your Telegram alert. Again, you tin enactment thing similar "Garage S9", for example. You'll request a Telegram Bot Token, which you tin get from here: https://t.me/BotFather. In the Telegram chat with the BotFather, benignant "/newbot" and deed enter. It volition reply with a mates of questions: "Alright, a caller bot. How are we going to telephone it? Please take a sanction for your bot." Here, again, you tin enactment thing similar "Garage S9" for example. "Good. Now let's take a username for your bot. It indispensable extremity successful `bot`. Like this, for example: TetrisBot oregon tetris_bot". Here, again, you tin enactment thing similar "Garage S9 Bot". Then the bot volition accidental you are done, and supply you with an API key.

Uptime Kuma for umbrel

Take that API cardinal and paste it into the "Bot Token" tract connected the Uptime Kuma notification form.

Uptime Kuma for umbrel

Click the nexus beneath the bare chat ID tract to get the chat ID information.

Uptime Kuma for umbrel

That nexus should instrumentality you to a caller webpage for the API which looks similar a clump of shadowy ace coder substance but each you request from present is the chat ID. For me, this was the eighth enactment of substance connected the page. Note: You request to nonstop a Telegram connection to your bot to initiate the chat and make a chat ID earlier the chat ID volition amusement astatine the nexus successful the form. Send a trial connection to immoderate your newly-created bot sanction is earlier clicking the nexus beneath the bare chat ID field.

Uptime Kuma for umbrel

Paste that chat ID into the Telegram notification signifier connected Uptime Kuma and deed Test. You should person a Telegram connection from your recently created bot. Save the notification signifier connected Uptime Kuma and past scroll down and prevention the "Add New Monitor" form.

Boom! If that each worked, you should person a functioning Telegram notification bot for your miners. Test this by disconnecting for a mates minutes and spot if you get a Telegram connection from your bot. You tin besides show uptime connected immoderate browsing instrumentality that tin entree your Umbrel via the Uptime Kuma web GUI.

Happy Hashing.

This is simply a impermanent station by Scott Marmoll. Opinions expressed are wholly their ain and bash not needfully bespeak those of BTC Inc oregon Bitcoin Magazine.

View source