Print MAX with date

Jens Bremeier <[email protected]> Sat, 4 Nov 2017 20:09:19 +0100
Newsgroups gmane.comp.db.rrdtool.user
Message-ID <[email protected]>
--===============6540782708200221493==
Content-Type: multipart/alternative; boundary="Apple-Mail=_64FEA1A0-61B3-41A5-BDBC-BA9C92FEA0E0"


--Apple-Mail=_64FEA1A0-61B3-41A5-BDBC-BA9C92FEA0E0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi folks,

I am wondering how to make a graph with the date and time of maximum =
value.=20
Actually I do it this way:=20
'DEF:a_temperatur_max=3D/home/pi/wetter.rrd:aussentmp:MAX=E2=80=98 \
'VDEF:a_temp_max=3Da_temperatur_max,MAXIMUM' \
'GPRINT:a_temp_max:max\: %5.2lf =C2=B0C'

But would like to print the time of the maximum value also. Any hints?


Jens-Uwe Bremeier




--Apple-Mail=_64FEA1A0-61B3-41A5-BDBC-BA9C92FEA0E0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi folks,<div class=3D""><br class=3D""></div><div class=3D"">I=
 am wondering how to make a graph with the date and time of maximum =
value.&nbsp;</div><div class=3D"">Actually I do it this =
way:&nbsp;</div><div class=3D""><font face=3D"Menlo" class=3D""><span =
style=3D"font-size: 11px;" =
class=3D"">'DEF:a_temperatur_max=3D/home/pi/wetter.rrd:aussentmp:MAX=E2=80=
=98&nbsp;\</span></font></div><div class=3D""><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">'VDEF:a_temp_max=3Da_temperatur_max,MAXIMUM' =
\</span></div></div><div class=3D""><span style=3D"font-variant-ligatures:=
 no-common-ligatures" class=3D""><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">'GPRINT:a_temp_max:max\: %5.2lf =C2=B0C'</span></div><div =
class=3D""><br class=3D""></div><div class=3D"">But would like to print =
the time of the maximum value also. Any hints?</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div></span></div><div =
class=3D""><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
border-spacing: 0px; -webkit-text-decorations-in-effect: none; =
-webkit-text-stroke-width: 0px;"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; =
-webkit-text-stroke-width: 0px;"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; =
-webkit-text-stroke-width: 0px;"><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: =
0px;"><div class=3D"">Jens-Uwe Bremeier</div></span><br =
class=3D"Apple-interchange-newline"></span><br =
class=3D"Apple-interchange-newline"></div></span></div></span>
</div>
<br class=3D""></body></html>=

--Apple-Mail=_64FEA1A0-61B3-41A5-BDBC-BA9C92FEA0E0--


--===============6540782708200221493==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--===============6540782708200221493==--