[rrd-users] Re: Numbers

Joe Loiacono jloiacon at csc.com
Tue May 30 22:16:58 MEST 2006


I'm using RRDTool to collect and graph filtered Netflow data. I have set 
it up with 4 MRTG-like RRAs, and I produce new graphs every 5 minutes. I 
have VDEFs for MAX, MIN, AVG, 95th PCT. These print out for each of the 
four graphs nicely, with the exeception that on the final graph (the one 
that shows 24 hour averages per day) the units (Mbits/second) are in 
Bits/second and are very large and hard to read. I notice the 95th PCT is 
NAN.
Has anyone seen this effect before?

Thanks, Joe

RRD file set up:

     $rrdtool_command =   "$rrdtool_bin_directory/rrdtool create 
$rrdtool_file ".
                          "--step 300 ".
                          "--start $start_rrd ".
                          "DS:flowbits:GAUGE:600:U:U ".
                          "RRA:AVERAGE:0.5:1:600 ".
                          "RRA:AVERAGE:0.5:6:700 ".
                          "RRA:AVERAGE:0.5:24:775 ".
                          "RRA:AVERAGE:0.5:288:797 ".
                          "RRA:MAX:0.5:1:600 ".
                          "RRA:MAX:0.5:6:700 ".
                          "RRA:MAX:0.5:24:775 ".
                          "RRA:MAX:0.5:288:797";

Graphing command:

      RRDs::graph   "$graph_file", 
                    "--title=$rrd_title", 
                    "--start=$start_rrd", 
                    "--end=$end_rrd", 
                    "--interlace", 
                    "--slope-mode", 
                    "--width=$rrd_width", 
                    "--height=$rrd_height", 
                    "--color=FONT#$rrd_font", 
                    "--color=BACK#$rrd_back", 
                    "--color=CANVAS#$rrd_canvas", 
                    "--color=GRID#$rrd_grid", 
                    "--color=MGRID#$rrd_mgrid", 
                    "--color=FRAME#$rrd_frame", 
                    "--color=SHADEA#$rrd_frame", 
                    "--color=SHADEB#$rrd_frame", 
                    "--lower-limit=0", 
                    "DEF:flowbits=$rrdtool_file:flowbits:AVERAGE", 
                    "VDEF:flowbitsmax=flowbits,MAXIMUM", 
                    "VDEF:flowbitsavg=flowbits,AVERAGE", 
                    "VDEF:flowbitsmin=flowbits,MINIMUM", 
                    "VDEF:flowbitspct=flowbits,95,PERCENT", 
                    "AREA:flowbits#$rrd_area:", 
                    "LINE$rrd_thick:flowbits#$rrd_line:", 
                    "COMMENT:$sample   ", 
                    "COMMENT:\\n", 
                    "COMMENT:\\n", 
                    "COMMENT:     95th percentile    ", 
                    "GPRINT:flowbitspct:%6.2lf %Sbps ", 
                    "COMMENT:\\n", 
                    "COMMENT:             Maximum    ", 
                    "GPRINT:flowbitsmax:%6.2lf %Sbps ", 
                    "COMMENT:\\n",
                    "COMMENT:             Average    ",
                    "GPRINT:flowbitsavg:%6.2lf %Sbps ",
                    "COMMENT:\\n",
                    "COMMENT:             Minimum    ",
                    "GPRINT:flowbitsmin:%6.2lf %Sbps ";
 

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list