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.

This module provides a secure JSON API endpoint that reports the real-time status of your Drupal site's monitoring sensors and cron jobs. It allows external tools to easily check your site's health by returning a structured JSON response with status information.

The Monitoring Endpoint module provides a secure, token-authenticated JSON API endpoint that exposes real-time status information from all enabled Monitoring module sensors and Ultimate Cron jobs.

Key Features

  • Secure API Access: Token-based authentication protects your monitoring data
  • Real-time Status Reporting: Get instant status updates for all enabled sensors (caching disabled by default)
  • Cron Job Monitoring: Individual Ultimate Cron job status tracking with configurable monitoring per job
  • External Integration: JSON format compatible with popular monitoring tools (Uptime Kuma, Nagios, etc.)
  • Flexible Caching: Optional response caching (disabled by default to ensure real-time data for monitoring tools)
  • Simple Configuration: Easy setup via settings.php or configuration UI

Use Cases

  • Monitor your Drupal site with external monitoring services
  • Integrate Drupal health checks into existing infrastructure monitoring
  • Track individual cron job execution status
  • Set up alerts for critical site issues
  • Provide monitoring data to DevOps teams without requiring Drupal access

How It Works

The module exposes a single endpoint (/monitoring/status?token=your-token) that returns a JSON response containing:

  • A count of critical failures
  • Status of each enabled monitoring sensor
  • Individual Ultimate Cron job statuses (when configured)

All sensors report standard status codes: OK, WARNING, CRITICAL, or INFO.

Tested With

  • Uptime Kuma: Use HTTP(s) - Json Query monitor type
    • Monitor specific sensor: $.cron_job_example = OK
    • Monitor all sensors: $keys($sift($, function($v) { $v != 'OK' and $v != 'INFO' })) = count_failures
  • Nagios/Icinga: Parse the count_failures value
  • Custom Scripts: Parse JSON response in any language

Inspired by the Monitoring HRM module.

Activity

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

Releases

Version Type Release date
1.0.1 Stable Nov 11, 2025
1.0.0 Stable Oct 24, 2025