NethServer - Feature #1126 Bandwidth Monitor (NTOP) 05/17/2012 05:17 PM - Alessio Fattorini Status: CLOSED Start date: Priority: Normal Due date: Assignee: % Done: 100% Category: nethserver-ntopng Target version: v6.4-beta2 Resolution: NEEDINFO: No Description Add tool for bandwith usage monitor. Candidates: http://www.ubuntugeek.com/bandwidth-monitoring-tools-for-linux.html Best option is Ntop. yum install ntop service ntop start Add ntop configuration to /etc/ntop.conf: # disable protocol decoders -b # don't resolve names -n # disable sessione tracking -z # disable promisc mode -s # track local hosts -g # local network configuration -i eth0 -m 192.168.5.0/24 # try to fix *** glibc detected *** /usr/sbin/ntop: double free or corruption (fasttop): # with sticky hosts -c If someone prefers bandwidthd: yum install bandwidthd service bandwidthd restart The web interface is accessible at http://server//bandwidthd. 12/21/2015 1/5
Subtasks: Feature # 2090: Redis server CLOSED Associated revisions Revision a9f74318-08/01/2013 12:19 PM - Giacomo Sanchietti First import. Refs #1126 Revision 58652eee - 08/01/2013 03:20 PM - Giacomo Sanchietti translation: fix typo. Refs #1126 Revision 2485049e - 08/28/2013 10:54 AM - Davide Principi Updated translation for nethserver-bandwidth-monitor group. Refs #1126 Revision 14b69bf4-08/28/2013 05:06 PM - Davide Principi Add italian description for nethserver-bandwidth-monitor group. Refs #1126 History #1-08/23/2012 12:31 PM - Davide Principi - Target version set to ~FUTURE #2-01/25/2013 06:55 PM - Davide Principi - Project changed from NethServer to 92 #3-02/01/2013 09:47 AM - Davide Principi - Project changed from 92 to NethServer #4-03/20/2013 12:04 PM - Filippo Carletti - Assignee set to Filippo Carletti #5-05/20/2013 03:03 PM - Giacomo Sanchietti - Description updated #6-07/03/2013 03:21 PM - Filippo Carletti - Target version changed from ~FUTURE to v6.4-beta2 #7-07/29/2013 06:10 PM - Giacomo Sanchietti - Status changed from NEW to TRIAGED - Assignee deleted (Filippo Carletti) - % Done changed from 0 to 20 We go with the brand new ntopng. Repositories with rpm build: - http://www.nmon.net/packages/rpm/x86_64/ntopng/ 12/21/2015 2/5
This new release requires Redis as backend. We should create a proxypass to ntop http port using a random hash url. #8-07/31/2013 12:18 PM - Giacomo Sanchietti - Subject changed from Bandwidth Monitor to Bandwidth Monitor (NTOP) - Status changed from TRIAGED to ON_DEV - Assignee set to Giacomo Sanchietti - % Done changed from 20 to 30 #10-07/31/2013 03:44 PM - Giacomo Sanchietti Dependencies: - GeoIP - nethserver-redis #11-08/01/2013 02:18 PM - Giacomo Sanchietti - Status changed from ON_DEV to MODIFIED - % Done changed from 30 to 60 Problems encountered: - init script doesn't implement status actions, so we can't use standard action adjust-service; a custom action has been created to start and stop ntopng daemon - despite official documentation, proxy pass with Apache doesn't correctly work After installation, ntopng is disabled by default. The user must access the web UI, choose an admin password and enable the service. Ntopng web interface is then accessible from the port specified in the web UI (default is 3000 with public access). #12-08/01/2013 02:25 PM - Giacomo Sanchietti - Status changed from MODIFIED to ON_DEV - Assignee deleted (Giacomo Sanchietti) - % Done changed from 60 to 30 New package in nethserver-testing: - nethserver-ntopng Test case - After package installation, enter the web UI under "Bandwidth monitor" section - Enable the service and choose a password for the admin user - Check ntopng is running on port 3000 gathering network statistics During starting process, ntopng will log these lines: Error Opening file /usr/local/share/ntopng/httpdocs/geoip/geoipasnum.dat Error Opening file /usr/local/share/ntopng/httpdocs/geoip/geoipasnumv6.dat Error Opening file /usr/local/share/ntopng/httpdocs/geoip/geolitecity.dat Error Opening file /usr/local/share/ntopng/httpdocs/geoip/geolitecityv6.dat To avoid the errors, just execute /etc/cron.monthly/ntop-update-geodb. This script will download required databases and restart ntopng daemon. #13-08/01/2013 03:22 PM - Giacomo Sanchietti 12/21/2015 3/5
- Status changed from ON_DEV to MODIFIED - % Done changed from 30 to 60 #14-08/01/2013 03:25 PM - Giacomo Sanchietti - Status changed from MODIFIED to ON_QA - % Done changed from 60 to 70 New package in nethserver-testing: - nethserver-ntopng-1.0.1-1 Changes: - Fix typo in translations - Also added new yum group nethserver-bandwidth-monitor #15-08/19/2013 12:12 PM - Davide Principi - Assignee set to Davide Principi #16-08/19/2013 12:42 PM - Davide Principi - Status changed from ON_QA to VERIFIED - Assignee deleted (Davide Principi) - % Done changed from 70 to 90 VERIFIED # rpm -qa grep -F.ns6 nethserver-php-1.1.0-1.ns6.noarch nethserver-smartd-1.0.0-1.ns6.noarch nethserver-yum-1.1.1-1.ns6.noarch postfix-2.9.6-2.ns6.x86_64 nethserver-base-1.4.0-12.0git855f8d09.ns6.noarch nethserver-redis-1.0.0-1.ns6.noarch nethserver-httpd-admin-1.0.4-1.ns6.noarch nethserver-grub-1.0.1-1.ns6.noarch nethserver-openssh-1.0.2-1.ns6.noarch nethserver-lib-1.3.1-1.ns6.noarch nethserver-ntp-1.0.4-1.ns6.noarch nethserver-nethgui-1.2.2-1.ns6.noarch nethserver-ntopng-1.0.1-1.ns6.noarch #17-08/28/2013 11:16 AM - Davide Principi - Status changed from VERIFIED to CLOSED - % Done changed from 90 to 100 In nethserver-updates: redis-2.4.10-1.el6.x86_64.rpm nethserver-redis-1.0.0-1.ns6.noarch.rpm nethserver-ntopng-1.0.1-1.ns6.noarch.rpm 12/21/2015 4/5
12/21/2015 5/5