DEV Community

Cover image for #DAY 2: Deploying the Monitoring Dashboard - Uptime Kuma
Samuel Adeduntan
Samuel Adeduntan

Posted on

#DAY 2: Deploying the Monitoring Dashboard - Uptime Kuma

Setting Up and Running Uptime Kuma for Real-Time Service Monitoring On Ubuntu Server

Introduction

Deploying the Monitoring Dashboard Uptime Kuma involves setting up a self-hosted monitoring tool designed to provide real-time insights into the uptime and performance of websites, servers, and other network resources. Uptime Kuma offers an intuitive interface and supports multiple notification methods to ensure users are promptly alerted to downtime or performance issues. The deployment process typically includes installing the software on a server, configuring monitoring targets, and setting up alerts through integrations like email, SMS, or third-party services such as Discord or Slack.

Objective
Deploying the Uptime Kuma monitoring program as a Docker container and setting up access to its web-based dashboard were the objectives of the second phase.

Detailed Procedure & Outcomes:

*Container Deployment *

Uptime Kuma was deployed using its official Docker image with the following command:
sudo docker run -d --restart=always -p 3002:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

With port mapping (-p 3001:3001), auto-restart (--restart=always), and a named volume (-v uptime-kuma) for persistent data, the container was executed in detached mode (-d).

Screenshot1

Status Verification
Sudo docker was used to confirm the status of the newly formed container. PS: The output verified that the uptime-kuma container was operational and in good condition.

Screenshot2

Network Accessibility
The Uncomplicated Firewall (UFW) was configured with the rule sudo ufw allow 3001/tcp to permit external HTTP traffic to reach the service.

Screenshot3

Dashboard Access
Finally, a web browser was navigated to http://192.168.92.134:3002. The connection was successful, and the Uptime Kuma initial setup screen was presented, ready for configuration.

Screenshot4

Screenshot5

Conclusion & Success Goal Achieved

On Day 2, I successfully deployed Uptime Kuma as a Docker container on my Ubuntu server and verified that the monitoring dashboard was operational and accessible over the network. The system is now running with persistent data storage and automatic restart, ensuring reliability.

Success Goal Achieved:
The objective of setting up and accessing the Uptime Kuma dashboard for real-time monitoring was fully met. With the dashboard live, I established the foundation for adding service monitors and building a proactive alerting system.

Lessons Learned

- Containerization Simplifies Deployment: Docker allowed me to deploy Uptime Kuma quickly and reliably without worrying about complex manual installation steps.
- Persistent Storage is Critical: Using a named volume ensured that monitoring data is retained even if the container restarts or gets replaced.
- Firewall Rules Enable Accessibility: Without proper UFW configuration, external access would have been blocked, emphasizing the importance of networking fundamentals.
- Verifying Status Builds Confidence: Checking the container’s health (docker ps) before testing access assured that the service was running as expected.
- The Dashboard is the Core Entry Point: Having a clean, web-based interface simplifies management and prepares the ground for organizing monitors and notifications in the following phases.

Top comments (0)