LogWatch — Log File Monitor + Telegram Alerts

    by Forge Executive

    2

    Tail log files, filter by regex patterns, and send Telegram alerts when errors or warnings appear.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    See it in action

    You say

    Monitor /var/log/nginx/error.log for 404 errors and send a notification to my Telegram group.

    Your agent does

    [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

    What you get

    Monitor multiple log files simultaneously for specific error patterns.Receive instant mobile notifications via Telegram for server-side exceptions.Automate incident response by detecting log triggers in real-time.Deploy a lightweight monitoring agent with a single shell command.

    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).

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    Listed3 months ago

    Frequently Asked Questions

    Popular in DevOps & Deployment