Ottermon.ai Agentic Monitoring

This project is not covered by Drupal’s security advisory policy.

OtterMon connects a Drupal site to the OtterMon monitoring service. It runs health checks inside Drupal, records findings, collects site snapshots, and sends the results to OtterMon, where they are tracked across all your sites.

Features

Drupal can see configuration, runtime and application state that outside monitoring cannot. OtterMon runs checks against that state and reports the results.

  • Checks: configurable checks, stored as config entities, each with a severity, a schedule (manual or cron) and optional environment rules. Each check reports pass, fail, warn, error or unobserved. unobserved means the check could not see the condition, so a blind spot is never reported as passing.
  • Built-in check types: core status report requirements, update status, cron recency, pending database updates, enabled modules missing from disk, settings.php values, whether a module is enabled, and config value comparison.
  • Findings: recent check results are stored locally. Long-term history lives in OtterMon.
  • Snapshots: collects a bounded site snapshot and queues it for delivery.
  • Push queue: results and snapshots are queued and sent to OtterMon.
  • Events: ottermon.check.changed, ottermon.check.failed and ottermon.check.recovered, for use with ECA.
  • Drush commands: ottermon:status, ottermon:doctor, ottermon:checks, ottermon:check, ottermon:findings, ottermon:snapshot and ottermon:push.
  • Status report integration: OtterMon results appear on the Drupal status report.

Two optional submodules are included:

  • OtterMon Dashboard provides blocks (status, findings summary, run checks, snapshot, push queue) that you can place on a Dashboard.
  • OtterMon Tool exposes the same operations as Tool API plugins, so automation can run them.

Post-Installation

  1. In OtterMon, add the site under monitoring, then generate a Temporary Key under My Organization > MCP / API.
  2. In Drupal, go to Configuration > System > Keys and create a Key holding the Temporary Key.
  3. Go to Configuration > Web services > OtterMon (/admin/config/services/ottermon). Enter the OtterMon API base address, select that Key, and connect.
  4. OtterMon returns the site's own credentials, which are saved as Keys. The Temporary Key is not used again.
  5. Add checks under the Checks tab, or apply a recipe that ships a starter set.
  6. Run drush ottermon:doctor to confirm the connection.

Credentials are stored only through the Key module. They are never kept in configuration, in a configuration export, or in settings.php.

Permissions: administer ottermon and run ottermon checks.

Additional Requirements

  • Drupal 10.6 or 11.4 and later. PHP 8.3 or later.
  • Key, which stores the OtterMon credentials.
  • An OtterMon account, with the site already added under monitoring.
  • Dashboard: place the OtterMon Dashboard blocks.
  • Tool API: required by the OtterMon Tool submodule.
  • ECA: react to OtterMon check events without custom code.

Similar projects

  • Monitoring runs sensors and stores their results on the site itself. OtterMon runs its checks inside Drupal too, but sends the results to OtterMon, which keeps the history and compares results across many sites.

Supporting this Module

Report issues and contribute in the project issue queue.

Community Documentation

Source code and the full README are in the project repository.

Experimental

This module is experimental.

Supporting organizations: 
Full development support

Project information

  • Created by flux423 on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases