Same Problem with "Statistics/Network Load": Network load statistics are not available for virtual interfaces. In ntop v.2.1.2 it was running.
Lubo Kovac -----Urspr�ngliche Nachricht----- Von: Burton M. Strauss III [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 14:36 An: [EMAIL PROTECTED] Betreff: RE: [Ntop] IP Traffic/Matrix with NetFlow The ipTrafficMatrix is initialized for real devices in initLibpcap() (initialize.c). Dummy devices, such as the netFlow device are initialized (also in initialize.c) in a different place, createDummyInterface(), which doesn't create ipTrafficMatrix. The reporting code (report.c) is: if(myGlobals.device[myGlobals.actualReportDeviceId].ipTrafficMatrix == NULL) { printFlagedWarning("<I>Traffic matrix is not available for the selected network interface</I>"); return; } So, if it's not initialized, it's not available for reporting. Without doing a lot more research, I don't know WHY it's not being setup. I don't see any obvious problems - the test always looks like "if it's not null, let's do something with it". The hidden problem might be that there are required data for this that's not in the netflow packets. But you could EXPERIMENT, lifting the lines from initLibpcap() and dropping them into createDummyInterface(). We should move this to ntop-dev, and let us know the results. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kovac Luboslav Sent: Wednesday, November 27, 2002 2:41 AM To: [EMAIL PROTECTED] Subject: [Ntop] IP Traffic/Matrix with NetFlow Hi, running ntop v2.1.52 (current from 26.11.2002) under SuSE 8.1, using NetFlow Plugin. In IP Traffic I see "R->L", "L->R" and "L<->L", but from Matrix I get the Message "Traffic matrix is not available for the selected network interface. With "-m" I also set the local Network, but the Network from my eth0 is implicit also local Network. With NetFlow it does not make sence. If the NIC is eth0, IP Traffic/Matrix is working. Regards Lubo Kovac _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
