[rrd-users] Re: GPRINT'd MAX less than max in graphed line

Dave Lugo dlugo at etherboy.com
Fri Jan 2 21:35:49 MET 2004


On Fri, 2 Jan 2004, Dave Lugo wrote:
> 
> graph can be seen here:
> 
>   http://spot.etherboy.com/in_cluster_connects_day.png
> 
> I'm using the following RRDCGI directives:
> 
> (please pardon the linewraps if they appear)
> 
> 
>   DEF:linee=<RRD::CV::QUOTE CLUSTER>/in_cluster_connects.rrd:total_connections:AVERAGE 
>   "CDEF:lineepm=linee,60,*" LINE1:lineepm#010101:"Total non-shed connects  "
>   GPRINT:lineepm:MAX:%6.1lf%s
> 
> 
> I'm at a total loss to understand why the max peak in the graph, which 
> seems to be about 210, is not reflected in the GPRINT'd MAX output, which
> shows it at 169.4.
> 
> I probably did something st00pid - can someone please educate me?
> 

Another datapoint - I've manually gone over the logs that feed rrd - the 
MAX in the legend seems to be correct, while the graphed line seems to be
too high for the relevent time period.

The graph is created with:

<RRD::GRAPH <RRD::CV::QUOTE CLUSTER>/pics/in_cluster_connects_day.png -a PNG -Y -i -R -w 600
     --imginfo '<IMG SRC="<RRD::CV CLUSTER>/pics/in_cluster_connects_day.png" WIDTH="695" HEIGHT="250">'
     --title <RRD::CV::QUOTE CLUSTER>"        Connects/Minute        (5 Minute Average)"
        COMMENT:"                              maximum  average  current\n"
  DEF:linee=<RRD::CV::QUOTE CLUSTER>/in_cluster_connects.rrd:total_connections:AVERAGE 
  "CDEF:lineepm=linee,60,*" LINE1:lineepm#010101:"Total non-shed connects  "
  GPRINT:lineepm:MAX:%6.1lf%s
  GPRINT:lineepm:AVERAGE:%6.1lf%S
  GPRINT:lineepm:LAST:%6.1lf%S
  ...etc...

(creating it via rrdtool graph doesn't make a difference - there is still 
the incongruity between the line max and the legend max)

Any help appreciated...

Thanks,

Dave

-- 
--------------------------------------------------------
Dave Lugo   dlugo at etherboy.com    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.

--
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