aboutsummaryrefslogtreecommitdiff
path: root/etc/tagr.tmpl
blob: 0663f576baacbb5f14c4468367874d9eea8af4a5 (plain)
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
160
161
162
163
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
 <title>Traffic Analysis for $ROUTERNAME</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <link rev="made" href="mailto:gray@gnu.org.ua" />
 <link rel="stylesheet" type="text/css" href="/~ipacct/ipacct.css" />
 <meta http-equiv="Refresh" content="300" />
 <meta http-equiv="Pragma" content="no-cache" />
</head>

<body>
<h1>Stats for $ROUTERNAME ($ROUTERIP)</h1>
<p>
<span class="emph">Speed on port is $(SPEED:0)</span>
</p>
<p>
The statistics were last updated <b>$NOW</b>
</p>

<div class="graph">
<h3>`Daily' Graph (5 Minute Average)</h3>
<img src="$(ROUTERNAME)-day.png" alt="[ daily graph ]" />
<table class="graph">
<tr>
  <td>Max <span class="input">&nbsp;In:</span></td>
  <td>$(MAXIN:1) kB/s</td>

  <td>Average <span class="input">&nbsp;In:</span></td>
  <td>$(AVGIN:1) kB/s</td>

  <td>Current <span class="input">&nbsp;In:</span></td>
  <td>$(CURIN:1) kB/s</td>
</tr>
<tr>
  <td>Max <span class="output">&nbsp;Out:</span></td>
  <td>$(MAXOUT:1) kB/s</td>

  <td>Average <span class="output">&nbsp;Out:</span></td>
  <td>$(AVGOUT:1) kB/s</td>

  <td>Current <span class="output">&nbsp;Out:</span></td>
  <td>$(CUROUT:1) kB/s</td>
</tr> 
</table>
</div>

<div class="graph">
<h3>`Weekly' Graph (30 Minute Average)</h3>
<img src="$(ROUTERNAME)-week.png" alt="[ weekly graph ]" />
<table class="graph">
<tr>
  <td>Max <span class="input">&nbsp;In:</span></td>
  <td>$(HMAXIN:1) kB/s</td>

  <td>Average <span class="input">&nbsp;In:</span></td>
  <td>$(HAVGIN:1) kB/s</td>

  <td>Current <span class="input">&nbsp;In:</span></td>
  <td>$(HCURIN:1) kB/s</td>
</tr>
<tr>
  <td>Max <span class="output">&nbsp;Out:</span></td>
  <td>$(HMAXOUT:1) kB/s</td>

  <td>Average <span class="output">&nbsp;Out:</span></td>
  <td>$(HAVGOUT:1) kB/s</td>

  <td>Current <span class="output">&nbsp;Out:</span></td>
  <td>$(HCUROUT:1) kB/s</td>
</tr> 
</table>
</div>

<div class="graph">
<h3>`Monthly' Graph (2 Hour Average)</h3>
<img src="$(ROUTERNAME)-month.png" alt="[ monthly graph ]" />
<table class="graph">
<tr>
  <td>Max <span class="input">&nbsp;In:</span></td>
  <td>$(TMAXIN:1) kB/s</td>

  <td>Average <span class="input">&nbsp;In:</span></td>
  <td>$(TAVGIN:1) kB/s</td>

  <td>Current <span class="input">&nbsp;In:</span></td>
  <td>$(TCURIN:1) kB/s</td>
</tr>
<tr>
  <td>Max <span class="output">&nbsp;Out:</span></td>
  <td>$(TMAXOUT:1) kB/s</td>

  <td>Average <span class="output">&nbsp;Out:</span></td>
  <td>$(TAVGOUT:1) kB/s</td>

  <td>Current <span class="output">&nbsp;Out:</span></td>
  <td>$(TCUROUT:1) kB/s</td>
</tr> 
</table>
</div>

<div class="graph">
<h3>`Yearly' Graph (1 Day Average)</h3>
<img src="$(ROUTERNAME)-year.png" alt="[ yearly graph ]" />
<table class="graph">
<tr>
  <td>Max <span class="input">&nbsp;In:</span></td>
  <td>$(DMAXIN:1) kB/s</td>

  <td>Average <span class="input">&nbsp;In:</span></td>
  <td>$(DAVGIN:1) kB/s</td>

  <td>Current <span class="input">&nbsp;In:</span></td>
  <td>$(DCURIN:1) kB/s</td>
</tr>
<tr>
  <td>Max <span class="output">&nbsp;Out:</span></td>
  <td>$(DMAXOUT:1) kB/s</td>

  <td>Average <span class="output">&nbsp;Out:</span></td>
  <td>$(DAVGOUT:1) kB/s</td>

  <td>Current <span class="output">&nbsp;Out:</span></td>
  <td>$(DCUROUT:1) kB/s</td>
</tr> 
</table>
</div>

<div class="link">
[ <a href="http://gnu.org.ua/~ipacct">Ulysses Traffic Page</a> |
 <a href="http://gnu.org.ua">Home Page</a> ]
</div> 
 
<div class="footer">
<span class="info">
This page is generated by <a
href="http://puszcza.gnu.org.ua/projects/tagr">$PROGRAM
$VERSION</a>
</span>

<span class="info">
<a href="http://validator.w3.org/check?uri=referer"><img
          src="/graphics/valid-xhtml10.png"
          alt="Valid XHTML 1.0!" height="31" width="88" /></a>
</span>

<span class="info">
<a href="http://jigsaw.w3.org/css-validator/check/referer">
    <img src="/graphics/valid-css.png"
         alt="[ Valid CSS! ]" height="31" width="88" /></a>
</span>	 

<p>
<a href="mailto:ipacct@gnu.org.ua">mailto: ipacct@gnu.org.ua</a>
</p>
	  
</div>

</body>
</html>

Return to:

Send suggestions and report system problems to the System administrator.