Changes

From Amahi Wiki
Jump to: navigation, search
1,478 bytes added ,  08:17, 30 January 2009
no edit summary
= Running Ntop Guide =
This is a quick guide to getting ntop (network top - http://www.ntop.org) running on your system. Ntop will check all incoming and outgoing traffic on your HDA, giving you nice graphs and metrics.
First you need to install ntop:
<pre> root@localhost# yum install ntop </pre>
 
To run it you type:
 
<pre> root@localhost# service ntop start </pre>
 
To view the statistics gathered by ntop:
 
<pre> http://hda:3000 </pre>
 
or secure:
 
<pre> https://hda:3001 </pre>
 
 
=Below you can find a sample configuration file for ntop:=
----
<pre> # tells ntop the user id to run as </pre>
<pre> --user ntop </pre>
 
<pre> #save messages into the system log </pre>
<pre> --use-syslog=daemon </pre>
 
<pre> # sets the directory that ntop runs from </pre>
<pre> --db-file-path /var/lib/ntop </pre>
 
<pre> # the amount and severity of messages that ntop will put out </pre>
<pre> --trace-level 3 </pre>
 
<pre> # limit ntop to listening on a specific interface and port </pre>
<pre> --http-server 3000 --https-server 3001 </pre>
 
<pre> # specify the interface </pre>
<pre> --interface eth0 </pre>
 
<pre> # Under certain circumstances, the sched_yield() function causes the ntop web </pre>
<pre> # server to lock up. It shouldn't happen, but it does. This option causes </pre>
<pre> # ntop to skip those calls, at a tiny performance penalty. </pre>
<pre> --disable-schedyield </pre>
 
<pre> # disables "phone home" behavior </pre>
<pre> --skip-version-check=yes </pre>
----
 
tested on fedora9 32-bit
[[Category:Apps]]
33

edits