OllamaWatch — Catch Ollama Crashes Before Your Users Do (Telegram Alerts)

    by Samoxis

    2

    Get a Telegram alert the moment a model crashes, the GPU runs out of memory, or the API stops responding.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    OllamaWatch — Catch Ollama Crashes Before Your Users Do (Telegram Alerts)

    Example session with this skill installed

    My Ollama server keeps going down overnight and I don't know why. Run OllamaWatch and set up Telegram alerts so I get notified the moment it goes down or recovers.

    • Read your context and instructions
    • Compiled the ollamawatch

    🔴 OLLAMA DOWN
    http://localhost:11434
    Error: Connection refused (is Ollama running?)

    💡 Ollama is not running. Start with: ollama serve (or check the systemd/service).

    2026-06-07 21:42:18 UTC


    ✅ OLLAMA RECOVERED
    http://localhost:11434
    Latency: 142 ms
    Loaded: llama3.1:8b-instruct-q4_K_M

    2026-06-07 21:47:33 UTC

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Stop babysitting your Ollama server. Get a Telegram alert the moment a model crashes, the GPU runs out of memory, or the API stops responding.

    Built for homelabbers and self-hosters running Ollama 24/7 who don't want to pay for SaaS monitoring or refresh dashboards manually.

    Features:

    • DOWN alerts (🔴): instant notification when the API is unreachable, hung, or returning errors
    • DEGRADED alerts (⚠️): CUDA OOM, runner crashes, log errors, GPU memory above 95%
    • RECOVERED alerts (✅): service is back, includes latency and currently loaded models
    • Smart alerting: fires only on state transitions, no spam
    • Built-in fix hints: every alert includes a suggested remediation
    • NVIDIA GPU monitoring via nvidia-smi (gracefully skipped on AMD/Intel/CPU-only setups)
    • Cross-platform: Linux, macOS, Windows (auto-detects log paths)
    • Single-file Python script: no Docker, no Node.js, no SaaS subscription
    • MIT licensed

    Install: pip install -r requirements.txt python3 ollamawatch.py check # one-shot health check python3 ollamawatch.py watch # continuous monitoring

    Requires: Python 3.8+, Ollama (local or remote), free Telegram bot (5-min setup).

    Use cases:

    • Monitor a remote Ollama box you cannot see (headless homelab, VPS)
    • Get woken up if an overnight batch job hangs the GPU
    • Catch memory leaks before they take down your inference stack
    • Detect when a model pull has stalled mid-download
    • Replace expensive SaaS monitoring ($0/month vs $30+/month)

    • NVIDIA GPU only for memory monitoring; AMD/Intel/CPU work but skip GPU checks
    • Log scanning requires the Ollama log file in a readable location (configurable)
    • State held in memory; restart resets alert deduplication
    • Watch mode minimum interval is 30 seconds

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    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 1 month ago

    Accounts
    Telegram
    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.telegram.org

    File Scopes

    ollamawatch/**

    Terminal: required to run nvidia-smi for GPU memory monitoring (read-only, fixed command, no shell expansion). Read/Write Files: config.json, .env, state file, log tailing. Network: outbound to Ollama API (default localhost:11434) and api.telegram.org for alerts only. Environment Variables: reads TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID from .env — these two variables only.

    Listed6 months ago

    What's inside

    Creator

    Samoxis

    Samoxis

    Frequently Asked Questions

    OllamaWatch is a specialized monitoring script that constantly checks your Ollama API's health and GPU status. It prevents situations where your AI services go offline for hours without you knowing by sending instant, actionable alerts directly to your phone via Telegram.

    The script is compatible with any agent or application that uses an Ollama backend. It works on Linux, macOS, and Windows, automatically detecting your system's log paths and adapting its monitoring based on whether you are using an NVIDIA GPU or CPU/Apple Silicon.

    Setup is designed to be completed in under five minutes. You simply install the Python requirements, create a free Telegram bot via "BotFather" to get an API token, and run the script—no complex Docker configurations or database setups are required.

    Unlike most monitoring tools, OllamaWatch includes 'Fix Hints' with every alert. Instead of just telling you the server is down, it analyzes the error (like a CUDA OOM or a hung runner) and suggests the specific steps needed to resolve the crash.

    You receive the full source code (a single-file Python script), a requirements file for easy installation, and a setup guide. As an MIT-licensed tool, you have full ownership to modify the script for your specific homelab environment without any recurring subscription fees.

    OllamaWatch uses smart state-transition logic, meaning it only sends a message when your server’s status changes (e.g., from 'Healthy' to 'Down'). You won't be spammed with repeat notifications if the server remains in a failed state.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.