<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:506791397;
        mso-list-type:hybrid;
        mso-list-template-ids:-2085829666 201916431 201916441 201916443 201916431 201916441 201916443 201916431 201916441 201916443;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi List, Been using rrdtools for a few years however only ever had basic graph options. Looking to expand my knowledge<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]><u>Print time of Max Value in legend<o:p></o:p></u></p><p class=MsoNormal>I know this should be easy (I think) however cannot seem to get the time that the MAX value was recorded in the legend. I though<span style='color:#1F497D'>t</span> all I would have to do is add :srtftime %H %m %S.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>VDEF:phavg=phv,MAXIMUM GPRINT:phavg:" Peak = %3.0lf mbar " :srtftime “%H %m %S” \<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>RRD Version 1.4.3<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>THIS IS MY CURRENT CODE (Without time of max value)<o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal>## Weather Station Barometer ##<o:p></o:p></p><p class=MsoNormal>rrdtool graph /var/www/weather.png --start $STIME --end $ETIME \<o:p></o:p></p><p class=MsoNormal>--upper-limit $HIGHSCALE --lower-limit $LOWSCALE \<o:p></o:p></p><p class=MsoNormal>--alt-y-grid \<o:p></o:p></p><p class=MsoNormal>--rigid \<o:p></o:p></p><p class=MsoNormal>--units-exponent 0 \<o:p></o:p></p><p class=MsoNormal>--interlaced \<o:p></o:p></p><p class=MsoNormal>--width 944 --height $HEIGHT \<o:p></o:p></p><p class=MsoNormal>--vertical-label "millibar" \<o:p></o:p></p><p class=MsoNormal>--color CANVAS#000000 \<o:p></o:p></p><p class=MsoNormal>--title "Barometric Pressure" \<o:p></o:p></p><p class=MsoNormal>DEF:phv=/var/www/rrd/weather_1.rrd:pnt_10:AVERAGE LINE1:phv#0000FF:"Pressure" \<o:p></o:p></p><p class=MsoNormal>VDEF:phlast=phv,LAST GPRINT:phlast:"Current = %3.0lf" \<o:p></o:p></p><p class=MsoNormal>VDEF:phavg=phv,MAXIMUM GPRINT:phavg:" Peak = %3.0lf mbar \l" \<o:p></o:p></p><p class=MsoNormal>--watermark "Weather Station">/dev/null<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]><u>I see GPRINT has been obsoleted<o:p></o:p></u></p><p class=MsoNormal>I understand GPRINT is no longer the preferred way however there are little examples of using whatever has taken over from GPRINT. I did try simply changing GPRINT to PRINT however it did not work.<o:p></o:p></p></div></body></html>