<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi'<br><br>Sorry about the late reply to this one.<br><br>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.<br><br># Names of defined RRAs and the names to use on the graphs<br># ** IMPORTANT: These MUST match with how your RRD files are setup!<br>@rranames = ( 'AVERAGE', 'MIN', 'MAX' );<br>%rranames = ( 'AVERAGE' => 'Avg',<br> 'MIN' => 'Min',<br> 'MAX' => 'Max',<br> );<br><br>This in turn means, that I have no such thing as <span style="font-family: monospace;">a </span>"'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.<br><br>Best regards.<br><br>Thomas.<br><br>--- Den <b>tirs 9/6/09 skrev Christophe Kalt <i><kalt@taranis.org></i></b>:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Fra: Christophe Kalt <kalt@taranis.org><br>Emne: Re: [drraw-users] Displaying a LAST value in the legend, when no LAST RRA is present<br>Til: "Martin Schuster (IFKL IT OS DSM CD)" <Martin.Schuster1@infineon.com><br>Cc: "Thomas Lorenzen" <ki11er_bob@yahoo.dk>, "drraw-users@lists.taranis.org" <drraw-users@lists.taranis.org><br>Dato: tirsdag 9. juni 2009 13.49<br><br><div id="yiv40496714">Guess I missed this earlier, but in the editor, that's what the "'Last' Additional
GPRINTs" gives you.<br><br><div class="gmail_quote">On Tue, Jun 9, 2009 at 05:57, Martin Schuster (IFKL IT OS DSM CD) <span dir="ltr"><<a rel="nofollow" ymailto="mailto:Martin.Schuster1@infineon.com" target="_blank" href="/mc/compose?to=Martin.Schuster1@infineon.com">Martin.Schuster1@infineon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thomas Lorenzen wrote:<br>
> [...]<br>
<div class="im">> 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.<br>
><br>
</div>According to the rrdgraph_rpn manpage, there is a variable called LAST.<br>
<br>
So you'd do something like<br>
VDEF:lastpoint=ping,LAST<br>
and then use<br>
GPRINT:lastpoint:%5.2f<br>
to print the value in the graph legend.<br>
<br>
hth,<br>
--<br>
Infineon Technologies IT-Services GmbH <a rel="nofollow" ymailto="mailto:Martin.Schuster1@infineon.com" target="_blank" href="/mc/compose?to=Martin.Schuster1@infineon.com">Martin.Schuster1@infineon.com</a><br>
Lakeside B05, 9020 Klagenfurt, Austria Martin Schuster<br>
FB: LG Klagenfurt, FN 246787y +43 5 1777 3517<br>
<br>
_______________________________________________<br>
drraw-users mailing list<br>
<a rel="nofollow" ymailto="mailto:drraw-users@lists.taranis.org" target="_blank" href="/mc/compose?to=drraw-users@lists.taranis.org">drraw-users@lists.taranis.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.taranis.org/mailman/listinfo/drraw-users_lists.taranis.org">http://lists.taranis.org/mailman/listinfo/drraw-users_lists.taranis.org</a><br>
</blockquote></div><br>
</div></blockquote></td></tr></table><br>
<hr size=1><br><table><tr><td>
Audi, Fiat, Peugeot, Skoda, Porsche, Toyota, Ford - Kelkoo har brugte biler til en hver smag! Klik <a href=http://dk.yahoo.com/r/pat/mmb> her </a>for at sammenligne priser.</td></tr></table>