Peppershade / uptimekuma-migrator

Simple migrator from UptimeRobot to UptimeKuma
9 stars 1 forks source link

UptimeKuma Migrator

This script allows you to import monitors from UptimeRobot to Uptime Kuma using the Uptime Kuma API.

Features

Supported Monitor Types

While Uptime Kuma supports a wide range of monitor types, this script currently only supports the following monitor types:

HTTP(s)

Ping

Keyword

Port

Prerequisites

Before running the script, make sure you have the following information:

Installation

  1. Clone this repository or download the script to your local machine.

  2. Install the required dependencies by running the following command:

    pip install -r requirements.txt
  3. Update the following variables in the script:

Usage

To run the script, execute the following command:

python sync.py

The script will perform the following steps:

  1. Fetch monitors from UptimeRobot API.
  2. Import each monitor to Uptime Kuma API.
  3. Print status messages and errors for each monitor sync.

Please note that the script will print verbose output during the process.

Notes

License

This script is released under the MIT License.