From 2180b0b6b1d104942f709dd8505d75b3a4422622 Mon Sep 17 00:00:00 2001 From: Nozomi Anzai Date: Fri, 13 Jul 2012 18:04:42 +0900 Subject: [PATCH] Add the row of watchdog's status. --- innerSummary.php | 1 + templates/innerSummary.tpl | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/innerSummary.php b/innerSummary.php index ac42986..7279c06 100644 --- a/innerSummary.php +++ b/innerSummary.php @@ -37,6 +37,7 @@ $params = readConfigParams(array('parallel_mode', 'enable_query_cache', 'replication_mode', 'load_balance_mode', + 'use_watchdog', 'health_check_period')); $tpl->assign('params', $params); diff --git a/templates/innerSummary.tpl b/templates/innerSummary.tpl index f11146e..dcc8b88 100644 --- a/templates/innerSummary.tpl +++ b/templates/innerSummary.tpl @@ -65,6 +65,17 @@ td > img { {/if} + {if hasWatchdog()} + Watchdog + + {if $params.use_watchdog == 'on'} + {$message.strOn|escape} + {else} + {$message.strOff|escape} + {/if} + + {/if} + {$message.strQueryCache|escape} {if hasMemqcache()} -- 2.39.5