Monitoring Agents
Deploy lightweight agents to monitor internal services, run local checks, and enable self-healing recovery actions.
Overview
upti.my agents are lightweight, cross-platform processes that run directly on your infrastructure. Unlike external monitoring nodes that probe your services from the outside, agents operate from within your network. This gives them the ability to monitor internal services, private endpoints, and resources that are not exposed to the public internet.
Each agent registers with your upti.my account, receives its assigned checks, and continuously reports metrics and heartbeats back to the platform. If an agent stops reporting, upti.my automatically flags it as offline and triggers an alert.
Supported Platforms
Agents are designed to run anywhere your services live. upti.my provides installation packages and deployment manifests for all major platforms:
- Linux - Debian, Ubuntu, CentOS, RHEL, Alpine, and other distributions via binary or package manager
- macOS - Native binary for Intel and Apple Silicon architectures
- Windows - Runs as a Windows service with automatic startup
- Docker - Official container image for containerized environments
- Kubernetes DaemonSet - Deploy across all nodes in your cluster with a single manifest
curl -fsSL https://get.upti.my/agent | sh
uptimy-agent register --token YOUR_AGENT_TOKEN
uptimy-agent startapiVersion: apps/v1
kind: DaemonSet
metadata:
name: uptimy-agent
namespace: monitoring
spec:
selector:
matchLabels:
app: uptimy-agent
template:
metadata:
labels:
app: uptimy-agent
spec:
containers:
- name: agent
image: uptimy/agent:latest
env:
- name: UPTIMY_TOKEN
valueFrom:
secretKeyRef:
name: uptimy-agent
key: tokenHow Agents Work
Once registered, an agent establishes a persistent connection with the upti.my platform. It pulls its configuration, including which local checks to run and which recovery actions to perform when failures are detected. The agent then enters a continuous loop:
- Execute checks at the configured interval for each assigned local check
- Report results back to upti.my, including metrics like response time, CPU, memory, and disk usage
- Send heartbeats at regular intervals to confirm the agent itself is alive and healthy
- Trigger recovery actions when a check fails and a self-healing action is configured
ℹ️ Agent Heartbeats
Every agent sends a heartbeat to upti.my every 30 seconds. If no heartbeat is received for 90 seconds, the agent is marked as offline and an alert is triggered. This ensures you are always aware of agent health.
Local System Checks
Agents can perform 8 types of local health checks directly on the host where they run. These checks monitor internal services, system resources, and local certificates without requiring any inbound network access.
| Check Type | Description |
|---|---|
| HTTP | Check a local HTTP endpoint for expected status code and response content |
| Process | Verify that a named process is running on the host |
| Docker Container | Confirm a Docker container is in a running and healthy state |
| Disk Usage | Alert when disk usage on a specified path exceeds a threshold |
| Memory | Alert when system memory usage exceeds a configured percentage |
| CPU | Alert when CPU utilization exceeds a configured percentage |
| Certificate | Monitor local TLS certificate files for upcoming expiration |
Self-Healing Recovery Actions
When a local check fails, agents can automatically execute recovery actions to restore service health without human intervention. upti.my supports 10 recovery action types, from restarting a systemd service to running a custom shell script.
💡 Combine Checks with Recovery
Pair a "Process" local check with a "Restart Service" recovery action to automatically restart crashed services. Add a cooldown period to avoid restart loops during persistent failures.
Plan Limits
The number of agents you can deploy depends on your upti.my plan:
| Plan | Agents Included | Local Checks per Agent |
|---|---|---|
| Free | 1 agent | 5 checks |
| Pro | 10 agents | 25 checks |
| Enterprise | 50 agents | Unlimited checks |
Learn More
Dive deeper into agent capabilities with the detailed guides below.