# Send Service Watchdog to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "service-watchdog",
    "name": "Service Watchdog",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/mariusfit/service-watchdog",
    "canonicalUrl": "https://clawhub.ai/mariusfit/service-watchdog",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/service-watchdog",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=service-watchdog",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "watchdog.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/service-watchdog"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/service-watchdog",
    "downloadUrl": "https://openagent3.xyz/downloads/service-watchdog",
    "agentUrl": "https://openagent3.xyz/skills/service-watchdog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/service-watchdog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/service-watchdog/agent.md"
  }
}
```
## Documentation

### Service Watchdog

Lightweight service and endpoint monitoring for self-hosted infrastructure. Checks HTTP endpoints, TCP ports, SSL certificate expiry, and DNS resolution — then reports status in a clean, chat-friendly format.

### What It Does

HTTP Health Checks — GET/POST with expected status codes, response time tracking, content matching
TCP Port Checks — Verify services are listening (databases, mail servers, game servers, etc.)
SSL Certificate Monitoring — Days until expiry, issuer info, auto-warn thresholds
DNS Resolution — Verify domains resolve correctly, detect DNS hijacking
Smart Summaries — One-glance status for all your services, with trend data
Alert Logic — Configurable thresholds, cooldowns, and severity levels to prevent alert fatigue

### 1. Create a watchlist

Create watchdog.json in your workspace root:

{
  "services": [
    {
      "name": "Home Assistant",
      "type": "http",
      "url": "http://192.168.1.100:8123",
      "expect_status": 200,
      "timeout_ms": 5000
    },
    {
      "name": "Proxmox",
      "type": "https",
      "url": "https://proxmox.local:8006",
      "expect_status": 200,
      "ssl_warn_days": 14,
      "timeout_ms": 5000
    },
    {
      "name": "PostgreSQL",
      "type": "tcp",
      "host": "db.local",
      "port": 5432,
      "timeout_ms": 3000
    },
    {
      "name": "My Domain",
      "type": "dns",
      "domain": "example.com",
      "expect_ip": "93.184.216.34"
    }
  ],
  "defaults": {
    "timeout_ms": 5000,
    "ssl_warn_days": 14,
    "alert_cooldown_min": 30,
    "history_retention_days": 30
  }
}

### 2. Run a check

bash skills/service-watchdog/watchdog.sh

Output example:

🟢 Home Assistant       — 200 OK (142ms)
🟢 Proxmox              — 200 OK (89ms) | SSL: 47 days
🟢 PostgreSQL           — port 5432 open (12ms)
🟢 My Domain            — resolves to 93.184.216.34 ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4/4 healthy | avg response: 81ms | checked: 2026-02-24 16:30 UTC

### 3. Detailed report

bash skills/service-watchdog/watchdog.sh --report

Shows trend data: uptime percentage, P95 response times, incident history.

### 4. JSON output (for cron integration)

bash skills/service-watchdog/watchdog.sh --json

### 5. Check SSL only

bash skills/service-watchdog/watchdog.sh --ssl-only

### 6. Alert summary (for messaging)

bash skills/service-watchdog/watchdog.sh --alerts-only

Only outputs services that need attention (down, slow, SSL expiring).

### Cron Integration

Add to your OpenClaw cron for continuous monitoring:

Every 5 minutes (lightweight check):

Run \`bash skills/service-watchdog/watchdog.sh --json\` and report only if any service is unhealthy.

Daily SSL report:

Run \`bash skills/service-watchdog/watchdog.sh --ssl-only\` and report expiring certificates.

### Service types

TypeRequired FieldsOptional Fieldshttp / httpsurlexpect_status, expect_body, method, headers, timeout_ms, ssl_warn_daystcphost, porttimeout_msdnsdomainexpect_ip, nameserver

### Global defaults

FieldDefaultDescriptiontimeout_ms5000Request timeoutssl_warn_days14SSL expiry warning thresholdalert_cooldown_min30Min minutes between repeated alertshistory_retention_days30How long to keep check historyhistory_filewatchdog-history.csvPath for check history data

### How the Agent Should Use This

When the user asks about service status, infrastructure health, or "are my services up?":

Run bash skills/service-watchdog/watchdog.sh for a quick overview
Run with --report for detailed trends and history
Run with --alerts-only for just the problems
Run with --ssl-only to check certificate status
Run with --json when you need structured data for further analysis

For proactive monitoring, run checks in cron jobs and only alert the user when something is wrong.

### Requirements

curl (for HTTP/HTTPS checks)
openssl (for SSL certificate checks)
nc or ncat (for TCP port checks) — falls back to bash /dev/tcp if unavailable
dig or nslookup (for DNS checks) — falls back to host command
jq (for JSON config parsing)

All standard on most Linux distributions. No external APIs or accounts needed.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mariusfit
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/service-watchdog)
- [Send to Agent page](https://openagent3.xyz/skills/service-watchdog/agent)
- [JSON manifest](https://openagent3.xyz/skills/service-watchdog/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/service-watchdog/agent.md)
- [Download page](https://openagent3.xyz/downloads/service-watchdog)