- Home
- Skills
- DevOps & Cloud
- LogWatch — Log File Monitor + Telegram Alerts
LogWatch — Log File Monitor + Telegram Alerts
Tail log files, filter by regex patterns, and send Telegram alerts when errors or warnings appear.
$7
Works with the AI Agents you already use
LogWatch — Log File Monitor + Telegram Alerts
Example session with this skill installed
Monitor /var/log/nginx/error.log for 404 errors and send a notification to my Telegram group.
- Read your context and instructions
- Compiled the logwatch
[LOGWATCH] Alert triggered: Standard Error detected in /var/log/nginx/error.log
Pattern: "404 Not Found"
Timestamp: 2023-10-27 14:05:22
Message: 192.168.1.1 - - [27/Oct/2023:14:05:22 +0000] "GET /api/v1/admin HTTP/1.1" 404 153 "-" "Mozilla/5.0"
Sent to Telegram group ID: -100123456789
Connects securely to your tools. The creator never sees your data.
About this skill
Monitor log files in real-time. Configure patterns to watch for (errors, warnings, exceptions) and get Telegram alerts the moment they appear.
Features
- Watch any log file — /var/log/syslog, app logs, access logs
- Custom regex patterns — ERROR, WARN, or your own
- Smart position tracking — only reads new lines since last check
- Alerts sent to Telegram with file path, matched pattern, and line content
- Configurable severity levels (high, medium, low)
- MIT licensed
Install
unzip logwatch-agensi.zip && npm install --production && node src/index.js watch
Edit config.json with your log file paths and patterns. Set TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID in .env.
Example config.json: {"files": ["/var/log/syslog"], "patterns": [{"name":"ERROR","regex":"error|failed|exception","severity":"high"}]}
Requires: Node.js v18+, Telegram account (free).
- No support for log rotation handling (moving files).
- Requires manual Telegram bot/chat ID setup.
- Performance may lag on files >500MB.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 months ago
Requires
Permissions
Allowed Hosts