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

> Your headless Ollama box crashes at 3am and you find out hours later. OllamaWatch pings your Telegram the instant a model dies, the GPU runs out of memory, or the API hangs — with a fix hint in every alert. One Python file, no SaaS, no dashboards.

OllamaWatch — Catch Ollama Crashes Before Your Users Do (Telegram Alerts) is a paid AI agent skill on Agensi by Samoxis, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Samoxis](https://www.agensi.io/creators/sorin-h-nceanu)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-06-07
- Security: scan passed (2026-10-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ollamawatch-local-llm-health-monitor-telegram-alerts
- Tags: ai-agents, ollama, local-llm, monitoring, telegram, homelab, gpu-triage, alerts

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

## Requires

- Python

## Known limitations

- 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the OllamaWatch — Catch Ollama Crashes Before Your Users Do (Telegram Alerts) skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific problem does OllamaWatch solve for local LLM users?

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.

### Which operating systems and hardware setups are compatible with this tool?

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.

### How difficult is the installation process for someone who isn't a DevOps expert?

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.

### Does this provide more information than a simple 'ping' to the API?

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.

### What exactly is included in the purchase of this skill?

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.

### Will I be flooded with Telegram notifications if my server stays down for an hour?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
