Problem/Motivation

When using monitoring modules such as Monitoring, hook_requirements are scanned to detect any issues with external services. The Memcache module provides a check during module installation and at runtime to verify that the Memcache extensions are available. However, there is currently no check to ensure that the Memcache server defined in `settings.php` is reachable.

Steps to Reproduce

  1. Enable the Memcache module and configure it to work with a Memcache service.
  2. 2Stop the Memcache service/server.
  3. Go to `[SITE]/admin/reports/status`.

No error is found.

Proposed Resolution

Add a check to memcache_requirements to verify that the server is reachable.

Remaining Tasks

A proposed Pull Request will follow.

Issue fork memcache-3490433

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

guillaumeg created an issue. See original summary.

guillaumeg’s picture

Issue summary: View changes
guillaumeg’s picture

Issue summary: View changes
guillaumeg’s picture

Status: Needs review » Needs work

It is still not fully working in some scenarios, I am moving the issue to Needs work.