Subversion Repositories ALCASAR

Rev

Rev 1533 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1533 Rev 1675
1
0. WHAT IS IT?
1
0. WHAT IS IT?
2
 
2
 
3
This is a PHP frontend end to vnstat, a network traffic logger.
3
This is a PHP frontend end to vnstat, a network traffic logger.
4
Since vnstat is console mode only I created this script to
4
Since vnstat is console mode only I created this script to
5
make a 'nice' report of the data collected by vnstat.
5
make a 'nice' report of the data collected by vnstat.
6
For more information about vnstat check out http://humdi.net/vnstat/
6
For more information about vnstat check out http://humdi.net/vnstat/
7
For updates to this script check http://www.sqweek.com
7
For updates to this script check http://www.sqweek.com
8
 
8
 
9
 
9
 
10
1. REQUIREMENTS 
10
1. REQUIREMENTS 
11
 
11
 
12
- vnstat setup and collecting data
12
- vnstat setup and collecting data
13
- webserver with PHP
13
- webserver with PHP
14
- php-gd extension installed for PNG graphs
14
- php-gd extension installed for PNG graphs
15
 
15
 
16
 
16
 
17
2. INSTALL
17
2. INSTALL
18
 
18
 
19
Installation should be really straightforward:
19
Installation should be really straightforward:
20
 
20
 
21
Put the files from this package somewhere inside the webroot of
21
Put the files from this package somewhere inside the webroot of
22
your webserver. Then edit the few configuration options in config.php
22
your webserver. Then edit the few configuration options in config.php
23
to suit your situation and your good to go. The various options are
23
to suit your situation and your good to go. The various options are
24
explained in config.php.
24
explained in config.php.
25
 
25
 
26
 
26
 
27
3. LICENSE
27
3. LICENSE
28
 
28
 
29
vnstat PHP frontend 1.5.1
29
vnstat PHP frontend 1.5.2
30
Copyright (c)2006-2008  Bjorge Dijkstra (bjd@jooz.net)
30
Copyright (c)2006-2011  Bjorge Dijkstra (bjd@jooz.net)
31
 
31
 
32
This program is free software; you can redistribute it and/or modify
32
This program is free software; you can redistribute it and/or modify
33
it under the terms of the GNU General Public License as published by
33
it under the terms of the GNU General Public License as published by
34
the Free Software Foundation; either version 2 of the License, or
34
the Free Software Foundation; either version 2 of the License, or
35
(at your option) any later version.
35
(at your option) any later version.
36
 
36
 
37
This program is distributed in the hope that it will be useful,
37
This program is distributed in the hope that it will be useful,
38
but WITHOUT ANY WARRANTY; without even the implied warranty of
38
but WITHOUT ANY WARRANTY; without even the implied warranty of
39
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
40
GNU General Public License for more details.
40
GNU General Public License for more details.
41
 
41
 
42
You should have received a copy of the GNU General Public License
42
You should have received a copy of the GNU General Public License
43
along with this program; if not, write to the Free Software
43
along with this program; if not, write to the Free Software
44
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
44
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
45
 
45
 
46
 
46
 
47
NOTE:
47
NOTE:
48
  The Truetype font file VeraBd.ttf is copyright by Bitstream Inc. 
48
  The Truetype font file VeraBd.ttf is copyright by Bitstream Inc. 
49
  See vera_copyright.txt for more information.
49
  See vera_copyright.txt for more information.
50
 
50
 
51
 
51
 
52
 
52
 
53
 
53