Simple Server & Firewall Bandwidth Monitoring

Posted: April 19, 2010 in Debian, Freebsd

This is very simple monitoring for your web server bandwidth or your firewall.

Using Vnstat with php-gui webpage.

1) Install Vnstat

Debian / Ubuntu

aptitude install vnstat

Freebsd

cd /usr/ports/net/vnstat  && make install clean

2) Download vnStat PHP Frontend

cd /var/www/

wget http://www.sqweek.com/sqweek/files/vnstat_php_frontend-1.5.0.tar.gz

** before your install this you must install php5-gd or php4-gd first

tar -zxvf  vnstat_php_frontend-1.5.0.tar.gz

mv vnstat_php_frontend-1.5.0 stats

3) Put the folder in your web folder or you can create subdomain for it example

http://stats.YOUR-DOMAIN.com

This is the screen shoot

vnStat

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s