Network & Bandwidth Monitoring Using Darkstat

Let check how can we monitor traffic using Darkstat in a machine. traffic grapher designed to run on a router, collect traffic statistics, export them to HTML pages.

$ sudo apt-get install darkstat

make some changes to Darkstat's configuration file, /etc/darkstat/init.cfg
 vim /etc/darkstat/init.cfg  ----- edit no to "yes"

# Turn this to yes when you have configured the options below.
START_DARKSTAT=yes

# Don't forget to read the man page.

# You must set this option, else darkstat may not listen to
# the interface you want
INTERFACE="-i eth0"
PORT="-p 666"
BINDIP="-b 127.0.0.1"
LOCAL="-l 192.168.1.0/24"
FIP="-f 127.0.0.1"
DNS="-n"

#SPY="--spy eth0"
# /etc/init.d/darkstat start
or
# darkstat -i eth0
 
Access the interface using  http://localhost:667/
 
 
 
Terima kasih telah membaca artikel tentang Network & Bandwidth Monitoring Using Darkstat di blog Tutorial Opensource and Linux jika anda ingin menyebar luaskan artikel ini di mohon untuk mencantumkan link sebagai Sumbernya, dan bila artikel ini bermanfaat silakan bookmark halaman ini di web browser anda, dengan cara menekan Ctrl + D pada tombol keyboard anda.

Artikel terbaru :