Back to Blog
Monitor Your Websites for Free with Upptime

Monitor Your Websites for Free with Upptime

Learn how to monitor your websites for free using Upptime, an open-source tool powered by GitHub Actions. Discover step-by-step instructions to set up Upptime, customize notifications, and create a status page to track website uptime efficiently without any paid subscriptions.

4 min read
monitoringgithub actionsdevopstutorialopen source

Introduction

In the world of web development, a common concern for developers is ensuring their websites remain online and functional. This is where website monitoring comes in. Monitoring systems notify you when your website goes down, allowing you to take swift action and restore functionality.

While numerous monitoring services exist, many have limitations like the number of monitored pages or daily checks. Paid subscriptions are often required to bypass these restrictions.

This post explores Upptime, a free and open-source alternative that leverages GitHub Actions to perform website monitoring. Upptime generates a status page showcasing all your monitored websites and offers various notification options.

Why Choose Upptime?

Here’s what makes Upptime an attractive choice for website monitoring:

Getting Started with Upptime

Upptime’s setup involves creating a GitHub repository and configuring the websites you want to monitor. Here’s a step-by-step guide:

1. Create a GitHub Repository

2. Configure Upptime

Edit the .upptimerc.yml file:

# Change these first
owner: usarral # Your GitHub organization or username
repo: upptime-demo # The name of this repository
assignees:
  - usarral

sites:
  - name: Google
    url: https://www.google.com
  - name: Usarral.com
    url: https://usarral.com
  - name: This site not exists
    url: http://not-exist2.com/

status-website:
  baseUrl: /upptime-demo
  logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg
  name: Upptime Demo
  introTitle: "**Upptime** is the open-source uptime monitor and status page"
  introMessage: This is a sample status page which uses **real-time** data from our GitHub repository
  navbar:
    - title: Status
      href: /
    - title: GitHub
      href: https://github.com/$OWNER/$REPO

3. Enable Notifications (Optional)

Upptime supports various notification platforms. Here’s an example using Discord:

4. Commit Changes and Monitor

Testing Upptime

To test Upptime’s functionality, add a non-existent website to your monitored sites. When you commit this change, the GitHub Action will trigger:

This demonstrates Upptime’s ability to detect and report website outages.

Conclusion

Upptime offers a compelling solution for free and effective website monitoring. Its ease of use, customizability, and open-source nature make it a valuable tool for developers of all experience levels. If you’re looking for a reliable and cost-effective way to monitor your websites, Upptime is definitely worth considering.

View All Posts
Blog