---
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
🎯 What is Chihuaudit?
A portable, single-binary system auditing tool for Linux. Like Lynis but faster and smarter.
**No configuration needed. No dependencies. Just run.**
✨ Features
- **🔒 Security**: Firewall, SSH hardening, SSL/TLS, fail2ban, SUID binaries, open ports
- **🚀 Services**: Systemd services, web servers, databases, Docker
- **💻 Resources**: CPU, RAM, disk usage, top processes
- **💾 Storage**: SMART health, inode usage, filesystem errors
- **🗄️ Databases**: PostgreSQL, MySQL, Redis health checks
- **🐳 Docker**: Container status, resource usage, volumes
- **🌐 Network**: DNS resolution, latency, interfaces, connections
- **📦 Backups**: Backup detection and freshness checks
- **📝 Logs**: Error analysis, SSH attempts, service restarts
- **⏰ Monitoring**: Continuous mode with Discord webhook notifications
🤖 Claude Skill Alternative
**Don't want to install anything?** Use the **Claude Skill** version instead!
Execute the same comprehensive system audit directly through Claude (Sonnet, Opus, or Haiku) using native shell commands - no binary installation required.
**Key Benefits**:
- 🚀 **Zero Installation** - Works immediately with sudo access
- 🔄 **Consistent Results** - 1+ year of production use with extremely reliable output
- 📊 **Same Coverage** - All 87 checks, 10 categories, identical methodology
- ⚡ **Fast** - 30-90 second execution time
**Requirements**: Linux with systemd, sudo NOPASSWD configured, Claude with shell access
**Documentation**: docs/skill/chihuaudit-skill.md
---
🚀 Quick Start
Build
Run
📊 Example Output
Terminal Output
🔧 Webhook Notifications
Chihuaudit supports **webhook notifications** for real-time monitoring alerts. While optimized for Discord, it works with **any webhook-compatible service** (Slack, Microsoft Teams, Mattermost, custom endpoints, etc.).
*Color-coded alerts: 🟢 Green (healthy), 🟡 Yellow (warnings), 🔴 Red (critical)*
Setup
Configuration
Webhook Compatibility
**Discord** (native support):
- Rich embeds with color-coded alerts
- Custom avatar and username
- Timestamp and structured fields
**Slack** (works with minor format differences):
- Use discord_webhook field with your Slack webhook URL
- Embeds translate to Slack attachments
- Colors and formatting preserved
**Other services**:
- Any service accepting JSON POST with embeds field
- Microsoft Teams incoming webhooks
- Mattermost webhooks
- Custom webhook handlers
Alert Thresholds
**CPU Load**: Trigger when load average exceeds threshold
**Memory Usage**: Alert on RAM usage percentage
**Disk Space**: Warning when disk usage crosses limit
**Ignore List**: Skip notifications for frequently changing metrics
Monitoring Mode
Changes are detected and only significant events trigger notifications, reducing alert fatigue.