用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/automateyournetwork/netclaw --skill syslog-receiver命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | syslog-receiver |
| description | Receive and query syslog messages from network devices via UDP. |
| version | 1.0.0 |
| license | Apache-2.0 |
| author | netclaw |
| tags | [] |
Receive and query syslog messages from network devices via UDP.
syslog-receiver
This skill enables NetClaw to receive syslog messages from network devices (routers, switches, firewalls) and query the collected data. It supports both RFC 5424 (modern) and RFC 3164 (BSD/Cisco) syslog formats.
syslog-mcp
| Tool | Purpose |
|---|---|
syslog_start_receiver | Start listening for syslog messages |
syslog_stop_receiver | Stop the receiver |
syslog_get_status | Check receiver status and statistics |
syslog_query | Search messages with filters |
syslog_get_message | Get full details of a specific message |
syslog_get_severity_counts | Get message counts by severity |
1. Use syslog_start_receiver with port 10514
2. Configure network devices to send syslog to this port
3. Use syslog_get_status to verify messages are being received
1. Use syslog_query with severity_max=3 to find ERROR and above
2. Filter by hostname or source_ip if investigating specific device
3. Use message_contains to search for specific keywords
4. Use syslog_get_message for full details of interesting entries
1. Use syslog_get_severity_counts to see distribution
2. Focus on CRITICAL, ERROR, WARNING counts
3. Query high-severity messages for details
The syslog-mcp server is configured via environment variables:
SYSLOG_PORT: UDP listening port (default: 514)SYSLOG_BIND_ADDRESS: Bind address (default: 0.0.0.0)SYSLOG_RETENTION_HOURS: Message retention (default: 24)SYSLOG_RATE_LIMIT: Max messages/second (default: 1000)SYSLOG_DEDUP_WINDOW: Dedup window in seconds (default: 5)snmptrap-receiver - SNMP trap collectionipfix-receiver - Flow data collectiongnmi-telemetry - Streaming telemetry