t0mer / uptimekuma-agent

Docker container for uptime kuma passive push monitoring
MIT License
4 stars 1 forks source link

Uptimekuma-agent

"Uptime Kuma" is an open-source status monitoring tool designed to keep an eye on various services and systems. It provides a web-based interface for visualizing the status of monitored services, making it easier for administrators and users to check the health and performance of their systems.

Key features of Uptime Kuma:

"Push" monitor in Uptime Kuma typically refers to a monitoring mechanism where the monitored service actively pushes its status updates to the Uptime Kuma server. This is in contrast to the more traditional "Pull" method, where the monitoring system periodically checks the status of services by making requests.

In a "Push" monitoring setup with Uptime Kuma:

Using the push (passive) monitor

To configure the monitor, click on the upper left side on '+ Add New Monitor' and define the following details:

Push monitor

Click on Save to save the settings.

To define the container that will send a push to the Uptime Kuma server, create a file named docker-compose.yaml and paste the following code snippet into it:

version: "3.7"

services:
  uptimekuma_agent:
    image: techblog/uptimekuma_agent
    container_name: uptimekuma_agent
    environment:
      - PUSH_URL= #Uptime Kuma passive push url
      - PUSH_INTERVAL=50 #Interval between pings in seconds. Default is set to 50 seconds.

In this configuration:

Make sure to customize the values according to your specific requirements, and then save the updated docker-compose.yaml file. After that, you can deploy and run the container using Docker Compose.