[drraw-users] Displaying a LAST value in the legend, when no LAST RRA is present

Christophe Kalt kalt at taranis.org
Tue Jun 9 05:49:13 MDT 2009


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20090609/cc8e8702/attachment.html>


More information about the drraw-users mailing list