Skip to content

freistil/drupal-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Description

This script signals the health of a Drupal website by checking the following criteria:

  • main database responds to queries
  • slave database (if configured) responds to queries
  • Memcached instances are available
  • files directory is writeable
  • temp directory is writeable

If at least one of these checks fails, the script returns a server error (code 500).

Installation

Simply put the script into the root directory of your Drupal installation. Configure your load balancer to call it in its health check.

Authors

This script is based on the status.php script from the Lullabot blog post "Configuring Varnish for High-Availability with Multiple Web Servers".

It has been adapted for DrupalCONCEPT High Performance Drupal Hosting by Jochen Lillich [email protected].

About

A script to check if a Drupal site is healthy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages