Overview: health score and the most important problems
Errors: PHP errors with the module behind each one
Performance: server time and the slowest pages
Database: size per day and the largest tables
Traffic and security: visitors, attacks and probes

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

Site Health Doctor finds what is wrong with your Drupal site before your visitors do. It only looks: nothing changes on the site without your click.

Open Reports > Site Health Doctor and you get a health score from 0 to 100 and a short list of problems. Every problem comes with a plain explanation of why it matters and the steps to fix it.

Features

  • PHP errors, grouped, with the module or theme behind each one.
  • Slow pages and server response time, sampled from real visits.
  • The database: size, growth and heavy tables.
  • Disk space, files and file permissions.
  • Security checks of the site and of the server settings Drupal can see.
  • Mail and cron: whether they run and whether they work.
  • Traffic and probes: who visits, and what attacks and probes your site sees (statistics only, nothing is blocked).
  • A plain explanation and the steps to fix it for every problem found.
  • A history of the findings and a printable report.

Use it when something is wrong and you do not know where to look, or as a regular health check of a site you look after.

Post-installation

Turn the module on and open Reports > Site Health Doctor. Access is controlled by two permissions: "View Site Health Doctor" and "Administer Site Health Doctor".

The module keeps its data in its own database tables (sgshd_*) and in a folder named sgshd: in the private files folder when one is set, otherwise in the public files folder behind guard files. It sends nothing to anyone. To delete the tables and the folder together with the module, turn on "Delete all data when Site Health Doctor is uninstalled" under Reports > Site Health Doctor > Settings > Data and privacy before you uninstall.

Additional requirements

Drupal 10.3, 11 or 12, PHP 8.1 or newer, MySQL or MariaDB. No other modules are needed.

Similar projects

  • The Status report of Drupal core lists requirements and available updates. It does not show PHP errors by module, slow pages, database growth or traffic; Site Health Doctor does.
  • Site Doctor tracks diagnostic findings over time and offers Drush and CLI commands. Site Health Doctor is a report in the admin area that tells you what is wrong right now and how to fix it.
  • Health check, Health Check URL and Vitals give load balancers and monitoring services an endpoint. They tell a monitor that the site is up; Site Health Doctor tells you why it is not healthy.

Supporting this module

Site Health Doctor is made by SiteGuarding.com. Questions and problems: please use the issue queue of this project.

Site Health Doctor Pro is a separate optional add-on from siteguarding.com. It adds longer history, more notification channels, scheduled and white label reports and a few safe actions. This module works fully without it.

Project information

Releases