[rrd-users] rrd grap problem

Kenneth Primstad KONKPR at Statoil.com
Fri Mar 9 12:06:08 CET 2007


Hi..
 
I have a simpel RRD:
 

  my $rrd = "test.rrd";

  my $step = 60 * 60 * 24;
  my $level = $step * 1.5;
 

  my $START = 1136156400-5000000;
 

  my @options = ("--start", $START, "--step", $step,
     "DS:successful:GAUGE:$level:U:U",
     "DS:faileduser:GAUGE:$level:U:U",
     "DS:failedother:GAUGE:$level:U:U",
     "DS:persuccessful:GAUGE:$level:U:U",
     "DS:perfaileduser:GAUGE:$level:U:U",
     "DS:perfailedother:GAUGE:$level:U:U",
     "RRA:AVERAGE:0.5:1:5000",
     "RRA:AVERAGE:0.5:30:2000",
     "RRA:AVERAGE:0.5:60:4000",
     "RRA:AVERAGE:0.5:1440:800",
     "RRA:MAX:0.5:1:5000",
     "RRA:MAX:0.5:30:2000",
     "RRA:MAX:0.5:60:4000",
     "RRA:MAX:0.5:1440:800");

    RRDs::create $rrd, @options;

 
 
If I put the followin data for value successful in at 12:00:00 for each
day:
 
day 1: 20
day 2: 20
day 3: 20
day 4: 10
day 5: 10
day 6: 10
 
 
RRDs::graph "$filename",
--snipp--
       "DEF:successful=$rrd:successful:MAX",
       "DEF:faileduser=$rrd:faileduser:MAX",
       "DEF:failedother=$rrd:failedother:MAX",
--snipp-

When i create a graph showing the data it shows:
 
day 1: 20
day 2: 20
day 3: 20
day 4: 15
day 5: 10
day 6: 10
 
Why is this ? and how can I avoid it ?
 
Kenneth Primstad
* E-mail: konkpr at statoil.com
 


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070309/bc30db59/attachment.htm 


More information about the rrd-users mailing list