[drraw-users] Displaying a LAST value in the legend, when no LAST RRA is present
Thomas Lorenzen
ki11er_bob at yahoo.dk
Wed Nov 11 02:10:16 MST 2009
Hi'
Sorry about the late reply to this one.
The thing is, that my rrd files only have archives of types AVERAGE AND MIN AND MAX configured. Thus I have the following set in drraw.conf.
# Names of defined RRAs and the names to use on the graphs
# ** IMPORTANT: These MUST match with how your RRD files are setup!
@rranames = ( 'AVERAGE', 'MIN', 'MAX' );
%rranames = ( 'AVERAGE' => 'Avg',
'MIN' => 'Min',
'MAX' => 'Max',
);
This in turn means, that I have no such thing as a "'Last' Additional GPRINTs" available in the web editor. It only features adding legends for AVERAGE OR MIN OR MAX. Still, though, a legend telling, what the last value is, is very much wished for. Do you have some good ideas on, how to proceed with that.
Best regards.
Thomas.
--- Den tirs 9/6/09 skrev Christophe Kalt <kalt at taranis.org>:
Fra: Christophe Kalt <kalt at taranis.org>
Emne: Re: [drraw-users] Displaying a LAST value in the legend, when no LAST RRA is present
Til: "Martin Schuster (IFKL IT OS DSM CD)" <Martin.Schuster1 at infineon.com>
Cc: "Thomas Lorenzen" <ki11er_bob at yahoo.dk>, "drraw-users at lists.taranis.org" <drraw-users at lists.taranis.org>
Dato: tirsdag 9. juni 2009 13.49
Guess I missed this earlier, but in the editor, that's what the "'Last' Additional GPRINTs" gives you.
On Tue, Jun 9, 2009 at 05:57, Martin Schuster (IFKL IT OS DSM CD) <Martin.Schuster1 at infineon.com> wrote:
Thomas Lorenzen wrote:
> [...]
> Now, the rrd archives, which I have for drraw, also only have RRA archives of types AVERAGE AND MIN AND MAX. I am thus speculating, if drraw could be instructed to tell me in its legend about the latest value for each graphed dataseries. just like it is done in munin.
>
According to the rrdgraph_rpn manpage, there is a variable called LAST.
So you'd do something like
VDEF:lastpoint=ping,LAST
and then use
GPRINT:lastpoint:%5.2f
to print the value in the graph legend.
hth,
--
Infineon Technologies IT-Services GmbH Martin.Schuster1 at infineon.com
Lakeside B05, 9020 Klagenfurt, Austria Martin Schuster
FB: LG Klagenfurt, FN 246787y +43 5 1777 3517
_______________________________________________
drraw-users mailing list
drraw-users at lists.taranis.org
http://lists.taranis.org/mailman/listinfo/drraw-users_lists.taranis.org
___________________________________________________________
Skal du købe ny bil? Sammenlign priser på brugte biler med Kelkoo og find et godt tilbud! - Se mere her http://dk.yahoo.com/r/pat/mmb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20091111/7332178d/attachment.html>
More information about the drraw-users
mailing list