Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

OhDear Integration

220 sites Security covered
View on drupal.org

This module integrates your Drupal website with the Oh Dear monitoring service to enable advanced features like application health checks and cron monitoring. It provides an endpoint for Oh Dear to retrieve health check results from Drupal's monitoring module and automatically pings Oh Dear when cron jobs run. The module also includes Drush commands to manage maintenance windows, get site information, check for broken links, and retrieve uptime statistics.

Important Notice

OhDear Integration bellow 3.x are no longer compatible with the OhDear API. Update as soon as possible! See #3544574: Upgrade OhDear's PHP-SDK to v4.

Integrates your Drupal website with the Oh Dear monitoring app. While the main ohdear.app features like Uptime and Performance monitoring do not require anything, the module takes care of the necessary integration for more advanced features like Application health monitoring.

The module provides a /json/oh-dear-health-check-results endpoint for OhDear application health checks by integrating with the Monitoring module, i.e. sensor results from the monitoring module are provide to OhDear via the endpoint.

Moreover, it provides Cron-monitoring by integrating with OhDears Scheduled tasks feature.

Configuration

Application Health

  • At /admin/config/system/settings configure oh-dear-health-check-secret. This is obtained on the Oh Dear service under Application health tab.
  • Configure monitoring sensors at /admin/config/system/monitoring/settings.
  • For nicer health checks overview we've developed a sensor that provides a combined monitoring sensor for all Status-Report checks (called RequirementsRecap). We recommend using it but is currently only available as a patch: #3307528: New sensor: Requirements recap.

Cron monitoring

  • When the OhDear ping URI for cron has been configured, Drupal automatically pings OhDear on cron runs.
  • The ping URI is provided by OhDear under the Scheduled tasks tab.

Drush Commands

Maintenance windows

This modules provides a drush command to start a maintenance window on OhDear.
drush ohdear:maintenance allows you to see existing maintenance windows and reports status. With start and stop flag you can also start a new maintenance window or stop existing one.

Info

drush ohdear:info prints basic info about configured site.

Broken links

drush ohdear:broken-links get broken links for current site.

Uptime

drush ohdear:uptime get uptime for last week with daily uptime percentages. That's the default but with additional arguments you can adjust the start and end time and the time period (day, week, month).

Contribute

Activity

Total releases
2
First release
Sep 2025
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
3.0.0 Stable Sep 11, 2025
3.x-dev Dev Sep 10, 2025