12 assert(array_key_exists(
'errors',
$hookinfo));
13 assert(array_key_exists(
'info',
$hookinfo));
18 $hookinfo[
'errors'][] =
'[memcacheMonitor] Error parsing memcache configuration: ' . $e->getMessage();
23 foreach ($servers as $group) {
24 foreach ($group as
$server => $status) {
25 if ($status === FALSE) {
26 $hookinfo[
'errors'][] =
'[memcacheMonitor] No response from server: ' .
$server;
33 $hookinfo[
'info'][] =
'[memcacheMonitor] All servers responding.';
static getRawStats()
Retrieve statistics directly in the form returned by getExtendedStats, for all server groups...
memcacheMonitor_hook_sanitycheck(&$hookinfo)
Sanity check for memcache servers.