DevOps v1.0.2

pingharbor

Query uptime monitors, heartbeat monitors, manage sites, retrieve incidents, create monitors, and fetch SLA reports from...

captain 更新于 2026-04-07 1 浏览
下载 SKILL

技能说明

Query uptime monitors, heartbeat monitors, manage sites, retrieve incidents, create monitors, and fetch SLA reports from your PingHarbor account.

使用场景

PingHarbor — Uptime & Heartbeat Monitoring

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/pingharbor
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 20 kB
SKILL.md text/markdown
---
name: pingharbor
description: Query uptime monitors, heartbeat monitors, manage sites, retrieve incidents, create monitors, and fetch SLA reports from your PingHarbor account.
homepage: https://pingharbor.com
user-invocable: true
metadata: {"openclaw":{"emoji":"âš“","homepage":"https://pingharbor.com","primaryEnv":"PINGHARBOR_API_KEY","requires":{"env":["PINGHARBOR_API_KEY"]}}}
---

# PingHarbor — Uptime & Heartbeat Monitoring

Connect to your PingHarbor account to monitor website uptime, track cron jobs via heartbeat monitors, manage sites, query incidents, and pull SLA reports — all via the PingHarbor MCP server.

## Authentication

Set your PingHarbor API key as an environment variable:

```
PINGHARBOR_API_KEY=ph_your_api_key_here
```

Generate a key at: **Administration → API Keys** inside your PingHarbor dashboard.

## MCP Endpoint

```
https://api.pingharbor.com/functions/v1/mcp
```

Pass the key as a Bearer token:

```
Authorization: Bearer $PINGHARBOR_API_KEY
```

## Available Tools

| Tool | Description |
|------|-------------|
| `list_monitors` | List all monitors and their current status |
| `get_incidents` | Retrieve recent incidents and downtime events |
| `create_monitor` | Create a new uptime monitor programmatically |
| `get_monitor_report` | Fetch SLA and response time report for a monitor |
| `list_heartbeat_monitors` | List all heartbeat monitors and their health status |
| `create_heartbeat_monitor` | Create a new heartbeat monitor with webhook URL |
| `list_sites` | List all sites for the authenticated account |
| `create_site` | Create a new site to group monitors together |

## Example Usage

> "List all my monitors and show me which ones are currently down."

> "Get incidents from the last 7 days for monitor ID xyz."

> "Create a monitor for https://example.com with a 60-second check interval."

> "Show me the SLA report for my main API monitor."

> "List my heartbeat monitors and show which ones have missed a heartbeat."

> "Create a heartbeat monitor for my nightly database backup that runs every 24 hours with a 60-minute grace period."

> "List all my sites."

> "Create a new site called 'Production' for https://myapp.com."

## Config (~/.openclaw/openclaw.json)

```json
{
  "skills": {
    "entries": {
      "pingharbor": {
        "enabled": true,
        "apiKey": "ph_your_api_key_here"
      }
    }
  }
}
```

Or via environment variable injection:

```json
{
  "skills": {
    "entries": {
      "pingharbor": {
        "enabled": true,
        "env": {
          "PINGHARBOR_API_KEY": "ph_your_api_key_here"
        }
      }
    }
  }
}
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。