1 [% PROCESS 'html-incblocks.txt' %]
3 title="Torrus Reports: " _ year
4 contentClass="SingleColumnContent"
7 <H1>Torrus report: <A HREF="[% yearlyUrl(year) %]">[% year %]</A>,
10 [% INCLUDE treename %]
12 [% FOREACH reportname = data.keys.sort;
13 fieldshash = data.$reportname;
14 IF reportname == 'MonthlyUsage' %]
16 <TABLE CLASS="ReportTable">
17 <CAPTION CLASS="ReportTable">Monthly usage</CAPTION>
18 <TR CLASS="ReportHeadRow">
19 <TD CLASS="ReportHeadCell">Month</TD>
20 <TD CLASS="ReportHeadCell">Average</TD>
21 <TD CLASS="ReportHeadCell">95th<BR/>Percentile</TD>
22 <TD CLASS="ReportHeadCell">Maximum</TD>
23 <TD CLASS="ReportHeadCell">Unavailable<BR/>samples</TD>
24 <TD CLASS="ReportHeadCell">Volume</TD>
25 <TD CLASS="ReportHeadCell">Extrapolated<BR/>volume</TD>
28 FOREACH mth = fieldshash.keys.sort;
29 rowCount = rowCount + 1;
31 <TR CLASS="ReportEvenRow">
33 <TR CLASS="ReportRow">
35 <TD CLASS="ReportFirstCell">
36 <A HREF="[% monthlyUrl(mth) %]">[% monthName(mth) %]</A>
38 [% FOREACH varname = ['AVG', '95TH_PERCENTILE', 'MAX',
39 'UNAVAIL', 'VOLUME'] %]
40 <TD CLASS="ReportCell">
41 [% formatValue( fieldshash.$mth.$varname ) %]
44 <TD CLASS="ReportCell">
45 [% extr.value = fieldshash.$mth.VOLUME.value * 100 /
46 ( 100 - fieldshash.$mth.UNAVAIL.value );
47 extr.units = fieldshash.$mth.VOLUME.units;
48 formatValue( extr ) %]
56 <TABLE CLASS="ReportTable">
57 <CAPTION CLASS="ReportTable">[% reportname %]</CAPTION>
58 <TR CLASS="ReportHeadRow">
59 <TD CLASS="ReportHeadCell">Month</TD>
60 <TD CLASS="ReportHeadCell">Field</TD>
61 <TD CLASS="ReportHeadCell">Value</TD>
64 FOREACH mth = fieldshash.keys.sort;
65 FOREACH varname = fieldshash.$mth.keys.sort;
66 rowCount = rowCount + 1;
68 <TR CLASS="ReportEvenRow">
70 <TR CLASS="ReportRow">
72 <TD CLASS="ReportFirstCell">
73 <A HREF="[% monthlyUrl(mth) %]">[% monthName(mth) %]</A>
75 <TD CLASS="ReportCell">
78 <TD CLASS="ReportCell">
79 [% formatValue( fieldshash.$mth.$varname ) %]
88 <DIV CLASS="ReportLegend">
90 <DIV CLASS="ReportLegendLine">
91 <SPAN CLASS="ReportLegendTerm">
94 <SPAN CLASS="ReportLegendDef">
95 the monthly average of 5-minute samples.
99 <DIV CLASS="ReportLegendLine">
100 <SPAN CLASS="ReportLegendTerm">
103 <SPAN CLASS="ReportLegendDef">
104 95% of the time, the usage is at or below this amount.
108 <DIV CLASS="ReportLegendLine">
109 <SPAN CLASS="ReportLegendTerm">
112 <SPAN CLASS="ReportLegendDef">
113 the maximum value among 5-minute samples.
117 <DIV CLASS="ReportLegendLine">
118 <SPAN CLASS="ReportLegendTerm">
121 <SPAN CLASS="ReportLegendDef">
122 how many 5-minute samples were missed from the measurements.
126 <DIV CLASS="ReportLegendLine">
127 <SPAN CLASS="ReportLegendTerm">
130 <SPAN CLASS="ReportLegendDef">
131 for traffic usage, this is the absolut volume of data in avaiable 5-minute
136 <DIV CLASS="ReportLegendLine">
137 <SPAN CLASS="ReportLegendTerm">
140 <SPAN CLASS="ReportLegendDef">
141 for traffic usage, this is the volume of data extrapolated to the whole
147 [% INCLUDE htmlend %]