{"id":370336,"date":"2025-12-26T16:26:09","date_gmt":"2025-12-26T16:26:09","guid":{"rendered":"https:\/\/www.newsbeep.com\/ca\/370336\/"},"modified":"2025-12-26T16:26:09","modified_gmt":"2025-12-26T16:26:09","slug":"monitor-your-servers-with-free-uptime-kuma-container","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ca\/370336\/","title":{"rendered":"Monitor Your Servers With Free Uptime Kuma Container"},"content":{"rendered":"<p>If you run a collection of servers, be they a <a href=\"https:\/\/thenewstack.io\/containerized-apps-for-your-home-network\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">home network<\/a> lab or those powering your business, you are going to want to know the status of each server or service.<\/p>\n<p>That can be a real pain in the kiester if you have a lot of servers that you have to monitor regularly. Imagine if you had to log into each one of them individually to check on their status.<\/p>\n<p>Or, maybe you have several <a href=\"https:\/\/thenewstack.io\/docker-containers-that-could-be-essential-for-your-small-business\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">Docker containers<\/a> that you need to keep tabs on to make sure they\u2019re up and running. If they go down, you might even want to be alerted.<\/p>\n<p>What do you do?<\/p>\n<p>You could turn to an easy-to-use Docker container, <a href=\"https:\/\/thenewstack.io\/scale-llm-tools-with-a-remote-mcp-architecture-on-kubernetes\/\" target=\"_blank\" class=\"local-link\" rel=\"nofollow noopener\">Uptime Kuma<\/a>.<\/p>\n<p>Uptime Kuma can monitor several services, from ping, HTTP(S), <a href=\"https:\/\/thenewstack.io\/insert-data-into-a-mysql-database-via-a-python-script\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">MySQL<\/a>, TCP port, SMTP, SNMP, gRPC(s), DNS, Docker containers and more. Most of the service setups are fairly straightforward, and the UI is incredibly well designed.<\/p>\n<p>I\u2019m going to show you how to install Uptime Kuma and add some hosts to keep an eye on.<\/p>\n<p>What You\u2019ll Need<\/p>\n<p>To use Uptime Kuma, you\u2019ll need a host server (or desktop) that supports Docker and some hosts to monitor. If you\u2019re using Uptime Kuma on <a href=\"https:\/\/thenewstack.io\/introduction-to-linux-operating-system\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">Linux<\/a>, you\u2019ll need a user with sudo privileges so you can install Docker. As usual, I\u2019ll demonstrate this on Linux (specifically, Ubuntu Server 24.04). If your hosting OS is different, make sure to alter the installation instructions accordingly. If you already have Docker installed, skip to the Uptime Kuma deployment section.<\/p>\n<p>Ready? Let\u2019s go.<\/p>\n<p>Installing Docker<br \/>\n1. Install the Dependencies<\/p>\n<p>The first step is to install the necessary dependencies with the commands:<\/p>\n<p>2. Add the official Docker GPG key<\/p>\n<p>The next thing to do is add the official Docker GPG key. To do that, use the following commands:<\/p>\n<p>3. Add the Correct Repository<\/p>\n<p>You can now add the Docker repository, which is done with the following command:<\/p>\n<p>Once that\u2019s taken care of, update apt with:<\/p>\n<p>4. Install Docker<\/p>\n<p>It\u2019s now time to finally install Docker, which is taken care of with the command:<\/p>\n<p>5. Add Your User to the Correct Group<\/p>\n<p>It\u2019s required to add your user to the Docker group; otherwise, you\u2019ll have to run Docker with admin privileges, which can lead to security issues. Add your user to the Docker group with:<\/p>\n<p>Log out and log back in so the changes take effect.<\/p>\n<p>Deploying Uptime Kuma<\/p>\n<p>Deploying Uptime Kuma can be done with a single command:<\/p>\n<p>However, before you do that, consider whether you want to monitor Docker Containers on that server. If you do, you have to bind the \/var\/run\/docker.sock to your Uptime Kuma container, which is done with the command:<\/p>\n<p>Give Uptime Kuma a moment to start, and then point your browser to http:\/\/SERVER:3001 (where SERVER is the IP address of the hosting server).<\/p>\n<p>The first thing to do is select your language and the database you want to use (Figure 1). I chose Embedded MariaDB because it\u2019s the easiest route.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22811252\" class=\"wp-image-22811252 size-full\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/12\/e343f97e-screenshot-2025-12-24-at-10.54.46-am.png\" alt=\"\" width=\"1396\" height=\"968\"\/><\/p>\n<p id=\"caption-attachment-22811252\" class=\"wp-caption-text\">Figure 1: Choose your database wisely.<\/p>\n<p>You\u2019ll then be prompted to create a new admin account (Figure 2).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22811253\" class=\"wp-image-22811253 size-large\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/12\/2cd04eff-screenshot-2025-12-24-at-11.00.47-am-638x1024.png\" alt=\"\" width=\"638\" height=\"1024\"\/><\/p>\n<p id=\"caption-attachment-22811253\" class=\"wp-caption-text\">Figure 2: Make sure to use a strong\/unique password for this account.<\/p>\n<p>After setting up your admin user, you\u2019ll find yourself on the Uptime Kuma dashboard (Figure 3), where you can start adding hosts\/services to monitor.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22811254\" class=\"wp-image-22811254 size-full\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/12\/d9d2e3ab-screenshot-2025-12-24-at-1.27.39-pm-scaled.png\" alt=\"\" width=\"2560\" height=\"1363\"\/><\/p>\n<p id=\"caption-attachment-22811254\" class=\"wp-caption-text\">Figure 3: I\u2019ve already added a few hosts to monitor (one of which is down \u2026 gasp!).<\/p>\n<p>Adding a Host<\/p>\n<p>I\u2019ll now show you how to add a monitor for a Docker container. The Docker container I\u2019ll add is hosted on the same server as Uptime Kuma (as I\u2019ve yet to figure out how to get it to work with remote containers).<\/p>\n<p>To monitor a container, you\u2019ll first need to locate the container ID, which can be found using the command:<\/p>\n<p>Copy the full ID of the container you want to monitor.<\/p>\n<p>Next, go back to the Uptime Kuma dashboard and click Add New Monitor in the upper left corner. In the resulting pop-up (Figure 4), you\u2019ll need to fill out the following information:<\/p>\n<p>Monitor Type: Docker Container.<br \/>\nFriendly Name: A human-readable name.<br \/>\nContainer Name \/ ID: The container ID to be monitored.<br \/>\nDocker Host: You\u2019ll have to click the + button, type localhost for the Friendly Name space, and click Save.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22811256\" class=\"wp-image-22811256 size-full\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/12\/a1c65782-screenshot-2025-12-24-at-1.36.40-pm.png\" alt=\"\" width=\"2306\" height=\"1432\"\/><\/p>\n<p id=\"caption-attachment-22811256\" class=\"wp-caption-text\">Figure 4: Adding a Docker container for monitoring with Uptime Kuma.<\/p>\n<p>Click Save, and the host is added. You should immediately see it listed on the dashboard.<\/p>\n<p>And that\u2019s the gist of getting Uptime Kuma up and running. With this easy-to-use tool, you can add as many servers and services as you need to monitor, so you don\u2019t have to log into those machines individually or pay the high cost of a proprietary, complex monitoring system.<\/p>\n<p>\t<a class=\"row youtube-subscribe-block\" href=\"https:\/\/youtube.com\/thenewstack?sub_confirmation=1\" target=\"_blank\" rel=\"nofollow noopener\"><\/p>\n<p>\n\t\t\t\tYOUTUBE.COM\/THENEWSTACK\n\t\t\t<\/p>\n<p>\n\t\t\t\tTech moves fast, don&#8217;t miss an episode. Subscribe to our YouTube<br \/>\n\t\t\t\tchannel to stream all our podcasts, interviews, demos, and more.\n\t\t\t<\/p>\n<p>\t\t\t\tSUBSCRIBE<\/p>\n<p>\t<\/a><\/p>\n<p>    Group<br \/>\n    Created with Sketch.<\/p>\n<p>\t\t<a href=\"https:\/\/thenewstack.io\/author\/jack-wallen\/\" class=\"author-more-link\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p>\t\t\t\t\t<img decoding=\"async\" class=\"post-author-avatar\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/12\/d7cbfb14-cropped-6e7d5ccd-jack_wallen.jpg\"\/><\/p>\n<p>\n\t\t\t\t\t\t\tJack Wallen is what happens when a Gen Xer mind-melds with present-day snark. Jack is a seeker of truth and a writer of words with a quantum mechanical pencil and a disjointed beat of sound and soul. Although he resides&#8230;\t\t\t\t\t\t<\/p>\n<p>\t\t\t\t\t\tRead more from Jack Wallen\t\t\t\t\t\t<\/p>\n<p>\t\t<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"If you run a collection of servers, be they a home network lab or those powering your business,&hellip;\n","protected":false},"author":2,"featured_media":370337,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[49,48,61],"class_list":["post-370336","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-ca","tag-canada","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/370336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/comments?post=370336"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/370336\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media\/370337"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media?parent=370336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/categories?post=370336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/tags?post=370336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}