Solved

ntop configuration for different port where art thou.

Posted on 2011-03-22
1
632 Views
Last Modified: 2012-05-11
 So im trying to configure ntop, which is currently running fine, to use another interface for monitoring. Currently its using the same interface the web pages are dilivered on.  So I goto to admin web page >> preferences and under the -i option it gives me "You cannot set the capture interface: missing privileges." fine so i need to be roo or whatever. then I click "Show configurattion" link at the bottom and get a page that gives me the parameters that ntop starts with. Under "start as" i get this line "/usr/sbin/ntop -d -L -u ntop -P /var/lib/ntop --access-log-file -i eth0 -p /etc/ntop/protocol.list -O /var/log/ntop "
awsome!!! the golden egg. I search the internet for hours trying to find where this line is kept and nothing every file it suggests is either blank or non existant. Im running Ubuntu 10 can anyone solve my mystery??!!  arg
0
Comment
Question by:Roodona
1 Comment
 
LVL 6

Accepted Solution

by:
de2Zotjes earned 500 total points
ID: 35193876
That line nowhere to be found because it is generated by the start script for ntop: /etc/init.d/ntop
It contains the following lines:
  start-stop-daemon --start --quiet --name $NAME --exec $DAEMON -- \
  -d -L -u $USER -P $HOMEDIR \
  --access-log-file=$LOGDIR/access.log -i "$INTERFACES" \
  -p /etc/ntop/protocol.list \
  -O $LOGDIR $GETOPT

Open in new window


The bit you are interested in is  -i "$INTERFACES".
A bit of searching shows that /var/lib/ntop/init.cfg is included (via /etc/default/ntop), this init.cfg contains the following (on my box):
USER="ntop"
INTERFACES="eth0"

Open in new window


0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now