Dear Sir,

On Wed, May 28, 2003 at 02:18:18PM -0000, Filippo Stefanelli wrote:
> Hi all,
> 
> I am affascinated of the plots found at
> 
> http://www.ntop.org/RRD/
> 
> Especially the first one.
> 
> I have defined some ports to look with -p
> and now I really like to plot a graph like the first one in that URL.
> 
> Which is the code? Where can i find it?
> 

The code used to generate these graphs includes two parts

1 Code to extract data from Ntop and save it somehow

look at ntop/www/Perl for some examples.

2 Code that produces the graphs.
  Ntop uses rrdtool (with either the Perl bindings to rrdgraph or the 
special rrdtool CGI program.

Ntop used to distribute two sample RRD programs 

 . nwUsage.pl and

 . protoUsage.pl

that did _both_ of these things and work well, but that seems to have 
stopped with releases close to 2.2

Have a hunt in the CVS.

However, if you are not comfortable with

. creating RRDs from scratch

. creating or hacking RRD graph scripts

You will not have much fun.

Ntop is basically a collector; presentation is up to _you_.



> I have read the rrdtool tutorial and the rrdtool man pages but I didn't 
> understand a lot. Probabily I have not spend much time on it. If I can 
> see the code beside the plots peraphs is a better way to learn.
> 
> Thanks in advance.
> Filippo.

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