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:
change the line at start function from:
daemon $prog -d -L @/etc/ntop.conf
daemon $prog @/etc/ntop.conf -d -L
first time you start ntop you need to set the admin password:
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:
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.
Copyright © 2011. All Rights Reserved.