Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

OhDear Integration

228 sites Security covered Drupal 10–11
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

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Oct 2024
Latest release
11 months ago
Releases (12 mo)
2 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 10–11 Sep 11, 2025
3.x-dev Dev 10–11 Sep 10, 2025
2.0.5 Stable 10–11 Jan 10, 2025
2.0.4 Stable 10–11 Oct 30, 2024
2.0.3 Stable 10–11 Oct 9, 2024