You can access the rrd databases using rrdtools (search the net for it).
There are both dump and export commands which give you access to the
contents.  There is also an api.

 

As for the dumpTrafficdata issue, most fields are 64-bit counters.  Sounds
like you've found one that is still a 32-biter.

 

-----Burton

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Teak Min
Sent: Friday, June 01, 2007 1:49 AM
To: [email protected]
Subject: [Ntop-dev] dumpTrafficdata.html issue

 

I'm working on a project using Ntop 3.3.  I need data such as the amount of
certain traffic on my network.  Couldn't figure out a way to access the RRD
database so I found dumpTrafficdata.html.  I wrote a python program to read
the data.  But I noticed a problem.  In the long view, there's a section for
"IP" and a list of protocols like FTP, etc.  Let's use FTP as an example.
FTP then has 4 fields:  local, local2remote, remote2local, and remote.  The
weird thing is I noticed that local will grow up to unsigned 2^32 value and
then drop back to a small number.  It appears that once the value gets past
4G, it rolls over and starts back I assume at 0.  So does anyone know if
there is a fix so I can read values bigger than 4Gs?  Thanks. 

JJ

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

Reply via email to