Dear Sir,

I am writing to thank you for your letter and say,

On Sun, Nov 02, 2003 at 02:18:36PM -0800, Garth Lezama wrote:
> Anbody have any
> ideas how to use the rrd databases to get total tcp/ip
> traffic over timea and http taffic?
> 

I think that the answer to your question is that Ntop simply doesn't 
graph protocols over time but it does save the data in an RRD from which 
you can do so yourself.

Therefore, this is really an RRD question and 

1 the best place to start is with an appreciation of RRD which you may 
get from

1.1 man rrd, manrrdtutorial, perldoc RRDs (this gives the Perl API for 
drawing graphs from a Perl program)

1.2 the excellent introduction to RRD and its use in Ntop by Burton 
Strauss in the SourceForge Documentation.

(From the faq.html [in the CVS edition of NTOP]
   Q.  What's rrd?
        
   A.  There's a 12 page writeup on what rrd is and what ntop does with
it. A pdf version is posted at SourceForge in the "Documentation"  
release.
   Download it and read it. 
   
)

2 You really have two approaches to graphing your Ntop collected RRD 
data

2.1 roll your own shell/Perl/Python graphing routines

These are not difficult, no more than one or two dozen lines of Perl.

You need the rrdtool installed on your machine (Ntop embeds parts of 
rrdtool so it can't be used for this purpose); it has sample graphing 
code included with it.

2.2 look for an RRD front end that graphs data from existing RRDs

Probably the RRD web page is the best place for front ends although I am 
not sure there is a front end that doesn't want to do the data 
acquisition also (which you don't want since Ntop is doing it for you).

> I thought the developer list might be better but I'm
> giving this list a shot. Appreciate the help.
> 
> Garth


Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to