Thanks... my ntop is running after I started it with /etc/init.d/ntop
start. Then I point my web browser to http://hostname:3000 the data are
shown.
But some part of my NTOP are not showing data. There are 7 portion 1)About
NTOP 2)Data Receive 3)Data sent 4)Statistics 5)IP traffic 6)IP protocol
Those are no data are 1) Netflow in Data received 2)Plugins in Stats
3)L->R, L-L, Matrix in IP traffic, 4)Routers in IP protocols. Why? How can
it be solved
Besides, I want to know what is the Max rows (or hosts) that it can display,
how about the remaining??
Thank you very much
[root@lemon init.d]# more ntop
#!/bin/sh
#
# chkconfig: 2345 93 83
#
# description: This shell script takes care of starting and stopping ntop.
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -x /usr/sbin/ntop ] || exit 0
start () {
# start daemon
echo -n "Starting ntop: "
daemon ntop ip -d -r 600 -w 3000 -P /var/ntop/
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/ntop
return $RETVAL
}
stop () {
# stop daemon
echo -n "Stopping ntop: "
killproc ntop
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/ntop
return $RETVAL
}
restart () {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
condrestart)
[ -f /var/lock/subsys/ntop ] && restart || :
;;
status)
status ntop
;;
*)
echo "Usage: ntop {start|stop|restart|condrestart|status}"
exit 1
esac
exit $RETVAL
-----Original Message-----
From: Tzafrir Cohen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:03 PM
To: Ntop
Subject: RE: [Ntop] why ntop not working-> plugins/ directory missing.
Excuse me for being noisy, but...
On Thu, 3 Jan 2002, Burton M. Strauss III wrote:
> I would guess (only a guess) that the relevant directory is
> "/opt/ntop-1.3.1/plugins" - did you check permissions on it?
I guess not. Redhat typically don't usually use /opt . Unfortunetly I
can't find the record for this package in rpmfind.net (which would have
shown the list of files).
'rpm -ql ntop ' will do , of course.
>
> To the best of my knowledge there is no RedHat RPM yet for 2.0.
>
> Not having access to the plugins directory shouldn't kill NTop (at least
> v2).You might try running it directly from the command like (steal the
> command from the script, but remove the -d (daemon) prompt - you should
then
> see all the messages on the console).
>
> ====
>
> Best bet would be to download the source and configure 2.0.It's a lot more
> advanced and reported more stable, anyway...
>
As I mentioned before: there is one at rhcontrib.bero.org. It did not
rebuild well on my system, but maybe rebuilding it on another system with
the ntop 2.0 instead of ntop 2.0-beta1 tarball (see the RPM-HOWTO for
basic procedures of modifying RPMs) would give you a good package.
It seems that this package contains soe extra config files, like an init.d
script, and log rotation scripts.
>
> You should have or find RPMs for gdbm and libpcap (try rpmfind.net if it's
> not on your RedHat CDs - and these may already be installed - libpcap, for
> example, if you selected the tcpdump package).
>
(for building the -devel rpm packages are typically required, e.g:
libpcap-devel , gdbm-devel)
--
Tzafrir Cohen /"\
mailto:[EMAIL PROTECTED] \ / ASCII Ribbon Campaign
Taub 229, 972-4-829-3942, X Against HTML Mail
http://www.technion.ac.il/~tzafrir / \
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop
==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
==================================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.
==================================================================
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop