home / skills / openclaw / skills / ping-monitor

ping-monitor skill

/skills/xejrax/ping-monitor

This skill performs ICMP health checks using ping to verify host reachability and monitor uptime across networks.

npx playbooks add skill openclaw/skills --skill ping-monitor

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
615 B
---
name: ping-monitor
description: "ICMP health check for hosts, phones, and daemons"
metadata:
  {
    "openclaw":
      {
        "emoji": "🏓",
        "requires": { "bins": ["ping"] },
        "install": [],
      },
  }
---

# Ping Monitor

ICMP health check for hosts, phones, and daemons. Uses the standard `ping` utility to verify network reachability of any target host.

## Commands

```bash
# Ping a host with default settings
ping-monitor <host>

# Ping a host with a specific count
ping-monitor check <host> --count 3
```

## Install

No installation needed. `ping` is always present on the system.

Overview

This skill performs ICMP health checks for hosts, phones, and daemons using the system ping utility. It provides a simple command-line interface to verify network reachability and basic responsiveness of any target address. No additional installation is required if the system ping command is available.

How this skill works

The skill invokes the native ping tool to send ICMP echo requests to the specified target and parses the results to determine reachability and packet loss. You can run a default single check or specify a count to collect multiple samples. It reports success/failure and basic timing statistics so you can detect intermittent outages or high latency.

When to use it

  • Verify whether a server, network device, or phone is reachable over IP.
  • Quickly check reachability from a host without needing extra tooling or dependencies.
  • Monitor simple service availability as part of a script or cron job.
  • Diagnose intermittent connectivity or high-latency issues with basic timing metrics.
  • In automation workflows where a lightweight network health probe is required.

Best practices

  • Run multiple pings (--count) to avoid false negatives from transient packet loss.
  • Combine ping checks with higher-level service checks (HTTP, TCP) for complete health monitoring.
  • Use consistent scheduling and logging when integrating into automated monitoring to track trends over time.
  • Run checks from the same network location that represents your users to get meaningful latency and reachability results.

Example use cases

  • Quickly verify a remote server is online before SSH or deploy operations.
  • Confirm a SIP phone or IP phone is reachable on the LAN during troubleshooting.
  • Script a periodic cron job that pings a critical daemon and alerts on consecutive failures.
  • Include lightweight reachability checks in CI pipelines to gate network-dependent tests.
  • Collect simple latency samples from different hosts to compare network paths.

FAQ

Does this require installing extra software?

No. It uses the system-provided ping command, so no additional install is needed if ping is present.

Can I use this to monitor services beyond reachability?

Ping checks only verify ICMP-level reachability and basic latency. For application-level health checks, combine with service-specific probes like HTTP or TCP checks.