Hello Arianna,

I use version 1.2.2 r8591, pulled from svn

Here's my output:

~/ntopng# ./ntopng -i eth1 -i eth2 --dont-change-user
03/Dec/2014 12:29:50 [Ntop.cpp:683] Setting local networks to 
192.168.1.0/24,0.0.0.0/32,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32,127.0.0.0/8
03/Dec/2014 12:29:50 [Redis.cpp:84] Successfully connected to Redis 
127.0.0.1:6379
03/Dec/2014 12:29:50 [Redis.cpp:139] ERROR: ERR unknown command 'HGET'
03/Dec/2014 12:29:50 [Redis.cpp:139] ERROR: ERR unknown command 'HGET'
03/Dec/2014 12:29:50 [Redis.cpp:139] ERROR: ERR unknown command 'HGET'
03/Dec/2014 12:29:50 [PcapInterface.cpp:81] Reading packets from interface 
eth2...
03/Dec/2014 12:29:50 [Ntop.cpp:807] Registered interface eth2 [id: 0]
03/Dec/2014 12:29:50 [main.cpp:183] PID stored in file /var/tmp/ntopng.pid
03/Dec/2014 12:29:50 [HTTPserver.cpp:385] HTTPS Disabled: missing SSL 
certificate /root/ntopng/httpdocs/ssl/ntopng-cert.pem
03/Dec/2014 12:29:50 [HTTPserver.cpp:387] Please read 
https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL.
03/Dec/2014 12:29:50 [HTTPserver.cpp:432] Web server dirs 
[/root/ntopng/httpdocs][/root/ntopng/scripts]
03/Dec/2014 12:29:50 [HTTPserver.cpp:435] HTTP server listening on port 3000
03/Dec/2014 12:29:50 [main.cpp:231] Working directory: /var/tmp/ntopng
03/Dec/2014 12:29:50 [main.cpp:233] Scripts/HTML pages directory: /root/ntopng
03/Dec/2014 12:29:50 [Ntop.cpp:218] Welcome to ntopng i686 v.1.2.2 (r8591) - 
(C) 1998-14 ntop.org
03/Dec/2014 12:29:50 [PeriodicActivities.cpp:53] Started periodic activities 
loop...
03/Dec/2014 12:29:50 [RuntimePrefs.cpp:32] Dump alerts into syslog
03/Dec/2014 12:29:50 [NetworkInterface.cpp:842] Started packet polling on 
interface eth2 [id: 0]...
^C03/Dec/2014 12:29:54 [main.cpp:37] Shutting down...
03/Dec/2014 12:29:54 [PcapInterface.cpp:168] Terminated packet polling for eth2
03/Dec/2014 12:29:56 [ProtoStats.cpp:35] [IPv4]  699.23 KB/1.61 K Packets
03/Dec/2014 12:29:56 [ProtoStats.cpp:35] [IPv6]  305 B/2.00 Packets
03/Dec/2014 12:29:56 [ProtoStats.cpp:35] [ARP]   60 B/1.00 Packets
03/Dec/2014 12:29:56 [ProtoStats.cpp:35] [MPLS]  0 B/0.00 Packets
03/Dec/2014 12:29:56 [ProtoStats.cpp:35] [Other] 60 B/1.00 Packets
03/Dec/2014 12:29:56 [Ntop.cpp:833] Interface eth2 [running: 0]
03/Dec/2014 12:29:56 [main.cpp:55] Deleted PID /var/tmp/ntopng.pid [rc: 0]
03/Dec/2014 12:29:56 [NetworkInterface.cpp:202] Flushing host contacts for 
interface eth2
03/Dec/2014 12:29:56 [NetworkInterface.cpp:868] Cleanup interface eth2
03/Dec/2014 12:29:56 [HTTPserver.cpp:448] HTTP server terminated
03/Dec/2014 12:29:56 [AddressResolution.cpp:223] Address resolution stats [0 
resolved][1 failures]


Network configuration:
eth1      Link encap:Ethernet  HWaddr 10:fe:ed:02:29:8b  
          inet addr:81.82.214.104  Bcast:255.255.255.255  Mask:255.255.192.0
          inet6 addr: fe80::12fe:edff:fe02:298b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:462734524 errors:0 dropped:0 overruns:0 frame:0
          TX packets:335415823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1593948126 (1.5 GB)  TX bytes:3284914301 (3.2 GB)
          Interrupt:27 Base address:0xa000 

eth2      Link encap:Ethernet  HWaddr 00:11:43:7e:1d:c4  
          inet addr:192.168.111.248  Bcast:192.168.111.255  Mask:255.255.255.0
          inet6 addr: fe80::211:43ff:fe7e:1dc4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2458631417 errors:0 dropped:0 overruns:0 frame:0
          TX packets:978571489 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:205958636 (205.9 MB)  TX bytes:3829343578 (3.8 GB)
          Interrupt:16 

eth2:1    Link encap:Ethernet  HWaddr 00:11:43:7e:1d:c4  
          inet addr:192.168.111.1  Bcast:192.168.111.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16 


Regards,
Ruben

Hello,


Hi!


> I'm trying ntopng out, but I don't manage to poll more then one interface
>
> The commands i tried :
>     ./ntopng -i eth1 -i eth2              -> only eth2 is monitored
>     ./ntopng --interface=eth1 --interface=eth2 -> only eth2 is monitored
>     ./ntopng --interface=eth1,eth2    -> ntopng tries to monitor
> interface "eth1,eth2", which does not exist.
>
> What am I doing wrong?
>
>
I seem to be able to monitor multiple interfaces by using the -i switch
multiple times.
E.g.
# ./ntopng -i enp0s25 -i wlp3s0
<snip>
03/Dec/2014 09:55:49 [NetworkInterface.cpp:858] Started packet polling on
interface enp0s25 [id: 3]...
03/Dec/2014 09:55:49 [NetworkInterface.cpp:858] Started packet polling on
interface wlp3s0 [id: 8]...
# ./ntopng -i enp0s25 -i lo -i wlp3s0
<snip>
03/Dec/2014 09:59:57 [NetworkInterface.cpp:858] Started packet polling on
interface enp0s25 [id: 3]...
03/Dec/2014 09:59:57 [NetworkInterface.cpp:858] Started packet polling on
interface lo [id: 4]...
03/Dec/2014 09:59:57 [NetworkInterface.cpp:858] Started packet polling on
interface wlp3s0 [id: 8]...

I am using ntopng v.1.2.2 (SVN r1.2.2). Which version are you using?

Thanks,
Arianna


Kind regards,

> Ruben De Baets
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>

-- /* * Arianna Avanzini * [email protected] * http://ava.webhop.me */
-------------- next part -------------- An HTML attachment was
scrubbed... URL:
<http://listgateway.unipi.it/mailman/private/ntop/attachments/20141203/5a8e5eff/attachment-0001.htm>
------------------------------
_______________________________________________ Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop End of Ntop Digest,
Vol 127, Issue 7 ************************************

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

Reply via email to