1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
# --
# AdminPerformanceLog.dtl - provides HTML form for AdminPerformanceLog
# Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
# --
# $Id: AdminPerformanceLog.dtl,v 1.8.2.1 2007/11/13 10:21:45 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
<!-- start form -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
<td colspan="2" class="mainhead">
$Env{"Box0"}$Text{"Performance Log"}$Env{"Box1"}
</td>
</tr>
<tr>
<td width="30%" class="mainbody">
<!-- dtl:block:Enabled -->
<form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data">
<input type="hidden" name="Action" value="AdminSysConfig">
<input type="hidden" name="Subaction" value="Edit">
<input type="hidden" name="SysConfigGroup" value="Framework">
<input type="hidden" name="SysConfigSubGroup" value="Core::PerformanceLog">
<table width="100%" cellspacing="0" cellpadding="4">
<tr>
<td class="contenthead">
$Text{"This feature is enabled!"}:
</td>
</tr>
<tr>
<td class="contentbody">
<p>$Text{"Just use this feature if you want to log each request."}<font color="red">*</font></p>
<p><font color="red">$Text{"Of couse this feature will take some system performance it self!"}</font></p>
</td>
</tr>
<tr>
<td class="contentfooter">
<input class="button" type="submit" value="$Text{"Disable it here!"}">
</td>
</tr>
</table>
</form>
<!-- dtl:block:Enabled -->
<!-- dtl:block:Disabled -->
<form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data">
<input type="hidden" name="Action" value="AdminSysConfig">
<input type="hidden" name="Subaction" value="Edit">
<input type="hidden" name="SysConfigGroup" value="Framework">
<input type="hidden" name="SysConfigSubGroup" value="Core::PerformanceLog">
<table width="100%" cellspacing="0" cellpadding="4">
<tr>
<td class="contenthead">
$Text{"This feature is disabled!"}:
</td>
</tr>
<tr>
<td class="contentbody">
<p>$Text{"Just use this feature if you want to log each request."}<font color="red">*</font></p>
<p><font color="red">$Text{"Of couse this feature will take some system performance it self!"}</font></p>
</td>
</tr>
<tr>
<td class="contentfooter">
<input class="button" type="submit" value="$Text{"Enable it here!"}">
</td>
</tr>
</table>
</form>
<!-- dtl:block:Disabled -->
</td>
<td width="70%" class="mainbody">
<!-- dtl:block:Reset -->
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="4">
<tr>
<td class="contenthead">
$Text{"Logfile too large!"} ($QData{"Size"} MB)
</td>
</tr>
<tr>
<td class="contentbody">
<table border="0" width="700" align="center" cellspacing="0" cellpadding="4">
<tr>
<td>
$Text{"Logfile too large, you need to reset it!"}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="contentfooter">
<form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data">
<input type="hidden" name="Action" value="$Env{"Action"}">
<input type="hidden" name="Subaction" value="Reset">
<input class="button" type="submit" value="$Text{"Reset"}">
</form>
</td>
</tr>
</table>
<br>
<!-- dtl:block:Reset -->
<!-- dtl:block:Table -->
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="4">
<tr>
<td class="contenthead">
$Text{"Range"} ($Text{"last"} $QData{"Age"})
</td>
</tr>
<tr>
<td class="contentbody">
<table border="0" width="700" align="center" cellspacing="0" cellpadding="4">
<tr>
<td class="contentkey">$Text{"Interface"}</td>
<td class="contentkey">$Text{"Requests"}</td>
<td class="contentkey">$Text{"Min Response"}</td>
<td class="contentkey">$Text{"Max Response"}</td>
<td class="contentkey">$Text{"Average Response"}</td>
</tr>
<!-- dtl:block:Interface -->
<tr>
<td class="$QData{"CssClass"}">$QData{"Interface"}</td>
<td class="$QData{"CssClass"}">$QData{"Count"}</td>
<td class="$QData{"CssClass"}">$QData{"Min"}s</td>
<td class="$QData{"CssClass"}">$QData{"Max"}s</td>
<td class="$QData{"CssClass"}">$QData{"Average"}s</td>
</tr>
<!-- dtl:block:Row -->
<tr>
<td class="$QData{"CssClass"}"><i> o $QData{"Interface"}</i></td>
<td class="$QData{"CssClass"}"><i>$QData{"Count"}</i></td>
<td class="$QData{"CssClass"}"><i>$QData{"Min"}s</i></td>
<td class="$QData{"CssClass"}"><i>$QData{"Max"}s</i></td>
<td class="$QData{"CssClass"}"><i>$QData{"Average"}s</i></td>
</tr>
<!-- dtl:block:Row -->
<tr>
<td colspan="5">
<hr>
</td>
</tr>
<!-- dtl:block:Interface -->
</table>
</td>
</tr>
<tr>
<td class="contentfooter">
</td>
</tr>
</table>
<br>
<!-- dtl:block:Table -->
</td>
</tr>
</table>
<!-- end form -->
|