Initial documentation structure
This commit is contained in:
50
docs/operations/README.md
Normal file
50
docs/operations/README.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# Operations Guide
|
||||
|
||||
## Daily Operations
|
||||
|
||||
### Morning Health Check
|
||||
|
||||
Check services:
|
||||
systemctl status orchestrator
|
||||
systemctl status gitea-webhook
|
||||
|
||||
Check for pending PRs:
|
||||
curl -s https://git.salmutt.dev/api/v1/repos/sal/srx-config/pulls?state=open
|
||||
|
||||
View recent activity:
|
||||
journalctl -u orchestrator --since "12 hours ago" | grep -E "anomaly|trigger"
|
||||
|
||||
### Manual Operations
|
||||
|
||||
Trigger Analysis:
|
||||
cd /home/netops/orchestrator
|
||||
python3 run_pipeline.py --context security --timeout 120
|
||||
|
||||
View AI Responses:
|
||||
ls -lt /shared/ai-gitops/responses/ | head -10
|
||||
|
||||
Check Learning Patterns:
|
||||
cat /shared/ai-gitops/learning/patterns.json
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Service Issues
|
||||
|
||||
Check logs:
|
||||
journalctl -u orchestrator -n 50
|
||||
|
||||
Verify NFS mount:
|
||||
df -h | grep shared
|
||||
|
||||
Test Elasticsearch:
|
||||
curl -s 192.168.100.85:9200/_cluster/health
|
||||
|
||||
### AI Not Responding
|
||||
|
||||
SSH to AI processor:
|
||||
ssh netops@192.168.100.86
|
||||
systemctl status ai-processor
|
||||
systemctl status ollama
|
||||
|
||||
Test Ollama:
|
||||
curl http://localhost:11434/api/tags
|
||||
Reference in New Issue
Block a user