Skip to content

AI Watchdogs Fleet

4 min readUpdated: Nov 29, 2026
View as Markdown

The AI Watchdogs Fleet module introduces autonomous AI inspection agents to infrastructure maintenance. Rather than waiting for a hard failure or a customer-reported outage, AI Watchdogs periodically execute structured health checks across servers, databases, and telephony daemons via Model Context Protocol (MCP) tools, detecting insidious conditions such as memory leaks, creeping disk fill-ups, connection pool exhaustion, and SIP ladder latency degradation.

NMS AI Watchdogs Fleet


Role Primary Use Case Key Capabilities
Site Reliability Engineers (SRE) Proactive failure prevention and health auditing. Deploy specialized watchdog agents, bind them to cron schedules, and inspect autonomous diagnostic reports.
Database Administrators Autonomous SQL query and index inspection. Run agents that analyze slow query logs, table bloat, and PostgreSQL vacuum states.
VoIP / Telecom Architects SIP signaling and media stream diagnostics. Audit RTPEngine MOS metrics, Kamailio dispatch latency, and FreeSWITCH conference room memory.

🤖 Watchdog Agent Architecture & Workflow

Section titled “🤖 Watchdog Agent Architecture & Workflow”
graph TD
    Cron[Cron Schedule Profile] --> Trigger[Trigger Watchdog Agent]
    Trigger --> LLM[AI Reasoning Engine: Claude / GPT-4o / Gemini]
    LLM --> Tools[Model Context Protocol Tools]

    Tools --> T1[Query Database Telemetry]
    Tools --> T2[Check Disk Partition & I/O Stats]
    Tools --> T3[Audit Process Memory & CPU Spike]
    Tools --> T4[Inspect Kamailio / FreeSWITCH Sockets]

    Tools --> Report[Agent Synthesis & Verdict]
    Report -- All Clear --> Log[Audit Log & Green Badge]
    Report -- Anomaly Found --> Alert[Telegram & Email Dispatch with Remediation Suggestions]

Each watchdog agent can be configured with an explicit mission:

  • Storage Watchdog: Scans /var/log, database tablespaces, and call recording directories, predicting when disks will reach 90% capacity based on ingestion velocity.
  • SIP Perimeter Watchdog: Audits Kamailio dispatcher latencies and Pike anti-flood blocklists.
  • Database Watchdog: Checks active connection counts against max_connections, identifying orphaned or long-running transactions.
  • SSL Certificate Watchdog: Inspects expiration dates across all cluster domains and verifies auto-renewal status.

During each scheduled or manual inspection cycle over ED25519 SSH, AI Watchdogs automatically verify the systemd unit state and listening sockets across the entire Ring2All package suite:

  • Application Control Plane Daemons: softswitch-pbx-api, softswitch-pbx-monitoring-api, softswitch-sbc-api, softswitch-bss-api, softswitch-dms-api, and softswitch-nms-api.
  • Carrier Signaling & Media Engines: freeswitch (:5060 / :5080 / :8021), kamailio (:5060 / :5061), rtpengine (:22222), and livekit (:7880 / :7881).
  • Data, Proxy & Security Infrastructure: postgresql (:5432), redis / redis-server (:6379), nginx (:80 / :443), nftables, and fail2ban.

When an agent detects an anomaly, it produces an executive incident report detailing:

  • The Root Cause: Specific metric or error triggering the warning.
  • The Risk Horizon: Estimated time before operational disruption occurs.
  • Recommended Actions: Actionable shell commands or configuration adjustments sent immediately to the Telegram ops channel and SMTP recipients.

⚙️ Watchdog Agent Configuration Reference

Section titled “⚙️ Watchdog Agent Configuration Reference”
Field Type Description Default
Agent Name Text Identifying label for the watchdog (e.g., Database Health Sentry). Required
AI Provider & Model Select Underlying LLM engine (e.g., Anthropic / Claude 3.5 Sonnet, OpenAI / GPT-4o). Active Hub Default
Cron Schedule Select Execution frequency bound to a Cron Profile (e.g., Every 15 minutes, Hourly). Hourly
System Prompt / Goal Textarea Detailed behavioral instructions defining what metrics to analyze and what thresholds to enforce. Standard Template
Assigned MCP Tools Multi-Select Set of system diagnostics tools the agent is authorized to invoke. Read-Only Tools
Notification Channel Select Target alert channel: Telegram Bot, Email, or Webhook. Default Alert Bot
Status Toggle Active/Inactive state of the watchdog agent. true