Re: [rrd-users] Graphing average temperatures

This is a discussion on Re: [rrd-users] Graphing average temperatures within the RRD Users forums, part of the Networking and Network Related category; --===============0459064332== Content-Type: multipart/alternative; boundary="----=_Part_25635_22449349.1195676679139" ------=_Part_25635_22449349.1195676679139 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-21-2007
Petteri Matilainen
 
Posts: n/a
Default Re: [rrd-users] Graphing average temperatures

--===============0459064332==
Content-Type: multipart/alternative;
boundary="----=_Part_25635_22449349.1195676679139"

------=_Part_25635_22449349.1195676679139
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

How? I have

DEF:Inside=3D/var/digitemp/temperature.rrd:in:AVERAGE
LINE1:Inside#3333CC:"Inside"
GPRINT:Inside:AVERAGE:"\t%6.2lf =B0C" <- this is the average I want to plot

which give me the "ordinary" graph. If I have

VDEF:avg=3DInside,AVERAGE
LINE1:avg#3333CC:"Average"

I get a straight horizontal line.

On 11/21/07, Simon Hobson <linux@thehobsons.co.uk> wrote:
>
> Petteri Matilainen wrote:
>
> >I'm currently graphing daily, weekly, monthly and yearly inside and
> >outside temperatures. The temperature values are fetched from SQL
> >database and then put into temperatures.rrd. I have a cron job that
> >runs this every 5 minutes. Then I wanted to graph average
> >temperatures too. I didn't think of any other way but to read
> >average temps from temperatures.rrd and them into a new rrd,
> >averages.rrd. Then I graph averages.rrd as usual.

>
> Why don't you just graph the averages you already have in temperatures.rr=

d?
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>


------=_Part_25635_22449349.1195676679139
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

How? I have<br><br> DEF:Inside=3D/var/digitemp/temperature.rrd:in:AV=
ERAGE<br> LINE1:Inside#3333CC:&quot;Inside&quot;<br>GPRINT:I nside:AV=
ERAGE:&quot;\t%6.2lf =B0C&quot; &lt;- this is the average I want to plot<br=
>

<br>which give me the &quot;ordinary&quot; graph. If I have<br><br>VDEF:av=
g=3DInside,AVERAGE<br>LINE1:avg#3333CC:&quot;Avera ge&quot;<br><br>I get a s=
traight&nbsp;horizontal line.<br><br><div><span class=3D"gmail_quote">On 11=
/21/07,=20
<b class=3D"gmail_sendername">Simon Hobson</b> &lt;<a href=3D"mailto:linux@=
thehobsons.co.uk">linux@thehobsons.co.uk</a>&gt; wrote:</span><blockquote c=
lass=3D"gmail_quote" style=3D"margin-top: 0; margin-right: 0; margin-bottom=
: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; borde=
r-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Petteri Matilainen wrote:<br><br>&gt;I'm currently graphing daily, week=
ly, monthly and yearly inside and<br>&gt;outside temperatures. The temperat=
ure values are fetched from SQL<br>&gt;database and then put into temperatu=
res.rrd
.. I have a cron job that<br>&gt;runs this every 5 minutes. Then I wanted to=
graph average<br>&gt;temperatures too. I didn't think of any other way=
but to read<br>&gt;average temps from temperatures.rrd and them into a new=
rrd,
<br>&gt;averages.rrd. Then I graph averages.rrd as usual.<br><br>Why don&#3=
9;t you just graph the averages you already have in temperatures.rrd ?<br><=
br>_______________________________________________ <br>rrd-users mailing lis=
t
<br><a href=3D"mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.c=
h</a><br><a href=3D"https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users">ht=
tps://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br></blockquote></div=
>

<br>

------=_Part_25635_22449349.1195676679139--


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

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--===============0459064332==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0