Files
marketplace-ai/plugins/server-ops/skills/server-healthcheck/SKILL.md
T

2.2 KiB

name, description
name description
server-healthcheck Проверяет состояние Linux-сервера и обновляет инвентарь. Охватывает ресурсы, сбойные службы, контейнеры, слушающие порты и фаервол. Проверки выполняются без изменений на сервере.

Use the server-ops checkout for all repository paths and commands in this skill.

Use server-operate to resolve the target and connect with the pinned SSH runner. Check the host unless the request names a container. Use the recorded inventory to identify expected services and choose the checks relevant to the request.

Check Example read-only commands
Identity and resources hostname, uname -srmo, uptime, free -m, df -hPT -l, df -iP -l
Systemd when present systemctl is-system-running, systemctl --failed --no-pager, systemctl is-active UNIT for expected services
Containers when used docker ps -a --format '{{.Names}}\t{{.Status}}' against the intended local engine, or the equivalent for the installed runtime
Listeners and firewall ss -lntup and the active firewall's read-only status, such as ufw status verbose
  • Check service status and recent logs for observed failures. For example, use journalctl -u UNIT --since '30 minutes ago' -n 50 --no-pager.
  • Interpret each result in context. Systemd returns a nonzero status for a degraded host. Check active firewall rules independently of the firewall unit state. The disk commands above cover local filesystems. Report when permissions, the container engine, or the network namespace limit visibility.
  • For low free space or inode exhaustion, use disk-pressure.
  • Probe a known read-only local health endpoint when application health is in scope. Use service-reachability for external endpoint or TLS checks.
  • Report the observation point, each finding and exit status, and any gaps. Update the inventory with verified changes and record the result.