Install rpmforge repository: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
There is an ntop rpm in the rpmforge repository:
yum install ntop
There is a bug in the /etc/init.d/ntop startscript we need to fix. Open the file in your favorite editor for example vim:
vim /etc/init.d/ntop
change the line at start function from:
daemon $prog -d -L @/etc/ntop.conf
to:
daemon $prog @/etc/ntop.conf -d -L
first time you start ntop you need to set the admin password:
ntop @/etc/ntop.conf
you should now be able to start ntop deamon via:
service ntop start
if you want to start ntop at boot:
chkconfig --levels 35 ntop on
webinterface is running on http port 3000 and https on port 3001:
http://<ip>:3000
Please note ntop is using alot of systemresources. Check if it’s not to much for your smal virtualserver before you start tracing all the traffic.
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Comments 2
I installed the rpmforge repo and find the sample htop suggested (which is pretty cool in it’s own right) but no ntop:
# yum install ntop
Loaded plugins: presto
Setting up Install Process
No package ntop available.
Error: Nothing to do
Any idea?
Posted 17 Dec 2011 at 9:03 am ¶The package should be available on rpmforge repository. What’s the output for the command “yum info ntop” ?
Should look like this:
Available Packages
Name : ntop
Arch : i386
Version : 3.3.8
Release : 2.el5.rf
Size : 3.8 M
Repo : rpmforge
Summary : Network traffic probe that shows the network usage
URL : http://www.ntop.org/
License : GPL
Description: ntop is a network and traffic analyzer that provides a wealth of information
: on various networking hosts and protocols. ntop is primarily accessed via a
: built-in web interface. Optionally, data may be stored into a database for
: analysis or extracted from the web server in formats suitable for
: manipulation in perl or php.
Regards,
Dominik
Posted 17 Dec 2011 at 1:48 pm ¶Post a Comment