计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
pulse【效率与协作】Query and control Pulse monitoring system via REST API. Use for checking infrastructure health, resource status (nodes/VMs/containers/storage), metrics, alerts, and system management. Supports authentication via API token or session. Use when user asks about Pulse status, infrastructure monitoring, or needs to interact with the Pulse dashboard progra…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
CLI tool for interacting with Pulse infrastructure monitoring system.
Set environment variables or pass flags:
PULSE_URL - Base URL (default: https://demo.pulserelay.pro)PULSE_TOKEN - API token for authentication (pre-configured)# Check system health
pulse health
# Get complete infrastructure state
pulse state
# Get resource summary
pulse resources --stats
# View specific resource
pulse resource <resource-id>
# Get metrics for a time range
pulse metrics --range 24h
pulse health
# Returns: status, uptime, timestamp
pulse state
# Complete state: Nodes, VMs, Containers, Storage, Alerts
pulse resources # List all resources
pulse resources --stats # Summary counts and health
pulse resource <id> # Single resource details
pulse metrics --range 1h # CPU, Memory, Storage charts
pulse metrics --range 24h
pulse metrics --range 7d
# Available ranges: 5m, 15m, 30m, 1h, 4h, 12h, 24h, 7d
pulse storage-stats # Detailed storage usage
pulse backups # Unified backup history
pulse test-notification # Send test alert
pulse notification-health # Check notification system
pulse updates check # Check for Pulse updates
pulse updates status # Current update status
pulse updates apply # Apply available updates
pulse agents list # List all agents
pulse agent <id> config # Get agent configuration
pulse agent <id> unlink # Unlink agent from node
pulse tokens list # List API tokens
pulse token create --name "automation" --scopes "monitoring:read"
pulse token revoke <id> # Revoke token
pulse ai status # AI patrol status
pulse ai findings # Current AI findings
pulse ai run # Trigger AI patrol run
Create a helper script at ~/.local/bin/pulse:
#!/bin/bash
# Pulse CLI wrapper
PULSE_URL="${PULSE_URL:-https://demo.pulserelay.pro}"
PULSE_TOKEN="${PULSE_TOKEN:-a4b819a65b8d41318d167356dbf5be2c70b0bbf7d5fd4687bbf325a6a61819e0}"
endpoint="$1"
shift
curl -s -H "X-API-Token: $PULSE_TOKEN" \
"${PULSE_URL}/api/${endpoint}" "$@" | jq
Make it executable:
chmod +x ~/.local/bin/pulse
pulse state | jq '.hosts[] | {name: .displayName, memory}'
pulse state | jq '.containers[] | select(.cpu > 80)'
pulse state | jq '.alerts'
pulse metrics --range 24h > metrics-$(date +%Y%m%d).json
curl -H "X-API-Token: your-token" http://pulse:7655/api/health
curl -H "Authorization: Bearer your-token" http://pulse:7655/api/health
Used by web UI automatically.
/health, /version)https://demo.pulserelay.pro/api