Add the row of watchdog's status.
authorNozomi Anzai <anzai@sraoss.co.jp>
Fri, 13 Jul 2012 09:04:42 +0000 (18:04 +0900)
committerNozomi Anzai <anzai@sraoss.co.jp>
Fri, 13 Jul 2012 09:04:42 +0000 (18:04 +0900)
innerSummary.php
templates/innerSummary.tpl

index ac429865585b5420e607df262afb20767c5ea849..7279c06e5a957d79374f7c666a2ec59c65131d6d 100644 (file)
@@ -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);
index f11146edbcc340056167086d3ba7d90eb5f518b6..dcc8b8804c4f557ef2d092530ed4fd92f198950c 100644 (file)
@@ -65,6 +65,17 @@ td > img {
     {/if}
     </td></tr>
 
+    {if hasWatchdog()}
+    <tr><td>Watchdog</td>
+    <td>
+    {if $params.use_watchdog == 'on'}
+    <img src="images/check.png"> {$message.strOn|escape}
+    {else}
+    <img src="images/no.png"> {$message.strOff|escape}
+    {/if}
+    </td>
+    {/if}
+
     <tr><td>{$message.strQueryCache|escape}</td>
     <td>
     {if hasMemqcache()}