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,errororunobserved.unobservedmeans 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.phpvalues, 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.failedandottermon.check.recovered, for use with ECA. - Drush commands:
ottermon:status,ottermon:doctor,ottermon:checks,ottermon:check,ottermon:findings,ottermon:snapshotandottermon: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
- In OtterMon, add the site under monitoring, then generate a Temporary Key under My Organization > MCP / API.
- In Drupal, go to Configuration > System > Keys and create a Key holding the Temporary Key.
- Go to Configuration > Web services > OtterMon (
/admin/config/services/ottermon). Enter the OtterMon API base address, select that Key, and connect. - OtterMon returns the site's own credentials, which are saved as Keys. The Temporary Key is not used again.
- Add checks under the Checks tab, or apply a recipe that ships a starter set.
- Run
drush ottermon:doctorto 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.
Recommended modules/libraries
- 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.
Project information
- Created by flux423 on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


