Logwatch Ai
Description
Logwatch AI Analyzer - An automated system that analyzes logwatch reports using Claude AI and sends summarized insights via Telegram channel.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Logwatch AI Analyzer
[!WARNING] **This project has been superseded by [logwatch-ai-go](https://github.com/olegiv/logwatch-ai-go)** - a complete rewrite in Go with improved performance and simpler deployment.
This Node.js version is archived and no longer maintained.
An automated system that analyzes logwatch reports using Claude AI and sends summarized insights via Telegram bot.
Features
- Daily automated logwatch analysis using Claude AI
- Intelligent summarization of system logs
- Critical issue detection and prioritization
- Actionable recommendations
- Telegram notifications with formatted reports
- Historical trend analysis
- SQLite database for storing analysis history
- Comprehensive error handling and logging
- Prompt caching for cost optimization (16-30% savings per analysis)
Requirements
- Ubuntu 24.04.2 LTS (or similar Linux distribution)
- Node.js 20 or higher
- logwatch installed (
apt-get install logwatch) - Cron for scheduled logwatch generation (see Cron Setup)
- Claude API key (Anthropic)
- Telegram Bot token and chat ID
Deployment Options
Option 1: Standalone Binary (No Node.js Required)
Build a standalone executable that includes Node.js runtime and all dependencies:
# Build binary
npm install
npm run build
# Deploy
scp dist/logwatch-ai-linux-x64 user@server:/opt/logwatch-ai/
scp dist/sql-wasm.wasm user@server:/opt/logwatch-ai/
scp .env user@server:/opt/logwatch-ai/
# Run on target server (no Node.js needed!)
./logwatch-ai-linux-x64
**Benefits:**
- No Node.js installation required on target servers
- Single executable file (~80-100MB)
- Simplified deployment
- Ideal for production servers
See **[Build Documentation](docs/BUILD.md)** for detailed instructions.
Option 2: Standard Node.js Installation
Traditional installation with Node.js runtime:
Quick Start
1. Clone or Download
cd /opt
git clone https://github.com/olegiv/logwatch-ai.git logwatch-ai
#
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI