Files
2025-11-30 08:52:48 +08:00

57 lines
1.6 KiB
Markdown

---
description: Check enterprise system status and health metrics
argument-hint: [service] [environment]
---
# Enterprise System Status Check
Check the current status and health metrics of enterprise systems and services.
## Context
- Current system status: !`systemctl status --no-pager`
- Service health: !`curl -s http://localhost:8080/health || echo "Health endpoint not available"`
- Resource usage: !`top -bn1 | head -20`
- Disk usage: !`df -h`
- Memory usage: !`free -h`
- Network connectivity: !`ping -c 3 8.8.8.8 || echo "Network connectivity issues"`
## Your task
Based on the system status information above, provide a comprehensive status report including:
1. **System Health Overview**
- Overall system status (healthy/warning/critical)
- Key performance indicators
- Resource utilization summary
2. **Service Status**
- Critical services status
- Application health endpoints
- Database connectivity
- External service dependencies
3. **Performance Metrics**
- CPU, memory, and disk usage
- Network connectivity and latency
- Application response times
- Error rates and availability
4. **Recommendations**
- Immediate actions if issues detected
- Performance optimization suggestions
- Capacity planning recommendations
- Monitoring improvements
## Arguments
- `service`: Specific service to check (optional)
- `environment`: Environment to check (dev/staging/prod, optional)
## Usage Examples
```
/status
/status database
/status api prod
```
Focus on enterprise-grade monitoring and provide actionable insights for system reliability and performance.