← Back to Skills Marketplace
qoohsuan

Server Watchdog

by Qoohsuan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
226
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install server-watchdog
Description
Monitor remote servers via SSH — check service health (PM2, systemd, Docker), database status (MongoDB, MySQL, PostgreSQL), disk space, memory, and auto-rest...
Usage Guidance
This package is inconsistent and should be reviewed carefully before use. Key concerns: (1) the code is Windows/MongoDB-specific despite a broad multi-service description — don’t assume it will safely monitor Linux/other services; (2) the script expects TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID but the skill metadata doesn't declare these — if you provide a bot token, the script will send messages to Telegram; (3) SKILL.md recommends using expect to pass SSH passwords on the command line — avoid this: prefer SSH key-based auth or an audited secrets mechanism; (4) the script contains hard-coded, environment-specific values (default chatId, an IP/username in alert text, Windows log and D: paths) that may leak or expose sensitive infrastructure details or mislead operators; (5) the workflow instructs copying and running the JS with pm2 on production servers, creating persistent processes and local logs — test in a sandbox first. Recommended actions before installing: (A) run the JS in a controlled test environment and read the full file; (B) replace expect/password-based SSH steps with key-based SSH; (C) set and verify Telegram tokens/chat IDs in a safe way (and remove hard-coded defaults); (D) confirm file paths and service names match your environment, and remove or adjust hard-coded IP/username references; (E) review filesystem write locations and permissions to avoid unexpected writes; (F) if you need cross-platform/multi-service monitoring, request or inspect the full implementation for those other services rather than assuming this skill covers them. If the publisher provides a version that actually supports the broader set of services and declares required credentials, re-evaluate with that package.
Capability Analysis
Type: OpenClaw Skill Name: server-watchdog Version: 1.0.0 The skill bundle contains a monitoring script (scripts/mongodb-watchdog.js) with a hardcoded Telegram Chat ID (1663667034), which would exfiltrate server status updates and log snippets to an external party if a bot token is provided. Additionally, SKILL.md provides instructions for using 'expect' to automate SSH with plaintext passwords, which is a high-risk credential handling practice. The inclusion of specific internal IP addresses (10.0.0.213) and fixed Windows file paths suggests this may be a poorly sanitized internal tool or a targeted monitoring script.
Capability Assessment
Purpose & Capability
The skill claims broad monitoring (PM2, systemd, Docker, MongoDB/MySQL/Postgres, cross-OS) but the included executable (scripts/mongodb-watchdog.js) only implements a Windows-focused MongoDB watchdog (net stop/start, Windows log paths, D: drive path, default chatId, mentions 10.0.0.213). This mismatch suggests either the package is incomplete/partial or mislabeled.
Instruction Scope
SKILL.md instructs the agent/user to perform SSH operations (including password-based SSH via expect) and to copy and run the included Node script on targets. It instructs reading remote logs, restarting services, and embedding passwords into expect/ssh commands — actions that expose credentials and have broad system impact. The instructions do not declare or constrain where alert credentials (Telegram token) come from but the script will attempt to use them.
Install Mechanism
There is no install spec (instruction-only), which reduces installation risk on the agent host. However the SKILL.md explicitly instructs copying the JS file to remote servers and running npm/pm2 there — this writes a persistent process and files on target machines. That remote persistence is part of the skill's behavior and should be considered when granting access.
Credentials
Registry metadata declares no required env vars or credentials, yet the script reads process.env.TELEGRAM_BOT_TOKEN and process.env.TELEGRAM_CHAT_ID and falls back to a hard-coded chatId. SKILL.md also assumes SSH credentials (passwords or keys) but doesn't declare how these should be provided. Requiring passwords via expect is disproportionate and insecure compared to using SSH keys or documented credential fields.
Persistence & Privilege
The skill does not request 'always' or elevated platform privileges, but it instructs deploying a persistent pm2-managed service on remote hosts and writing logs to specified filesystem paths (e.g., D:\ProPower_System\logs). That gives the skill ongoing presence on any server where it's installed — acceptable for monitoring but important to review and restrict.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install server-watchdog
  3. After installation, invoke the skill by name or use /server-watchdog
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug server-watchdog
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Server Watchdog?

Monitor remote servers via SSH — check service health (PM2, systemd, Docker), database status (MongoDB, MySQL, PostgreSQL), disk space, memory, and auto-rest... It is an AI Agent Skill for Claude Code / OpenClaw, with 226 downloads so far.

How do I install Server Watchdog?

Run "/install server-watchdog" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Server Watchdog free?

Yes, Server Watchdog is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Server Watchdog support?

Server Watchdog is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Server Watchdog?

It is built and maintained by Qoohsuan (@qoohsuan); the current version is v1.0.0.

💬 Comments