Hi Luca,
Thanks for the prompt reply. What we are doing is extracting NTop data
to display some charts on a report page. So, the counter I am talking
about is amount of data (uploaded + Downloaded) by all IP Addresses
combined on the network that I am spoofing on using a hub.

The attached files will explain it more clearly. 

NTop interface shows the data (for 1st 2 IP Addresses) above 4 GB fine.
But, the report page that we are generating using the data extracted
from NTop database by parsing following pages is showing incorrect data.

http://localhost:3000/dumpTrafficData.html?language=python&view=long

http://localhost:3000/dumpData.html?language=txt&view=short

 

We are using this method because from the forums we got a feeling (when
we started the project) that "rrd" tool to extract NTop data is a bit
buggy.

Please let us know if you think of a better way of doing things and if
someone can fix the bug.

Thanks again for your time and effort.
Best Regards,
Darshit

 

------------------------------------------------------------------------
------------------------------------------------------------------------
-------

Date: Tue, 25 Sep 2007 09:51:36 +0200

From: Luca Deri <[EMAIL PROTECTED]>

Subject: Re: [Ntop-dev] NTop Rollover issue

To: [email protected]

Message-ID: <[EMAIL PROTECTED]>

Content-Type: text/plain; charset=ISO-8859-1

 

Darshit

1. you don't need to parse html pages. You can export data via xml,perl
etc.

2. couters should be pretty large. What is the counter you're talking
about?

 

Regards, Luca

 

[EMAIL PROTECTED] wrote:

> Hi All,

> I am a proud user of NTop and the wonderful features associated with 

> the tool developed by you guys.

> I just came across a major bug related to NTop database. I am trying 

> to use the web parser to query NTop database to find "Amount of Data 

> Downloaded" and then parse the html page results to find the counter.

> This counter which is supposed to indicate "Amount of Data" is a big 

> factor for my usage of the tool and accuracy is a must for the project


> I am working on.

> 

> If someone can please change the type of the variable from "unsigned" 

> to something else, then that will remove the limitation and will not 

> reset the counter after every 4 GB. Right now, after 4 GB, it resets 

> on the html page results. While, actual NTop interface shows correct 

> data transferred.

> 

> Please let me know if you need some screenshots to explain the issue 

> more clearly.

> 

> Thanks again for all the good work done so far.

> 

> Best Regards,

> Darshit

 

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

Reply via email to