Line 1: |
Line 1: |
| + | {{WIP box}} |
| + | this how to page will be migrated as contrib page for the FWS contrib |
| + | ===Version=== |
| + | {{#smeversion: smeserver-ntop }} |
| + | [[Version::contrib9|fws]][[Has SME9::true| ]] |
| + | |
| + | ===Installation === |
| + | SME9 |
| + | yum install smeserver-extrarepositories-fws smeserver-extrarepositories-epel |
| + | yum install smeserver-ntop --enablerepo=fws,epel |
| + | |
| + | |
| + | ==previous How-to== |
| + | |
| + | ===DRAFT HOWTO=== |
| + | This procedure has initialisation problems with the configuration file when performing the startup of ntop. Published here for test purposes only and for testers to help resolve the problem. |
| + | |
| + | Refer to [http://forums.contribs.org/index.php/topic,44570.0.html/ this forum post] |
| + | |
| + | ie when doing |
| + | /etc/init.d/ntop start |
| + | the following error is received |
| + | Starting ntop: Processing file /etc/ntop.conf for parameters... |
| + | Sat Aug 8 21:18:04 2009 NOTE: Interface merge enabled by default |
| + | Sat Aug 8 21:18:05 2009 Initializing gdbm databases |
| + | FATAL ERROR: Unrecognized/unprocessed ntop options... |
| + | , --user ntop, , --db-file-path /var/ntop, , |
| + | , , --use-syslog, , , , , , , |
| + | |
| + | |
| + | Note that manually starting ntop works, and it listens on port 3000, but if you connect (even from localhost), it aborts with a RST packet and logs nothing. |
| + | |
| + | This behaviour appears to be documented here: http://lists.ntop.org/pipermail/ntop-dev/2004-January/004104.html |
| + | |
| + | A strace shows it's just sitting there, |
| + | |
| + | nanosleep({10, 0}, {0, 0}) = 0 |
| + | |
| + | |
| ===Description=== | | ===Description=== |
| ntop is a network monitoring tool/traffic probe that shows network usage in graphical form. A web browser is used to view traffic information and network status. For more information look [http://www.ntop.org/ here]. | | ntop is a network monitoring tool/traffic probe that shows network usage in graphical form. A web browser is used to view traffic information and network status. For more information look [http://www.ntop.org/ here]. |
Line 6: |
Line 45: |
| | | |
| ====Configuring Dag repository==== | | ====Configuring Dag repository==== |
− | {{Repository|Dag}}
| + | You need to activate the [[Dag]] reposity before installing this contrib.<br /> |
| + | |
| + | see [[dag|dag repository]] <br /> |
| | | |
| ===Installation=== | | ===Installation=== |
| With the Dag repository configured, install as follows: | | With the Dag repository configured, install as follows: |
| yum install ntop --enablerepo=dag | | yum install ntop --enablerepo=dag |
| + | signal-event post-upgrade |
| + | signal-event reboot |
| | | |
| ===Starting and Stopping ntop=== | | ===Starting and Stopping ntop=== |
Line 16: |
Line 59: |
| chkconfig ntop on | | chkconfig ntop on |
| config set ntop service status enabled TCPPort 3000 access private | | config set ntop service status enabled TCPPort 3000 access private |
| + | |
| + | Then run ntop manually from the command line and enter the admin password |
| + | ntop -u ntop |
| + | Enter the admin password when asked, and re-enter it when asked to confirm |
| + | |
| + | Messages will scroll down the screen and then appear to freeze, press |
| + | Ctrl C |
| + | at the same time to exit. You should see the message |
| + | ntop is now quitting... |
| + | |
| | | |
| Note: In order to limit the use of system resources, you may only wish to run ntop as required for testing and analysing your system rather than running it continuously. | | Note: In order to limit the use of system resources, you may only wish to run ntop as required for testing and analysing your system rather than running it continuously. |
Line 25: |
Line 78: |
| | | |
| To configure ntop to start automatically at boot time do the following | | To configure ntop to start automatically at boot time do the following |
− | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S83ntop | + | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S83ntop |
| | | |
| ===Usage=== | | ===Usage=== |
Line 58: |
Line 111: |
| | | |
| Remove packages | | Remove packages |
− | yum remove ntop | + | yum remove ntop libart_lgpl perl_rrdtool rrdtool |
| + | signal-event post-upgrade |
| + | signal-event reboot |
| + | |
| Note: confirm that only the following packages are marked for removal before acknowledging | | Note: confirm that only the following packages are marked for removal before acknowledging |
| | | |
− | ntop i386 3.3.8-2.el4.rf | + | ntop |
− | libart_lgpl i386 2.3.16-3 | + | libart_lgpl |
− | perl-rrdtool i386 1.2.30-1.el4.rf | + | perl-rrdtool |
− | rrdtool i386 1.2.30-1.el4.rf | + | rrdtool |
| | | |
| ===Feature Overview=== | | ===Feature Overview=== |
| See [http://www.ntop.org/overview.html/ here] | | See [http://www.ntop.org/overview.html/ here] |
| + | |
| + | |
| + | === Bugs === |
| + | Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla] |
| + | and select the smeserver-mailsorting component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-ntop|title=this link}}. |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-ntop|noresultsmessage="No open bugs found."}} |
| + | |
| + | |
| + | ===Changelog=== |
| + | Only versions released in smecontrib are listed here. |
| + | |
| + | {{#smechangelog: smeserver-ntop}} |
| | | |
| ---- | | ---- |
− | [[Category: Howto]] | + | [[Category: Contrib]] |
− | [[Category: Administration]] | + | [[Category: Administration:Monitoring]] |