89 lines
2.5 KiB
Markdown
89 lines
2.5 KiB
Markdown
# DevOps Monitor Template
|
|
|
|
## Overview
|
|
|
|
Your infrastructure monitoring companion. Track server health, monitor deployments, analyze logs, and stay on top of alerts—all in one place.
|
|
|
|
## Features
|
|
|
|
### Server Health Monitoring
|
|
- 📊 Real-time resource monitoring (CPU, Memory, Disk, Network)
|
|
- 🔔 Automatic anomaly detection
|
|
- 📈 Historical trend analysis
|
|
|
|
### Deployment Tracking
|
|
- 🚀 Real-time deployment status
|
|
- 📋 Deployment history and rollback support
|
|
- ⚡ Post-deployment health verification
|
|
|
|
### Log Management
|
|
- 📄 Centralized log aggregation
|
|
- 🔍 Powerful search and filtering
|
|
- 🐛 Error pattern detection
|
|
|
|
### Alerting
|
|
- 🔴 Severity-based alert routing
|
|
- 📱 Multi-channel notifications
|
|
- ✅ Alert acknowledgment workflow
|
|
|
|
## Quick Start
|
|
|
|
1. Install required skills:
|
|
```bash
|
|
npx clawhub@latest install server-monitor
|
|
npx clawhub@latest install docker
|
|
npx clawhub@latest install log-analysis
|
|
```
|
|
|
|
2. Configure servers and thresholds in MEMORY.md
|
|
|
|
3. Set up alert channels in skills configuration
|
|
|
|
## Usage Examples
|
|
|
|
**Check server status:**
|
|
```
|
|
"How are all servers doing?"
|
|
"CPU usage on web-01"
|
|
```
|
|
|
|
**Monitor deployment:**
|
|
```
|
|
"Deploy v2.3 to production"
|
|
"What's the deployment status?"
|
|
```
|
|
|
|
**Query logs:**
|
|
```
|
|
"Show me errors from the last hour"
|
|
"Search logs for timeout"
|
|
```
|
|
|
|
**Alert management:**
|
|
```
|
|
"Any critical alerts?"
|
|
"Acknowledge alert #123"
|
|
```
|
|
|
|
## Architecture
|
|
|
|
```
|
|
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
│ Servers │────▶│ Monitor │────▶│ Alerts │
|
|
│ (Docker/ │ │ Agent │ │ System │
|
|
│ K8s) │ │ │ │ │
|
|
└─────────────┘ └─────────────┘ └─────────────┘
|
|
│ │
|
|
▼ ▼
|
|
┌─────────────┐ ┌─────────────┐
|
|
│ Log │ │ Slack/ │
|
|
│ Analysis │ │ Email │
|
|
└─────────────┘ └─────────────┘
|
|
```
|
|
|
|
## Customization
|
|
|
|
- Edit `workflows/*.yaml` to adjust monitoring frequency
|
|
- Update `MEMORY.md` with your infrastructure details
|
|
- Configure thresholds based on your requirements
|