Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Vnstat
(view source)
Revision as of 12:38, 27 October 2008
324 bytes added
,
12:38, 27 October 2008
no edit summary
Line 1:
Line 1:
−
How to install vnstat and the the PHP frontent.
+
How to install vnstat and the the PHP frontent.
<br>
−
Original post
+
[
Original post
http://forums.contribs.org/index.php?topic=42444]<br>
Get vnstat and install:
Get vnstat and install:
wget http://dag.wieers.com/rpm/packages/vnstat/vnstat-1.4-3.2.el4.rf.i386.rpm
wget http://dag.wieers.com/rpm/packages/vnstat/vnstat-1.4-3.2.el4.rf.i386.rpm
Line 14:
Line 14:
tar -xvzf vnstat_php_frontend-1.4.tar.gz
tar -xvzf vnstat_php_frontend-1.4.tar.gz
cd vnstat_php_frontend-1.4
cd vnstat_php_frontend-1.4
−
nano config:
+
nano config:
<br>
+
Edit the information about the interfaces you would like to graph:
+
$iface_list = array('eth0', 'ppp0');
+
The optional names:
+
$iface_title['eth0'] = 'Internal';
+
$iface_title['ppp0'] = 'Internet';
+
And finnaly set application:
+
$vnstat_bin = '/usr/bin/vnstat';
Stuntshell
24
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search