43 lines
1.9 KiB
Markdown
43 lines
1.9 KiB
Markdown
# 2026-02-09 — Daily Log
|
|
|
|
## System Fixes & Setup
|
|
|
|
### 1. Fixed pytz Missing Dependency
|
|
- **Issue:** Heartbeat cron jobs failing with `ModuleNotFoundError: No module named 'pytz'`
|
|
- **Fix:** `pip install pytz`
|
|
- **Result:** All heartbeat checks now working (agent messages, timestamp logging, delayed notifications)
|
|
|
|
### 2. Created Log Monitor Skill
|
|
- **Location:** `/root/.openclaw/workspace/skills/log-monitor/`
|
|
- **Purpose:** Daily automated log scanning and error repair
|
|
- **Schedule:** 2:00 AM CST daily via system crontab
|
|
- **Features:**
|
|
- Scans systemd journal, cron logs, OpenClaw session logs
|
|
- Auto-fixes: missing Python modules, permission issues, service restarts
|
|
- Alerts on: disk full, services down, unknown errors
|
|
- Comprehensive noise filtering (NVIDIA, PAM, rsyslog container errors)
|
|
- Self-filtering (excludes its own logs, my thinking blocks, tool errors)
|
|
- Service health check: Redis via Python (redis-cli not in container)
|
|
- **Report:** `/tmp/log_monitor_report.txt`
|
|
|
|
### 3. Enabled Parallel Tool Calls
|
|
- **Configuration:** Ollama `parallel = 8`
|
|
- **Usage:** All independent tool calls now batched and executed simultaneously
|
|
- **Tested:** 8 parallel service health checks (Redis, Qdrant, Ollama, SearXNG, Kokoro TTS, etc.)
|
|
- **Previous:** Sequential execution (one at a time)
|
|
|
|
### 4. Redis Detection Fix
|
|
- **Issue:** `redis-cli` not available in container → false "redis-down" alerts
|
|
- **Fix:** Use Python `redis` module for health checks
|
|
- **Status:** Redis at 10.0.0.36:6379 confirmed working
|
|
|
|
## Files Modified/Created
|
|
- `/root/.openclaw/workspace/skills/log-monitor/scripts/log_monitor.py` (new)
|
|
- `/root/.openclaw/workspace/skills/log-monitor/SKILL.md` (new)
|
|
- System crontab: Added daily log monitor job
|
|
|
|
## Notes
|
|
- Container has no GPU → NVIDIA module errors are normal (filtered)
|
|
- rsyslog kernel log access denied in container (filtered)
|
|
- All container-specific "errors" are now excluded from reports
|