[rrd-users] Re: rrdtool and Netflow question

Hector Jose Montalvo Herrera hector.montalvo at prodigyhosting.com.mx
Wed Aug 27 02:01:00 MEST 2003


Thanks for you help,
I have a file log with the format like to below.  I used rrdtool to generate
a data base with time of every second. I make command grep of the ips that I
want and after,  convert  the date to timestamp and add the value of the
bytes.
example:    9876756:304037
I add the value of the bytes with rrdtool update rrd.rrd $timestamp:$bytes
but as the seconds are not continuous rrdtool not  takes it values to 0 when
te second not exists!
  For example, I have data with the next line:

  seconds          value
     1                    10
      2                    20
       5                    30
        7                    40

  If I fill the rrdtool, when I do    rrdtool fetch rrd.rrd   I can only
values with  nan nan nan.

 How I can insert values to graph?

Thanks.


SrcIP            DstIP            NumBytes    StartTime
EndTime                  SrcPort     DstPort     IPProtocol
---------------  ---------------  ----------  -----------------------  -----
------------------  ----------  ----------  ----------
208.56.144.192   200.57.129.19        304037  08/16/2003 23:29:43 CDT
08/17/2003 00:00:00 CDT          25       55203           6
200.57.152.155   148.233.93.166         2564  08/16/2003 23:59:28 CDT
08/17/2003 00:00:01 CDT        1846          80           6
200.57.152.200   200.64.89.230        113156  08/16/2003 23:51:45 CDT
08/17/2003 00:00:00 CDT          80        1493           6
200.57.152.155   211.175.77.162       395925  08/16/2003 23:29:55 CDT
08/17/2003 00:00:00 CDT          80        1510           6
200.57.152.221   210.214.195.29      8284712  08/16/2003 23:21:41 CDT
08/17/2003 00:00:00 CDT        3281          80           6
200.57.152.155   200.64.238.225       745384  08/16/2003 23:29:34 CDT
08/17/2003 00:00:00 CDT        4330          80           6
200.57.152.218   200.66.220.6         224668  08/16/2003 23:39:43 CDT
08/17/2003 00:00:00 CDT          80        2649           6
200.57.152.171   203.67.218.220       447026  08/16/2003 23:29:34 CDT
08/17/2003 00:00:00 CDT        3439          80           6
200.57.152.155   207.248.47.73        217950  08/16/2003 23:29:50 CDT
08/17/2003 00:00:01 CDT        3784          80           6
200.57.152.151   200.65.111.206       108029  08/16/2003 23:30:17 CDT
08/17/2003 00:00:01 CDT        1672          80           6

----- Original Message ----- 
From: "Leigh Sharpe" <lsharpe at pacificwireless.com.au>
To: "Hector Jose Montalvo Herrera" <hector.montalvo at prodigyhosting.com.mx>;
<rrd-users at list.ee.ethz.ch>
Sent: Tuesday, August 26, 2003 5:59 PM
Subject: [rrd-users] Re: rrdtool and Netflow question


Flowscan does exactly what you want.

http://net.doit.wisc.edu/~plonka/FlowScan/

More information here:
http://www.linuxgeek.org/netflow-howto.php

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list