[root@hostname temp]# ls /usr/share/ntopng
AddressResolution.cpp   config.h.in    Flow.h
Geolocation.cpp  HTTPserver.h   Makefile.in           ntop-cert.pem
ntop_win32.cpp          PeriodicActivities.o   README.ntopng    Trace.o
AddressResolution.h     config.h.in~   FlowHash.cpp          Geolocation.h
   HTTPserver.o   Mutex.cpp             Ntop.cpp         ntop_win32.h
      PF_RINGInterface.cpp   README.todo      TrafficStats.cpp
AddressResolution.o     config.log     FlowHash.h            Geolocation.o
   IpAddress.cpp  Mutex.h               ntop_defines.h   ntop_win32.o
      PF_RINGInterface.h     README.users     TrafficStats.h
autom4te.cache          config.status  FlowHash.o            Host.cpp
   IpAddress.h    Mutex.o               NtopGlobals.cpp  patricia.cpp
      PF_RINGInterface.o     Redis.cpp        TrafficStats.o
Categorization.cpp      configure      Flow.o                Host.h
   IpAddress.o    nDPI                  NtopGlobals.h    patricia.h
      Prefs.cpp              Redis.h          Utils.cpp
Categorization.h        configure.in   GenericHash.cpp       HostHash.cpp
   Lua.cpp        NdpiStats.cpp         NtopGlobals.o    patricia.o
      Prefs.h                Redis.o          Utils.h
Categorization.o        COPYING        GenericHashEntry.cpp  HostHash.h
   Lua.h          NdpiStats.h           Ntop.h           PcapInterface.cpp
      Prefs.o                scripts          Utils.o
CollectorInterface.cpp  EthStats.cpp   GenericHashEntry.h    HostHash.o
   Lua.o          NdpiStats.o           ntop_includes.h  PcapInterface.h
      ProtoStats.cpp         service_win32.c
CollectorInterface.h    EthStats.h     GenericHashEntry.o    Host.o
   main.cpp       NetworkInterface.cpp  ntopng           PcapInterface.o
      ProtoStats.h           third-party
CollectorInterface.o    EthStats.o     GenericHash.h         httpdocs
   main.o         NetworkInterface.h    ntopng.8
PeriodicActivities.cpp  ProtoStats.o           Trace.cpp
config.h                Flow.cpp       GenericHash.o
HTTPserver.cpp   Makefile       NetworkInterface.o    Ntop.o
PeriodicActivities.h    README.categorization  Trace.h
[root@hostname temp]# ntopng -i br0 -d /var/ntopng/ -m 10.94.7.0/24  -c
none -w 13000 -U ntop --dont-change-user --httpdocs-dir
/usr/share/ntopng/httpdocs
26/Jun/2013 10:57:54 [Prefs.cpp:306] ERROR: Unable to locate docs dir


From:  Alfredo Cardigliano <[email protected]>
Reply-To:  "[email protected]" <[email protected]>
Date:  Wednesday, June 26, 2013 10:45 AM
To:  "[email protected]" <[email protected]>
Subject:  Re: [Ntop-dev] Things I have found


Frank
just to make sure I understand correctly, please cut&paste the ntopng
command and output.

Thanks
Alfredo

On Jun 26, 2013, at 4:38 PM, "Eargle, Frank" <[email protected]> wrote:


No, when I run ntopng from /usr/sbin and use the httpdocs-dir as
/usr/share/ntopng/httpdocs which is a copy of the build httpdocs
directory.  The geoip files are below the httpdocs directory because I
copied the entire dir to the /usr/share/ntopng/httpdocs.

From: Alfredo Cardigliano <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, June 26, 2013 10:31 AM
To: "[email protected]" <[email protected]>
Subject: Re: [Ntop-dev] Things I have found


Frank
please see inline

On Jun 26, 2013, at 4:15 PM, "Eargle, Frank" <[email protected]> wrote:


Local/Remote hosts seems to be fixed.

Local Hosts Matrix working running as privileged and non-privileged user.

Treemap is still the same.

-httpdocs-dir switch still doesn't seem to work.




If you mean geoip, please try with "make geoip"



If I want to specify more than one interface how do I do that, other than
using the ANY interface?




This is not supported yet.

Alfredo



-F

From: Alfredo Cardigliano <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, June 26, 2013 8:58 AM
To: "[email protected]" <[email protected]>
Subject: Re: [Ntop-dev] Things I have found


Hi Frank
please see inline

On Jun 25, 2013, at 5:55 PM, "Eargle, Frank" <[email protected]> wrote:


When compiling on Centos 5.9 x86_64:

Compiling fails on the file below with "no carriage return".  I add a CR
to the end it compiles.
/temp/ntopng/third-party/zeromq-3.2.3/tests/test_connect_delay.cpp




Please try with a fresh checkout, it compiles smoothly on my centos now.


I am running ntop with:
ntopng -i eth1 -d /var/ntopng/ -m 10.x.x.0/24  -c none -w 13000

When run the first time, it complained that the file
"/var/ntopng/ntopng-users.conf" file did not exist and that it would
create it.  I had to manually touch the file.  Saving users apparently
works though.  I don't have any other configuration items under
 Admin

The sensing interface is br0.  During the first run it returned this.
5/Jun/2013 10:59:05 [Lua.cpp:1232] WARNING: Script failure
[/temp/ntopng/scripts/lua/if_stats.lua][/temp/ntopng/scripts/lua/if_stats.l
ua:95: attempt to index global 'ifstats' (a nil value)]
It has since stopped showing this.




Please note that ntopng changes the user to nobody, make sure that it has
enough privileges to access httpdocs, scripts, data (you can check this
using --dont-change-user)
Following errors could be side effects of this, please double-check and
let us know.

Alfredo



When I choose Hosts TreeMap there is nothing there but a question mark.
When clicked it launches:
http://bl.ocks.org/mbostock/4063582

Hosts|Local Matrix returns "No local hosts can be found".  It also lists
only remote hosts in the hosts list.  Though the addresses of several of
those hosts is within the net block for the ­m above.

I also tried the ­1 and --httpdocs-dir with a directory and it was not
able to find the geoip in there.  If I run ntopng from the temp
compile/install directory it doesn't complain.

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev








_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev









_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev





_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to