zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

VnStat Dashboard

March 27, 2018 by Igor Drobot Leave a Comment

vnstat-Dashboard is a graphical web interface for the command line utility vnstat,
a network utility, which shows the actual and previously network traffic statistics for all your network interfaces.

Dashboard also includes statistics history (hourly, days, months or full summary).

Requirements:

Webserver with PHP

Setup on Debian

1
apt-get update ; apt-get install vnstat

apt-get update ; apt-get install vnstat

Clone repo in some www-dir which is accessible via HTTP/s:

1
git clone https://github.com/zeldor/vnstat-dashboard.git

git clone https://github.com/zeldor/vnstat-dashboard.git

In config.php, you have to set the correct path to the vnstat binary (which vnstat):

1
$vnstat_bin_dir = '/usr/bin/vnstat';

$vnstat_bin_dir = '/usr/bin/vnstat';

Access the dashboard

www.example.com/vnstat-dashboard/index.php

Filed Under: Linux Tagged With: Debian, vnstat, vnstat dashboard

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok