From 8e76bfd2c826db393f7523867938868cc004c93c Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Thu, 13 May 2010 00:37:40 +0200 Subject: network/ntop: Updated for version 3.3.10 --- network/ntop/README | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) (limited to 'network/ntop/README') diff --git a/network/ntop/README b/network/ntop/README index 758c4fdd44..81f6851706 100644 --- a/network/ntop/README +++ b/network/ntop/README @@ -7,51 +7,20 @@ It sports a NetFlow/sFlow emitter/collector, an HTTP-based client interface for creating ntop-centric monitoring applications, and RRD for persistently storing traffic statistics. -ntop requires rrdtool, which is also available at Slackbuilds.org. +This requires libevent, rrdtool, lua, and GeoIP. ntop needs to run under its own user/group. This has been assigned to the following by SlackBuilds.org, but feel free to change it on your system for consistency with local assignments. User: ntop UID: 212 GID: 212 group: ntop GID: 212 - -If you want to change that, you'll need to change the script and -the rc.ntop to reflect your changes. +You can change pass alternate values for the user and group using +NTOPUSER and NTOPGROUP variables when running the build script. Logs are placed in /var/log/ntop/ and will be rotated every week. The log rotation will restart the ntop server which will reset the ntop statistics. If you want to keep the statistics you have to edit or delete the /etc/logrotate.d/ntop file. -If you want to start ntop on system bootup: - -/etc/rc.d/rc.local -================== - # Startup ntop - if [ -x /etc/rc.d/rc.ntop ]; then - /etc/rc.d/rc.ntop start - fi - -/etc/rc.d/rc.local_shutdown -=========================== - # Stop ntop - if [ -x /etc/rc.d/rc.ntop ]; then - /etc/rc.d/rc.ntop stop - fi - -Additionally, you'll have to set the rc script to be executable just -like any other Slackware rc script. - # chmod +x /etc/rc.d/rc.ntop - -When ntop is installed at the first time, you MUST set the -administration password for ntop (user 'admin'). You do that -by running ntop with the option -A (or --set-admin-password) as root. - # /usr/bin/ntop -P -u -A - For example: - # /usr/bin/ntop -P /var/lib/ntop -u ntop -A -It will prompt you for the password and then exit. - -Running ntop: -Once ntop has started and configured correctly, you should be able to look -at all the data it's collected by pointing your browser at: - http://localhost:3000/ +For some important post-build and basic configuration instructions, +see the included 'README.SLACKWARE' file. -- cgit v1.2.3