<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-796</id>
	<title>Nabble - RRDTool - User</title>
	<updated>2009-12-09T02:36:56Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/RRDTool---User-f796.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRDTool---User-f796.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26708183</id>
	<title>Re: Showing daily average ; from midnight to midnight local time</title>
	<published>2009-12-09T02:36:56Z</published>
	<updated>2009-12-09T02:36:56Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Jean-Yves Avenard wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;For the power usage ; I want to show the data as follow:
&lt;br&gt;&amp;gt;daily: midnight to midnight local time
&lt;br&gt;&amp;gt;weekly: midnight of day -7 to midnight previous day local time
&lt;br&gt;&amp;gt;monthly: midnight of day-30 to midnight previous day local time
&lt;br&gt;&amp;gt;yearly: doesn't really matter.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;daily view is averaged per hour
&lt;br&gt;&amp;gt;weekly view is averaged per day
&lt;br&gt;&amp;gt;monthly view is averaged per day
&lt;br&gt;&amp;gt;yearly view is averaged per month (30 days)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I created the RRD with data being fed every minute and keeping
&lt;br&gt;&amp;gt;consolidated data as follow:
&lt;br&gt;&amp;gt;100 days of 1 minute average
&lt;br&gt;&amp;gt;5 years of 5 minutes average
&lt;br&gt;&amp;gt;5 years of 30 minutes average
&lt;br&gt;&amp;gt;5 years of 1 hour average
&lt;br&gt;&amp;gt;5 years of 2 hours average
&lt;br&gt;&amp;gt;5 years of daily average
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Everything is nice and rosy but for the weekly and monthly view...
&lt;br&gt;&amp;gt;The average isn't calculated from midnight to midnight local time ;
&lt;br&gt;&amp;gt;even though I provide end and start data at those values.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;For the weekly view, the x-grid is 'HOUR:3:DAY:1:HOUR:24:86400:%a'
&lt;br&gt;&amp;gt;As you can see on the weekly graph:
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://htpc.avenard.org/power/?graph=2&amp;view=week&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/?graph=2&amp;view=week&lt;/a&gt;&lt;br&gt;&amp;gt;A plot doesn't start at midnight ; but around 11AM.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I understand that this is UTC time ; I read
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://www.vandenbogaerdt.nl/rrdtool/timezone.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vandenbogaerdt.nl/rrdtool/timezone.php&lt;/a&gt;&amp;nbsp;and in particular
&lt;br&gt;&amp;gt;this thread:
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://groups.google.com/group/mailing.unix.rrd-users/browse_thread/thread/326e32b152c9f6a9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/mailing.unix.rrd-users/browse_thread/thread/326e32b152c9f6a9&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Is there any way to make the plotted bar goes from midnight to
&lt;br&gt;&amp;gt;midnight local time, and calculate the average of the data of a day
&lt;br&gt;&amp;gt;(local time)?
&lt;br&gt;&amp;gt;If I set TZ to UTC ; then obviously the x axis matches the graph
&lt;br&gt;&amp;gt;perfectly ; but that's not what I want to do...
&lt;/div&gt;&lt;br&gt;I believe the answer to that was given in the second of those links 
&lt;br&gt;you posted. Essentially, you'll have to store data with a resolution 
&lt;br&gt;of no worse than 1 hour, then use rrdtools to get data out by your 
&lt;br&gt;wallclock days, stuff those values into another rrd database, and 
&lt;br&gt;then graph those.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26708183&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Showing-daily-average---from-midnight-to-midnight-local-time-tp26703316p26708183.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26703316</id>
	<title>Showing daily average ; from midnight to midnight local time</title>
	<published>2009-12-08T16:27:41Z</published>
	<updated>2009-12-08T16:27:41Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">Hi there...
&lt;br&gt;&lt;br&gt;Ok, I have finally the hang of most of what I intended to do.
&lt;br&gt;&lt;br&gt;Logging my power usage ; then calculating power consumption as charged
&lt;br&gt;by the electricity company (in kWh).
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://htpc.avenard.org/power/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/&lt;/a&gt;&lt;br&gt;&lt;br&gt;For each graph; you can click on a part of the graph ; and it goes
&lt;br&gt;down to one resolution down (e.g weekly view gives you daily view
&lt;br&gt;etc...)
&lt;br&gt;&lt;br&gt;For the power usage ; I want to show the data as follow:
&lt;br&gt;daily: midnight to midnight local time
&lt;br&gt;weekly: midnight of day -7 to midnight previous day local time
&lt;br&gt;monthly: midnight of day-30 to midnight previous day local time
&lt;br&gt;yearly: doesn't really matter.
&lt;br&gt;&lt;br&gt;daily view is averaged per hour
&lt;br&gt;weekly view is averaged per day
&lt;br&gt;monthly view is averaged per day
&lt;br&gt;yearly view is averaged per month (30 days)
&lt;br&gt;&lt;br&gt;I created the RRD with data being fed every minute and keeping
&lt;br&gt;consolidated data as follow:
&lt;br&gt;100 days of 1 minute average
&lt;br&gt;5 years of 5 minutes average
&lt;br&gt;5 years of 30 minutes average
&lt;br&gt;5 years of 1 hour average
&lt;br&gt;5 years of 2 hours average
&lt;br&gt;5 years of daily average
&lt;br&gt;&lt;br&gt;Everything is nice and rosy but for the weekly and monthly view...
&lt;br&gt;The average isn't calculated from midnight to midnight local time ;
&lt;br&gt;even though I provide end and start data at those values.
&lt;br&gt;&lt;br&gt;For the weekly view, the x-grid is 'HOUR:3:DAY:1:HOUR:24:86400:%a'
&lt;br&gt;As you can see on the weekly graph:
&lt;br&gt;&lt;a href=&quot;http://htpc.avenard.org/power/?graph=2&amp;view=week&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/?graph=2&amp;view=week&lt;/a&gt;&lt;br&gt;A plot doesn't start at midnight ; but around 11AM.
&lt;br&gt;&lt;br&gt;I understand that this is UTC time ; I read
&lt;br&gt;&lt;a href=&quot;http://www.vandenbogaerdt.nl/rrdtool/timezone.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vandenbogaerdt.nl/rrdtool/timezone.php&lt;/a&gt;&amp;nbsp;and in particular
&lt;br&gt;this thread:
&lt;br&gt;&lt;a href=&quot;http://groups.google.com/group/mailing.unix.rrd-users/browse_thread/thread/326e32b152c9f6a9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/mailing.unix.rrd-users/browse_thread/thread/326e32b152c9f6a9&lt;/a&gt;&lt;br&gt;&lt;br&gt;Is there any way to make the plotted bar goes from midnight to
&lt;br&gt;midnight local time, and calculate the average of the data of a day
&lt;br&gt;(local time)?
&lt;br&gt;If I set TZ to UTC ; then obviously the x axis matches the graph
&lt;br&gt;perfectly ; but that's not what I want to do...
&lt;br&gt;&lt;br&gt;Thank you...
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26703316&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Showing-daily-average---from-midnight-to-midnight-local-time-tp26703316p26703316.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26693370</id>
	<title>Re: Performance over NFS</title>
	<published>2009-12-08T04:35:18Z</published>
	<updated>2009-12-08T04:35:18Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Tobias Oetiker wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;also try exporting nfs with the async option ... less of a data
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;&amp;gt;integrity guarantee, but it should be faster ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;As I read the man page, that'll only affect writes. I've exported the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;directory as read-only - and it doesn't appear to have any effect.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;ah it is the graphing which is slow not the updating ?
&lt;br&gt;&lt;br&gt;Yes, sorry if I didn't make that clear. Updates are fine (local 
&lt;br&gt;filesystem), graphing is slow.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Just as a check, I did a simple copy of the file from one machine to 
&lt;br&gt;the other :
&lt;br&gt;Via NFS it took around 90 to 120 seconds, via SCP around 30-35 
&lt;br&gt;seconds. A bit slow for a 22MByte file ... hmm, 648kbyte/s, that 
&lt;br&gt;sounds rather close to our internet connection speed ...
&lt;br&gt;&lt;br&gt;At which point, that clinking noise is the sound of the penny 
&lt;br&gt;dropping ! A while ago, as well as doing some upgrades I installed 
&lt;br&gt;keepalived and setup two routers in an active/spare setup. We do 
&lt;br&gt;traffic shaping on the routers, and the traffic shaping is configured 
&lt;br&gt;to allow (in practical terms) unrestricted rate from the routers IP 
&lt;br&gt;addresses*. And guess what I forgot to do when I changed the IP 
&lt;br&gt;address :-/
&lt;br&gt;&lt;br&gt;Strangely, now I've fixed the traffic shaping, things are back to 
&lt;br&gt;normal (copying the file takes about 4s) - so it wasn't NFS at all.
&lt;br&gt;&lt;br&gt;I'll just wander off and clean this egg off my face then ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;* To shape inbound traffic, we shape egress on the internal 
&lt;br&gt;interface, but of course we need to allow for traffic that originates 
&lt;br&gt;on the firewall itself. By forgetting to change the traffic shaping 
&lt;br&gt;setup, we were including the rrd data in the inbound traffic shaping.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26693370&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Performance-over-NFS-tp26664368p26693370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26691451</id>
	<title>Re: Performance over NFS</title>
	<published>2009-12-08T02:09:31Z</published>
	<updated>2009-12-08T02:09:31Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Simon,
&lt;br&gt;&lt;br&gt;Today Simon Hobson wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Tobias Oetiker wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;try disabeling mmap io
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I right in thinking that's a compile time option ? Also, is mmap
&lt;br&gt;&amp;gt; one of the feature that appeared in 1.3 - so version 1.2.15 won't be
&lt;br&gt;&amp;gt; using it. Does mmap on the hosting side (rrdtool updating the file)
&lt;br&gt;&amp;gt; have an effect ?
&lt;br&gt;&lt;br&gt;there was mmap in use in 1.2 as well only less ...
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt;also try exporting nfs with the async option ... less of a data
&lt;br&gt;&amp;gt; &amp;gt;integrity guarantee, but it should be faster ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I read the man page, that'll only affect writes. I've exported the
&lt;br&gt;&amp;gt; directory as read-only - and it doesn't appear to have any effect.
&lt;br&gt;&lt;br&gt;ah it is the graphing which is slow not the updating ?
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
&lt;br&gt;&lt;a href=&quot;http://it.oetiker.ch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it.oetiker.ch&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26691451&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26691451&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Performance-over-NFS-tp26664368p26691451.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26691402</id>
	<title>Re: Performance over NFS</title>
	<published>2009-12-08T02:05:47Z</published>
	<updated>2009-12-08T02:05:47Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Tobias Oetiker wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;try disabeling mmap io
&lt;br&gt;&lt;br&gt;Am I right in thinking that's a compile time option ? Also, is mmap 
&lt;br&gt;one of the feature that appeared in 1.3 - so version 1.2.15 won't be 
&lt;br&gt;using it. Does mmap on the hosting side (rrdtool updating the file) 
&lt;br&gt;have an effect ?
&lt;br&gt;&lt;br&gt;&amp;gt;also try exporting nfs with the async option ... less of a data
&lt;br&gt;&amp;gt;integrity guarantee, but it should be faster ...
&lt;br&gt;&lt;br&gt;As I read the man page, that'll only affect writes. I've exported the 
&lt;br&gt;directory as read-only - and it doesn't appear to have any effect.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26691402&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Performance-over-NFS-tp26664368p26691402.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26683697</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-07T12:31:41Z</published>
	<updated>2009-12-07T12:31:41Z</updated>
	<author>
		<name>DGOBRIEN</name>
	</author>
	<content type="html">Also I don't know how relevant this is but the file you created is 
&lt;br&gt;currentcost3.rrd
&lt;br&gt;and you are reading values from 
&lt;br&gt;currentcost.rrd
&lt;br&gt;&lt;br&gt;-David
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683697&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683697&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users-bounces@...&lt;/a&gt;] On Behalf Of Jean-Yves Avenard
&lt;br&gt;Sent: Monday, December 07, 2009 3:34 AM
&lt;br&gt;To: A Darren Dunham
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683697&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [rrd-users] Simple questions about RRD
&lt;br&gt;&lt;br&gt;Hi..
&lt;br&gt;&lt;br&gt;Sorry, I'm bumping that one ; as even after investigating for quite a
&lt;br&gt;few days ; I can't figure out how the maximum is calculated in the
&lt;br&gt;graph...
&lt;br&gt;&lt;br&gt;2009/12/6 Jean-Yves Avenard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683697&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jyavenard@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;br&gt;&amp;gt; Looking at:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://htpc.avenard.org/power/screen.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/screen.png&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It shows the maximum as being 2972W ; which is indeed the maximum with
&lt;br&gt;&amp;gt; the actual data at the highest resolution.
&lt;br&gt;&amp;gt; But it's definitely not the maximum of 5 minutes average as the graph
&lt;br&gt;&amp;gt; shows: nothing is over 2200W
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;I've re-created the RRD with:
&lt;br&gt;100 day of 1 minute average,min,max
&lt;br&gt;5 years of 5 minutes average,min,max
&lt;br&gt;5 years of 30 minutes average,min,max
&lt;br&gt;5 years of 2 hours average,min,max
&lt;br&gt;5 years of daily average,min,max
&lt;br&gt;&lt;br&gt;rrdtool create currentcost3.rrd -s 60 \
&lt;br&gt;DS:total:GAUGE:300:0:U \
&lt;br&gt;DS:ch1:GAUGE:300:0:U \
&lt;br&gt;DS:ch2:GAUGE:300:0:U \
&lt;br&gt;DS:ch3:GAUGE:300:0:U \
&lt;br&gt;RRA:AVERAGE:0.5:1:144000 \
&lt;br&gt;RRA:AVERAGE:0.5:5:525600 \
&lt;br&gt;RRA:AVERAGE:0.5:30:87840 \
&lt;br&gt;RRA:AVERAGE:0.5:120:21960 \
&lt;br&gt;RRA:AVERAGE:0.5:1440:1830 \
&lt;br&gt;RRA:MIN:0.5:1:144000 \
&lt;br&gt;RRA:MIN:0.5:5:525600 \
&lt;br&gt;RRA:MIN:0.5:30:87840 \
&lt;br&gt;RRA:MIN:0.5:120:21960 \
&lt;br&gt;RRA:MIN:0.5:1440:1830 \
&lt;br&gt;RRA:MAX:0.5:1:144000 \
&lt;br&gt;RRA:MAX:0.5:5:525600 \
&lt;br&gt;RRA:MAX:0.5:30:87840 \
&lt;br&gt;RRA:MAX:0.5:120:21960 \
&lt;br&gt;RRA:MAX:0.5:1440:1830
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That graph is created with :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ret = exec(&amp;quot;$RRDTOOL graph $name -l 0 \
&lt;br&gt;&amp;gt; -t '$title' \
&lt;br&gt;&amp;gt; -x $legend \
&lt;br&gt;&amp;gt; --step $res --start e-$start --end $timestamp \
&lt;br&gt;&amp;gt; -w $width -h $height \
&lt;br&gt;&amp;gt; DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;&amp;gt; DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds0max=ch2max,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds0avg=ch2,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds0min=ch2min,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds0pct=ch2,95,PERCENT \
&lt;br&gt;&amp;gt;    VDEF:ds1max=totalmax,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds1avg=total,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds1min=totalmin,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds1pct=total,95,PERCENT \
&lt;br&gt;&amp;gt;    VDEF:ds2max=ch1max,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds2avg=ch1,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds2min=ch1min,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds2pct=ch1,95,PERCENT \
&lt;br&gt;&amp;gt;    VDEF:ds3max=solarmax,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds3avg=solar,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds3min=solarmin,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds3pct=solar,95,PERCENT \
&lt;br&gt;&amp;gt;  COMMENT:'           ' \
&lt;br&gt;&amp;gt;  COMMENT:'Maximum ' \
&lt;br&gt;&amp;gt;    COMMENT:'Average ' \
&lt;br&gt;&amp;gt;    COMMENT:'Minimum '  \
&lt;br&gt;&amp;gt;    COMMENT:'95th percentile\l' \
&lt;br&gt;&amp;gt;    LINE1:total#000090:'Total   ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1max:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1avg:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1min:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1pct:' %5.0lf W\l' \
&lt;br&gt;&amp;gt;    LINE1:ch1#00FF00:'Pool    ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2max:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2avg:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2min:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2pct:' %5.0lf W\l' \
&lt;br&gt;&amp;gt;    LINE1:solar#FF0000:'Solar   ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3max:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3avg:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3min:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3pct:' %5.0lf W\l'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where $res , the argument for --step is 300 (5 minutes) and I do use
&lt;br&gt;&amp;gt; the reduce=AVERAGE option.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;timestamp is on a multiple of 300 (created in php with: &amp;nbsp;$timestamp =
&lt;br&gt;(floor(mktime() / $res) * $res)
&lt;br&gt;&lt;br&gt;MAX on the graph still shows up at 2972W ; the graph itself shows the
&lt;br&gt;max to be around 2200W.
&lt;br&gt;When I use rrdtool fetch ; and check the maximum ; the value is indeed 2170W...
&lt;br&gt;&lt;br&gt;So why does graph reports the maximum not of the resolution wanted ;
&lt;br&gt;but of the highest level resolution ? (the one that is 1 min average)
&lt;br&gt;&lt;br&gt;I've tried with:
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;and
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:step=300:reduce=AVERAGE
&lt;br&gt;defining --step or not ; always getting the incorred 2972W.
&lt;br&gt;&lt;br&gt;Any help would be appreciated..
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683697&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683697&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26683697.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26682962</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-07T11:46:57Z</published>
	<updated>2009-12-07T11:46:57Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Jean-Yves Avenard wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;It shows the maximum as being 2972W ; which is indeed the maximum with
&lt;br&gt;&amp;gt;the actual data at the highest resolution.
&lt;br&gt;&amp;gt;But it's definitely not the maximum of 5 minutes average as the graph
&lt;br&gt;&amp;gt;shows: nothing is over 2200W
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;That graph is created with :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;$ret = exec(&amp;quot;$RRDTOOL graph $name -l 0 \
&lt;br&gt;&amp;gt;-t '$title' \
&lt;br&gt;&amp;gt;-x $legend \
&lt;br&gt;&amp;gt;--step $res --start e-$start --end $timestamp \
&lt;br&gt;&amp;gt;-w $width -h $height \
&lt;br&gt;&amp;gt;DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;&amp;gt;DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;&amp;gt;DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt;DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt;DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt;DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;/div&gt;&lt;br&gt;Why are you using reduce=AVERAGE on a maximum ?
&lt;br&gt;&lt;br&gt;Looking back at your first post, it looks like your DS is at 60s 
&lt;br&gt;intervals, therefore a graphing interval of 300s will require further 
&lt;br&gt;consolidation. The data in the graphs is quite peaky, so this is 
&lt;br&gt;likely to have a significant effect - eg at around time 21.5 there is 
&lt;br&gt;a quite a narrow peak and it's quite likely that the average of 5 max 
&lt;br&gt;values is considerably less than the max of 5 values. For example, it 
&lt;br&gt;could be 4 samples of 0.6k and one of 5.6k, or it could be 5 samples 
&lt;br&gt;of 1.6k - quite a difference.
&lt;br&gt;&lt;br&gt;Having said that, I can't see where the difference is coming from, 
&lt;br&gt;unless the VDEF is using the raw data before it's been consolidated - 
&lt;br&gt;someone would have to look at the source to see if that's possible.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I will say that it can make things a lot easier to see if you create 
&lt;br&gt;a file of test data - carefully chosen to exercise the functionality 
&lt;br&gt;in doubt. So perhaps something like this :
&lt;br&gt;&lt;br&gt;1260214800:1
&lt;br&gt;1260214860:1
&lt;br&gt;1260214920:6
&lt;br&gt;1260214980:1
&lt;br&gt;1260215040:1
&lt;br&gt;1260215100:1
&lt;br&gt;&lt;br&gt;&lt;br&gt;Now that should produce the following values when consolidated over 
&lt;br&gt;the 5 minutes from 1260214800 to 1260215100 :
&lt;br&gt;min = 1
&lt;br&gt;ave = 2
&lt;br&gt;max = 6
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Now I have an extra question on how the RRA/consolidation works...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Say I store 5 years of 5 minutes average ; is there any points of also
&lt;br&gt;&amp;gt;storing 5 years of 30 minutes average, 5 years of 2 hours average etc?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I would have assumed that it wouldn't matter ; except when retrieving
&lt;br&gt;&amp;gt;the 30 minutes/2 hours average extra processing is required as it
&lt;br&gt;&amp;gt;needs to retrieve more values.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Now; if I use reduce=AVERAGE for all my graph like
&lt;br&gt;&amp;gt;DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;&amp;gt;DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;&amp;gt;DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt;DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt;DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt;DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt;DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Do I even need to create the RRD with MIN and MAX ? or it can be all
&lt;br&gt;&amp;gt;done from the AVERAGE RRD database ?
&lt;br&gt;&amp;gt;In my case, I create the RRD with:
&lt;br&gt;&amp;gt;100 day of 1 minute average
&lt;br&gt;&amp;gt;5 years of 5 minutes average
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;rrdtool create currentcost.rrd -s 60 \
&lt;br&gt;&amp;gt;DS:total:GAUGE:300:0:U \
&lt;br&gt;&amp;gt;DS:ch1:GAUGE:300:0:U \
&lt;br&gt;&amp;gt;DS:ch2:GAUGE:300:0:U \
&lt;br&gt;&amp;gt;DS:ch3:GAUGE:300:0:U \
&lt;br&gt;&amp;gt;RRA:AVERAGE:0.5:1:144000 \
&lt;br&gt;&amp;gt;RRA:AVERAGE:0.5:5:525600 \
&lt;br&gt;&amp;gt;RRA:MIN:0.5:1:144000 \
&lt;br&gt;&amp;gt;RRA:MIN:0.5:5:525600 \
&lt;br&gt;&amp;gt;RRA:MAX:0.5:1:144000 \
&lt;br&gt;&amp;gt;RRA:MAX:0.5:5:525600
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Not creating a MIN and MAX one would reduce considerably the size rrd file.
&lt;/div&gt;&lt;br&gt;You seem to have some very woolly thinking there. If you only store 
&lt;br&gt;average, then you cannot possibly derive min and max from 
&lt;br&gt;consolidated data. Eg, suppose someone boils the kettle and it takes 
&lt;br&gt;3kW for one minute (and it happens to coincide nicely with one sample 
&lt;br&gt;period). You could have a 5 minute period with values of 3,0,0,0,0 
&lt;br&gt;which average to 0.6. There is no way to know the minimum other than 
&lt;br&gt;it's &amp;lt;= 0.6, and no way to know the max other than it's &amp;gt;= 0.6. In 
&lt;br&gt;this case they are 0 and 3, but they could just as well be 0.6 if it 
&lt;br&gt;was a steady load.
&lt;br&gt;&lt;br&gt;Extend that to 30 minute and 2 hour consolidations and the difference 
&lt;br&gt;widens - eg you boil the kettle but otherwise use no power and the 
&lt;br&gt;max is still 3, the min is still 0, but the average is now only 0.1 
&lt;br&gt;and 0.025 respectively.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Now, if you are only interested in 5 minute smoothed data and NOT 1 
&lt;br&gt;minute min and max, then you are correct that you don't need to keep 
&lt;br&gt;separate min and max for a ds - provided you do not keep or try to 
&lt;br&gt;graph data from any consolidation of that.
&lt;br&gt;&lt;br&gt;&lt;br&gt;There are two main reasons people use consolidated storage :
&lt;br&gt;&lt;br&gt;1) To reduce storage requirements. Most people aren't bothered by the 
&lt;br&gt;fine detail once it's moderately aged. So for example, at work I keep 
&lt;br&gt;5 minute samples for only 2 days, I keep 1/2 hour consolidations for 
&lt;br&gt;longer, 2 hour consolidations for longer still, and 1 day 
&lt;br&gt;consolidations for 2 years. So I can graph in detail, or over a long 
&lt;br&gt;time, but not both - I can't plot a details graph for data a year old 
&lt;br&gt;and that's fine by us.
&lt;br&gt;&lt;br&gt;2) Reduce processing to generate graphs. Naturally, if you plot a 
&lt;br&gt;year long graph with 5 minute samples then the graphing program has 
&lt;br&gt;to read in and consolidate a lot of data - and that takes time and 
&lt;br&gt;memory. A while ago I realised I'd made a mistake and was storing 12 
&lt;br&gt;hour data rather than 24 hour data - and graphing at 24 hour 
&lt;br&gt;resolution. I found that re-working things significantly decreased 
&lt;br&gt;runtime and memory requirements - particularly on the complex graphs 
&lt;br&gt;with hundreds of data sources in them.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26682962&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26682962.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26682109</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-07T10:49:09Z</published>
	<updated>2009-12-07T10:49:09Z</updated>
	<author>
		<name>A Darren Dunham</name>
	</author>
	<content type="html">On Sun, Dec 06, 2009 at 12:19:36AM +1100, Jean-Yves Avenard wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/12/5 A Darren Dunham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26682109&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ddunham@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hopefully that demonstrates the differences pretty well.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually ; looking at the graph ; I can't understand how the MAX is
&lt;br&gt;&amp;gt; actually calculated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Looking at:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://htpc.avenard.org/power/screen.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/screen.png&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It shows the maximum as being 2972W ; which is indeed the maximum with
&lt;br&gt;&amp;gt; the actual data at the highest resolution.
&lt;br&gt;&amp;gt; But it's definitely not the maximum of 5 minutes average as the graph
&lt;br&gt;&amp;gt; shows: nothing is over 2200W
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That graph is created with :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ret = exec(&amp;quot;$RRDTOOL graph $name -l 0 \
&lt;br&gt;&amp;gt; -t '$title' \
&lt;br&gt;&amp;gt; -x $legend \
&lt;br&gt;&amp;gt; --step $res --start e-$start --end $timestamp \
&lt;br&gt;&amp;gt; -w $width -h $height \
&lt;br&gt;&amp;gt; DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;&amp;gt; DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; VDEF:ds0max=ch2max,MAXIMUM \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; VDEF:ds0avg=ch2,AVERAGE \
&lt;/div&gt;&lt;br&gt;[snip lots more stuff]
&lt;br&gt;&lt;br&gt;Easiest way for others to help is if it's really easy to reproduce it.
&lt;br&gt;Can you create a minimal RRD create setup (probably don't need all your
&lt;br&gt;production DEFs) and some canned data that shows the issue? &amp;nbsp;The exact
&lt;br&gt;data that enters the RRD is often the key to what's going on.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Darren
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26682109&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26682109.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674117</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-07T00:34:06Z</published>
	<updated>2009-12-07T00:34:06Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">Hi..
&lt;br&gt;&lt;br&gt;Sorry, I'm bumping that one ; as even after investigating for quite a
&lt;br&gt;few days ; I can't figure out how the maximum is calculated in the
&lt;br&gt;graph...
&lt;br&gt;&lt;br&gt;2009/12/6 Jean-Yves Avenard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674117&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jyavenard@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;br&gt;&amp;gt; Looking at:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://htpc.avenard.org/power/screen.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/screen.png&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It shows the maximum as being 2972W ; which is indeed the maximum with
&lt;br&gt;&amp;gt; the actual data at the highest resolution.
&lt;br&gt;&amp;gt; But it's definitely not the maximum of 5 minutes average as the graph
&lt;br&gt;&amp;gt; shows: nothing is over 2200W
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;I've re-created the RRD with:
&lt;br&gt;100 day of 1 minute average,min,max
&lt;br&gt;5 years of 5 minutes average,min,max
&lt;br&gt;5 years of 30 minutes average,min,max
&lt;br&gt;5 years of 2 hours average,min,max
&lt;br&gt;5 years of daily average,min,max
&lt;br&gt;&lt;br&gt;rrdtool create currentcost3.rrd -s 60 \
&lt;br&gt;DS:total:GAUGE:300:0:U \
&lt;br&gt;DS:ch1:GAUGE:300:0:U \
&lt;br&gt;DS:ch2:GAUGE:300:0:U \
&lt;br&gt;DS:ch3:GAUGE:300:0:U \
&lt;br&gt;RRA:AVERAGE:0.5:1:144000 \
&lt;br&gt;RRA:AVERAGE:0.5:5:525600 \
&lt;br&gt;RRA:AVERAGE:0.5:30:87840 \
&lt;br&gt;RRA:AVERAGE:0.5:120:21960 \
&lt;br&gt;RRA:AVERAGE:0.5:1440:1830 \
&lt;br&gt;RRA:MIN:0.5:1:144000 \
&lt;br&gt;RRA:MIN:0.5:5:525600 \
&lt;br&gt;RRA:MIN:0.5:30:87840 \
&lt;br&gt;RRA:MIN:0.5:120:21960 \
&lt;br&gt;RRA:MIN:0.5:1440:1830 \
&lt;br&gt;RRA:MAX:0.5:1:144000 \
&lt;br&gt;RRA:MAX:0.5:5:525600 \
&lt;br&gt;RRA:MAX:0.5:30:87840 \
&lt;br&gt;RRA:MAX:0.5:120:21960 \
&lt;br&gt;RRA:MAX:0.5:1440:1830
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That graph is created with :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ret = exec(&amp;quot;$RRDTOOL graph $name -l 0 \
&lt;br&gt;&amp;gt; -t '$title' \
&lt;br&gt;&amp;gt; -x $legend \
&lt;br&gt;&amp;gt; --step $res --start e-$start --end $timestamp \
&lt;br&gt;&amp;gt; -w $width -h $height \
&lt;br&gt;&amp;gt; DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;&amp;gt; DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt; DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;&amp;gt; DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds0max=ch2max,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds0avg=ch2,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds0min=ch2min,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds0pct=ch2,95,PERCENT \
&lt;br&gt;&amp;gt;    VDEF:ds1max=totalmax,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds1avg=total,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds1min=totalmin,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds1pct=total,95,PERCENT \
&lt;br&gt;&amp;gt;    VDEF:ds2max=ch1max,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds2avg=ch1,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds2min=ch1min,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds2pct=ch1,95,PERCENT \
&lt;br&gt;&amp;gt;    VDEF:ds3max=solarmax,MAXIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds3avg=solar,AVERAGE \
&lt;br&gt;&amp;gt;    VDEF:ds3min=solarmin,MINIMUM \
&lt;br&gt;&amp;gt;    VDEF:ds3pct=solar,95,PERCENT \
&lt;br&gt;&amp;gt;  COMMENT:'           ' \
&lt;br&gt;&amp;gt;  COMMENT:'Maximum ' \
&lt;br&gt;&amp;gt;    COMMENT:'Average ' \
&lt;br&gt;&amp;gt;    COMMENT:'Minimum '  \
&lt;br&gt;&amp;gt;    COMMENT:'95th percentile\l' \
&lt;br&gt;&amp;gt;    LINE1:total#000090:'Total   ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1max:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1avg:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1min:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds1pct:' %5.0lf W\l' \
&lt;br&gt;&amp;gt;    LINE1:ch1#00FF00:'Pool    ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2max:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2avg:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2min:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds2pct:' %5.0lf W\l' \
&lt;br&gt;&amp;gt;    LINE1:solar#FF0000:'Solar   ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3max:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3avg:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3min:'%5.0lf W ' \
&lt;br&gt;&amp;gt;    GPRINT:ds3pct:' %5.0lf W\l'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where $res , the argument for --step is 300 (5 minutes) and I do use
&lt;br&gt;&amp;gt; the reduce=AVERAGE option.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;timestamp is on a multiple of 300 (created in php with: &amp;nbsp;$timestamp =
&lt;br&gt;(floor(mktime() / $res) * $res)
&lt;br&gt;&lt;br&gt;MAX on the graph still shows up at 2972W ; the graph itself shows the
&lt;br&gt;max to be around 2200W.
&lt;br&gt;When I use rrdtool fetch ; and check the maximum ; the value is indeed 2170W...
&lt;br&gt;&lt;br&gt;So why does graph reports the maximum not of the resolution wanted ;
&lt;br&gt;but of the highest level resolution ? (the one that is 1 min average)
&lt;br&gt;&lt;br&gt;I've tried with:
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;and
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX:step=300:reduce=AVERAGE
&lt;br&gt;defining --step or not ; always getting the incorred 2972W.
&lt;br&gt;&lt;br&gt;Any help would be appreciated..
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26674117&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26674117.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26673844</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-07T00:00:46Z</published>
	<updated>2009-12-07T00:00:46Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Pavel Rubtsov wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Hm... Ok, but:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;01. 1260111600 Start period
&lt;br&gt;&amp;gt;02. 1260111900
&lt;br&gt;&amp;gt;03. 1260112200
&lt;br&gt;&amp;gt;04. 1260112500
&lt;br&gt;&amp;gt;05. 1260112800
&lt;br&gt;&amp;gt;06. 1260113100
&lt;br&gt;&amp;gt;07. 1260113400
&lt;br&gt;&amp;gt;08. 1260113700
&lt;br&gt;&amp;gt;09. 1260114000
&lt;br&gt;&amp;gt;10. 1260114300
&lt;br&gt;&amp;gt;11. 1260114600
&lt;br&gt;&amp;gt;12. 1260114900
&lt;br&gt;&amp;gt;?? 13. 1260115200 End period?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Why 13 steps?
&lt;/div&gt;&lt;br&gt;It isn't 13, it's 12 !
&lt;br&gt;&lt;br&gt;12. 1260111600 End of previous consolidated period.
&lt;br&gt;01. 1260111900
&lt;br&gt;02. 1260112200
&lt;br&gt;03. 1260112500
&lt;br&gt;04. 1260112800
&lt;br&gt;05. 1260113100
&lt;br&gt;06. 1260113400
&lt;br&gt;07. 1260113700
&lt;br&gt;08. 1260114000
&lt;br&gt;09. 1260114300
&lt;br&gt;10. 1260114600
&lt;br&gt;11. 1260114900
&lt;br&gt;12. 1260115200 End period
&lt;br&gt;&lt;br&gt;At each timestamp, you have the value for the previous interval - 
&lt;br&gt;rrdtool only talks about history, it never tries to predict the 
&lt;br&gt;future. So when you do the update for 1260115200, that supplies data 
&lt;br&gt;for the period starting at 1260114900 and ending at 1260115200, and 
&lt;br&gt;that in turn gives the data required to consolidate for the period 
&lt;br&gt;starting at 1260111600 and ending at 1260115200.
&lt;br&gt;&lt;br&gt;I agree, it can take a little while to get your head round these 
&lt;br&gt;details. The key to remember is that rrdtool only ever deals with 
&lt;br&gt;rates over periods, and each timestamp in the output relates to the 
&lt;br&gt;END of a period.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26673844&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26673844.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26672469</id>
	<title>Smoother graph with rrdtool?</title>
	<published>2009-12-06T20:51:12Z</published>
	<updated>2009-12-06T20:51:12Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;The graph produced by RRDtool ; while accurate aren't really great
&lt;br&gt;looking graph, lots of broken lines :P
&lt;br&gt;&lt;br&gt;Is there a way to smooth the graph out , like a bezier line between
&lt;br&gt;points ? Like what facebook or google does for their statistic
&lt;br&gt;reports?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26672469&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Smoother-graph-with-rrdtool--tp26672469p26672469.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26670908</id>
	<title>Re: RRDs perl module question for Perl 5.10.1</title>
	<published>2009-12-06T16:30:37Z</published>
	<updated>2009-12-06T16:30:37Z</updated>
	<author>
		<name>Stefan Parvu</name>
	</author>
	<content type="html">&amp;gt; 
&lt;br&gt;&amp;gt; $ perldoc perllocal:
&lt;br&gt;&amp;gt; Insecure dependency in require while running with -T switch at
&lt;br&gt;&amp;gt; /opt/sdr/report/perl/lib/5.10.1/Pod/Perldoc.pm line 1548.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;RRDp,s builds fine on Solaris 10 sparc, x86. After starting
&lt;br&gt;a fresh xterm I was able to perldoc, without any problems.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26670908&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRDs-perl-module-question-for-Perl-5.10.1-tp26666891p26670908.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26670242</id>
	<title>Re: remOcular - what tobi has been up to ...</title>
	<published>2009-12-06T15:11:31Z</published>
	<updated>2009-12-06T15:11:31Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;2009/12/7 Tobias Oetiker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26670242&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Over the last few weeks I have spent a lot of time hacking on a new
&lt;br&gt;&amp;gt; project
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   remOcular - your eyes in the cloud
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The first test version is now online on
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   &lt;a href=&quot;http://tobi.oetiker.ch/test/remocular/build/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tobi.oetiker.ch/test/remocular/build/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; remOcular is an indirect decendent of SmokeTrace. It can run comand
&lt;br&gt;&amp;gt; line tools remotely and provides a live presentation of their
&lt;br&gt;&amp;gt; output in the webbrowser.
&lt;/div&gt;&lt;br&gt;Very impressive stuff ; looks ace ...
&lt;br&gt;&lt;br&gt;The main logo says &amp;quot;your eyes in the could&amp;quot;
&lt;br&gt;I think it meant to say &amp;quot;your eyes in the cloud&amp;quot;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26670242&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/remOcular---what-tobi-has-been-up-to-...-tp26670094p26670242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26670094</id>
	<title>remOcular - what tobi has been up to ...</title>
	<published>2009-12-06T14:55:43Z</published>
	<updated>2009-12-06T14:55:43Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Over the last few weeks I have spent a lot of time hacking on a new
&lt;br&gt;project
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;remOcular - your eyes in the cloud
&lt;br&gt;&lt;br&gt;The first test version is now online on
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://tobi.oetiker.ch/test/remocular/build/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tobi.oetiker.ch/test/remocular/build/&lt;/a&gt;&lt;br&gt;&lt;br&gt;remOcular is an indirect decendent of SmokeTrace. It can run comand
&lt;br&gt;line tools remotely and provides a live presentation of their
&lt;br&gt;output in the webbrowser.
&lt;br&gt;&lt;br&gt;remOcular ...
&lt;br&gt;&lt;br&gt;&amp;nbsp;. has a very powerful api for writing new backend plugins to integrate
&lt;br&gt;&amp;nbsp; &amp;nbsp;additional command lined tools. Developement time for a new
&lt;br&gt;&amp;nbsp; &amp;nbsp;plugin can be as little as 10 minutes.
&lt;br&gt;&lt;br&gt;&amp;nbsp;. consists of a simple backend written in perl and a interactive
&lt;br&gt;&amp;nbsp; &amp;nbsp;frontend written in pure qooxdoo javascript.
&lt;br&gt;&lt;br&gt;&amp;nbsp;. can show nifty inline graphs using canvas
&lt;br&gt;&amp;nbsp; &amp;nbsp;graphics (only with ff, chrome, safari, opera)
&lt;br&gt;&lt;br&gt;&amp;nbsp;. will be released as GPL opensource software in the next few
&lt;br&gt;&amp;nbsp; &amp;nbsp;days.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
&lt;br&gt;&lt;a href=&quot;http://it.oetiker.ch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it.oetiker.ch&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26670094&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26670094&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/remOcular---what-tobi-has-been-up-to-...-tp26670094p26670094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26667176</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T09:46:33Z</published>
	<updated>2009-12-06T09:46:33Z</updated>
	<author>
		<name>Pavel Rubtsov-3</name>
	</author>
	<content type="html">&amp;nbsp; кто: Sun, 6 Dec 2009 16:25:10 +0000
&lt;br&gt;когда: Simon Hobson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26667176&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;Result:
&lt;br&gt;&amp;gt; &amp;gt;1260111600: nan
&lt;br&gt;&amp;gt; &amp;gt;1260115200: 4.1111111111e+01
&lt;br&gt;&amp;gt; &amp;gt;1260118800: nan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;But (10+20+...+50+40)/12 = 48,3! Why?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You have your periods wrong - your first completed consolidation 
&lt;br&gt;&amp;gt; period is at 1260115200 (Sun &amp;nbsp;6 Dec 2009 16:00:00 GMT) and started at 
&lt;br&gt;&amp;gt; 1260111600 (Sun &amp;nbsp;6 Dec 2009 15:00:00 GMT). 
&lt;/div&gt;&lt;br&gt;Hm... Ok, but:
&lt;br&gt;&lt;br&gt;01. 1260111600 Start period
&lt;br&gt;02. 1260111900
&lt;br&gt;03. 1260112200
&lt;br&gt;04. 1260112500
&lt;br&gt;05. 1260112800
&lt;br&gt;06. 1260113100
&lt;br&gt;07. 1260113400
&lt;br&gt;08. 1260113700
&lt;br&gt;09. 1260114000
&lt;br&gt;10. 1260114300
&lt;br&gt;11. 1260114600
&lt;br&gt;12. 1260114900
&lt;br&gt;?? 13. 1260115200 End period?
&lt;br&gt;&lt;br&gt;Why 13 steps? 
&lt;br&gt;I was
&lt;br&gt;&amp;gt;RRA:AVERAGE:0.5:12:1
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks for explanation!
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pavel Rubtsov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26667176&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qweion@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Paused: Pavliga - Stop (2006 Edit)
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26667176&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26667176.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26666891</id>
	<title>RRDs perl module question for Perl 5.10.1</title>
	<published>2009-12-06T09:03:42Z</published>
	<updated>2009-12-06T09:03:42Z</updated>
	<author>
		<name>Stefan Parvu</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;Im trying to understand whats going on here. I have built perl 5.10.1
&lt;br&gt;on Solaris 10U8 x86, like this:
&lt;br&gt;&lt;br&gt;sh Configure -des -Dprefix=/opt/sdr/report/perl
&lt;br&gt;&lt;br&gt;and did install as well some CPAN modules: HTML::CalendarMonth etc.
&lt;br&gt;Everything is fine.
&lt;br&gt;&lt;br&gt;When Im trying to add RRDs, RRDp modules
&lt;br&gt;from RRDtool 1.4.2 I get the following error when running
&lt;br&gt;&lt;br&gt;$ perldoc perllocal:
&lt;br&gt;Insecure dependency in require while running with -T switch at
&lt;br&gt;/opt/sdr/report/perl/lib/5.10.1/Pod/Perldoc.pm line 1548.
&lt;br&gt;&lt;br&gt;The RRDs modules installs ok and I can use it too. 
&lt;br&gt;&lt;br&gt;If I remove the RRDs module [1] perldoc perllocal 
&lt;br&gt;seems to work again. Any ideas whats going on here ?
&lt;br&gt;Is perl complaining about some security config of certain files ?
&lt;br&gt;Permissions, user id credentials seem to be fine.
&lt;br&gt;&lt;br&gt;Thanks a lot,
&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] RRDs module
&lt;br&gt;# make install
&lt;br&gt;Files found in blib/arch: installing files in blib/lib into architecture
&lt;br&gt;dependent library tree
&lt;br&gt;Installing
&lt;br&gt;/opt/sdr/report/perl/lib/site_perl/5.10.1/i86pc-solaris/auto/RRDs/RRDs.so
&lt;br&gt;Installing
&lt;br&gt;/opt/sdr/report/perl/lib/site_perl/5.10.1/i86pc-solaris/auto/RRDs/RRDs.bs
&lt;br&gt;Installing /opt/sdr/report/perl/lib/site_perl/5.10.1/i86pc-solaris/RRDs.pm
&lt;br&gt;Installing /opt/sdr/report/perl/man/man3/RRDs.3
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666891&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRDs-perl-module-question-for-Perl-5.10.1-tp26666891p26666891.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26666502</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T08:25:10Z</published>
	<updated>2009-12-06T08:25:10Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Pavel Rubtsov wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;But there is some misunderstanding:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;C:\rrd\rrdtool.exe create test.rrd --start N --step 300 ^
&lt;br&gt;&amp;gt;DS:test:GAUGE:600:0:100 ^
&lt;br&gt;&amp;gt;RRA:AVERAGE:0.5:12:1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;C:\rrd\rrdupdate.exe test.rrd ^
&lt;br&gt;&amp;gt;1260113100:10 ^
&lt;br&gt;&amp;gt;1260113400:20 ^
&lt;br&gt;&amp;gt;1260113700:30 ^
&lt;br&gt;&amp;gt;1260114000:40 ^
&lt;br&gt;&amp;gt;1260114300:50 ^
&lt;br&gt;&amp;gt;1260114600:60 ^
&lt;br&gt;&amp;gt;1260114900:70 ^
&lt;br&gt;&amp;gt;1260115200:80 ^
&lt;br&gt;&amp;gt;1260115500:70 ^
&lt;br&gt;&amp;gt;1260115800:60 ^
&lt;br&gt;&amp;gt;1260116100:50 ^
&lt;br&gt;&amp;gt;1260116400:40
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Result:
&lt;br&gt;&amp;gt;1260111600: nan
&lt;br&gt;&amp;gt;1260115200: 4.1111111111e+01
&lt;br&gt;&amp;gt;1260118800: nan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;But (10+20+...+50+40)/12 = 48,3! Why?
&lt;/div&gt;&lt;br&gt;You have your periods wrong - your first completed consolidation 
&lt;br&gt;period is at 1260115200 (Sun &amp;nbsp;6 Dec 2009 16:00:00 GMT) and started at 
&lt;br&gt;1260111600 (Sun &amp;nbsp;6 Dec 2009 15:00:00 GMT). So you only have 9 
&lt;br&gt;complete step periods for which you have data. Remember that all 
&lt;br&gt;intervals are &amp;quot;n * s&amp;quot; from unix epoch - ie a whole multiple of the 
&lt;br&gt;step size (or in this case, step size times steps per consolidated 
&lt;br&gt;data point). Put simply, if the step (or ocnsolidation) is one hour, 
&lt;br&gt;then all intervals start on the hour - nn:00:00.
&lt;br&gt;&lt;br&gt;You have the following values in the consolidated interval :
&lt;br&gt;&lt;br&gt;Unknown * 3
&lt;br&gt;10
&lt;br&gt;10
&lt;br&gt;20
&lt;br&gt;30
&lt;br&gt;40
&lt;br&gt;50
&lt;br&gt;60
&lt;br&gt;70
&lt;br&gt;80
&lt;br&gt;So for the average rate for this period is (10+10+20+..+70+80)/9 = 41.1111
&lt;br&gt;&lt;br&gt;Or really, the calculation is :
&lt;br&gt;(10* 300 + 10*300 + 20*300 + 30*300 + ... + 70*300 + 80*300) / 2700
&lt;br&gt;Remember that rrdtool only ever works in rates, so a gauge value of 
&lt;br&gt;30 for 300 seconds is really a rate of 0.1. 2700 is simply 9x300 - ie 
&lt;br&gt;you've got data for 9 step times of 300 seconds.
&lt;br&gt;&lt;br&gt;Why are there two entries of 10 in that calculation ? Your first 
&lt;br&gt;update comes after all the data is unknown. You've configured your DS 
&lt;br&gt;to allow up to 600 seconds between samples before the data is unknown 
&lt;br&gt;- therefore your first update of 10 actually works out to &amp;quot;the data 
&lt;br&gt;for the previous 2 sample periods (600/300) is &amp;quot;10&amp;quot;. If you didn't 
&lt;br&gt;want that then you'd need to set an initial value (eg update with 
&lt;br&gt;1260112800:0) to explicitly set a start boundary to your data.
&lt;br&gt;&lt;br&gt;That last bit isn't a statement based on profound knowledge or 
&lt;br&gt;examination of the source code - it's what the numbers work out to 
&lt;br&gt;and is logically consistent with the documentation !
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666502&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26666502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26666005</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T07:39:04Z</published>
	<updated>2009-12-06T07:39:04Z</updated>
	<author>
		<name>Pavel Rubtsov-3</name>
	</author>
	<content type="html">&amp;nbsp; кто: Sun, 06 Dec 2009 12:49:59 +0100
&lt;br&gt;когда: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666005&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Thanks a lot for ansvers, i have many expirements today with data storing and fetching. Some of this was success.
&lt;br&gt;&lt;br&gt;But there is some misunderstanding:
&lt;br&gt;&lt;br&gt;C:\rrd\rrdtool.exe create test.rrd --start N --step 300 ^
&lt;br&gt;DS:test:GAUGE:600:0:100 ^
&lt;br&gt;RRA:AVERAGE:0.5:12:1
&lt;br&gt;&lt;br&gt;C:\rrd\rrdupdate.exe test.rrd ^
&lt;br&gt;1260113100:10 ^
&lt;br&gt;1260113400:20 ^
&lt;br&gt;1260113700:30 ^
&lt;br&gt;1260114000:40 ^
&lt;br&gt;1260114300:50 ^
&lt;br&gt;1260114600:60 ^
&lt;br&gt;1260114900:70 ^
&lt;br&gt;1260115200:80 ^
&lt;br&gt;1260115500:70 ^
&lt;br&gt;1260115800:60 ^
&lt;br&gt;1260116100:50 ^
&lt;br&gt;1260116400:40
&lt;br&gt;&lt;br&gt;Result:
&lt;br&gt;1260111600: nan
&lt;br&gt;1260115200: 4.1111111111e+01
&lt;br&gt;1260118800: nan
&lt;br&gt;&lt;br&gt;But (10+20+...+50+40)/12 = 48,3! Why?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pavel Rubtsov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666005&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qweion@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Playing: Fun Factory - Take Your Chance
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26666005&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26666005.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26664900</id>
	<title>Re: Performance over NFS</title>
	<published>2009-12-06T05:14:29Z</published>
	<updated>2009-12-06T05:14:29Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Simon,
&lt;br&gt;&lt;br&gt;try disabeling mmap io
&lt;br&gt;&lt;br&gt;also try exporting nfs with the async option ... less of a data
&lt;br&gt;integrity guarantee, but it should be faster ...
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Unfortunately, it's such a common term that I can't find anything
&lt;br&gt;&amp;gt; particularly useful via searches.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm collecting data on one box (a gateway router), and graphing on
&lt;br&gt;&amp;gt; another box - with the directory holding the rrd files exported by
&lt;br&gt;&amp;gt; NFS from the gateway. Unfortunately, while it seemed to work when I
&lt;br&gt;&amp;gt; first set it up, it's now giving very poor performance - system
&lt;br&gt;&amp;gt; upgrades have changed the setup from NFSv3 over UDP to V4 over TCP
&lt;br&gt;&amp;gt; (if I remember the details correctly).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The box doing the graphing is running Debian Etch and rrd version
&lt;br&gt;&amp;gt; 1.2.15-0.3. /etc/fstab contains :
&lt;br&gt;&amp;gt; w.x.y.z:/var/rrd &amp;nbsp;/gate &amp;nbsp;nfs &amp;nbsp;ro,soft &amp;nbsp;0 &amp;nbsp;0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The gateway doing the data collection is running Debian Lenny and rrd
&lt;br&gt;&amp;gt; version 1.3.1-4. /etc/exports contains :
&lt;br&gt;&amp;gt; /var/rrd &amp;nbsp;a.b.c.d(ro,subtree_check,all_squash,anonuid=1000,anongid=1000)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The main rrd file that's giving problems is 22M byte in size and
&lt;br&gt;&amp;gt; contains 510 data sources, with eight aggregations (Average and Max
&lt;br&gt;&amp;gt; for four time periods/resolutions). Some graphs only use a couple of
&lt;br&gt;&amp;gt; data sources, one frequently used one uses nearly 200 (in and out
&lt;br&gt;&amp;gt; traffic for just under 100 addresses in a stacked graph), one
&lt;br&gt;&amp;gt; (infrequently used for good reason) graphs 508 sources (in and out
&lt;br&gt;&amp;gt; traffic for 254 addresses).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The rrdtool processes end up spending significant amounts of time
&lt;br&gt;&amp;gt; with ps showing them in state &amp;quot;rpc_wa&amp;quot; or &amp;quot;sync_p&amp;quot; (and I've just
&lt;br&gt;&amp;gt; seen on in state &amp;quot;get_re&amp;quot;). It's not too bad if only one person is
&lt;br&gt;&amp;gt; generating graphs (and waiting for them), but once or twice I've seen
&lt;br&gt;&amp;gt; people being impatient and the box gets bogged down (not to mention
&lt;br&gt;&amp;gt; swapping heavily) with a dozen of more rrdtool processes running.
&lt;br&gt;&amp;gt; Even just one patient user can get the load average up into the teens.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can anyone give me some hints or pointers on this ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
&lt;br&gt;&lt;a href=&quot;http://it.oetiker.ch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it.oetiker.ch&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26664900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26664900&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Performance-over-NFS-tp26664368p26664900.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26664368</id>
	<title>Performance over NFS</title>
	<published>2009-12-06T04:10:22Z</published>
	<updated>2009-12-06T04:10:22Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Unfortunately, it's such a common term that I can't find anything 
&lt;br&gt;particularly useful via searches.
&lt;br&gt;&lt;br&gt;I'm collecting data on one box (a gateway router), and graphing on 
&lt;br&gt;another box - with the directory holding the rrd files exported by 
&lt;br&gt;NFS from the gateway. Unfortunately, while it seemed to work when I 
&lt;br&gt;first set it up, it's now giving very poor performance - system 
&lt;br&gt;upgrades have changed the setup from NFSv3 over UDP to V4 over TCP 
&lt;br&gt;(if I remember the details correctly).
&lt;br&gt;&lt;br&gt;The box doing the graphing is running Debian Etch and rrd version 
&lt;br&gt;1.2.15-0.3. /etc/fstab contains :
&lt;br&gt;w.x.y.z:/var/rrd &amp;nbsp;/gate &amp;nbsp;nfs &amp;nbsp;ro,soft &amp;nbsp;0 &amp;nbsp;0
&lt;br&gt;&lt;br&gt;The gateway doing the data collection is running Debian Lenny and rrd 
&lt;br&gt;version 1.3.1-4. /etc/exports contains :
&lt;br&gt;/var/rrd &amp;nbsp;a.b.c.d(ro,subtree_check,all_squash,anonuid=1000,anongid=1000)
&lt;br&gt;&lt;br&gt;The main rrd file that's giving problems is 22M byte in size and 
&lt;br&gt;contains 510 data sources, with eight aggregations (Average and Max 
&lt;br&gt;for four time periods/resolutions). Some graphs only use a couple of 
&lt;br&gt;data sources, one frequently used one uses nearly 200 (in and out 
&lt;br&gt;traffic for just under 100 addresses in a stacked graph), one 
&lt;br&gt;(infrequently used for good reason) graphs 508 sources (in and out 
&lt;br&gt;traffic for 254 addresses).
&lt;br&gt;&lt;br&gt;&lt;br&gt;The rrdtool processes end up spending significant amounts of time 
&lt;br&gt;with ps showing them in state &amp;quot;rpc_wa&amp;quot; or &amp;quot;sync_p&amp;quot; (and I've just 
&lt;br&gt;seen on in state &amp;quot;get_re&amp;quot;). It's not too bad if only one person is 
&lt;br&gt;generating graphs (and waiting for them), but once or twice I've seen 
&lt;br&gt;people being impatient and the box gets bogged down (not to mention 
&lt;br&gt;swapping heavily) with a dozen of more rrdtool processes running. 
&lt;br&gt;Even just one patient user can get the load average up into the teens.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Can anyone give me some hints or pointers on this ?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26664368&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Performance-over-NFS-tp26664368p26664368.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26664187</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T03:49:59Z</published>
	<updated>2009-12-06T03:49:59Z</updated>
	<author>
		<name>Karl Fischer-3</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; if you update more often than required for you step size, the data will
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; be aggregated using the aggregation function you've chosen (MIN, MAX,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; AVERAGE etc) so either the smallest or the highest or the average of the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; values will be stored.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No, the aggregation functions are NOT used for sub-step updates.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; See Alex's tutorial on rates and normalising - it's all explained well
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; there.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.vandenbogaerdt.nl/rrdtool/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vandenbogaerdt.nl/rrdtool/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Actually I did not really describe sub-interval updates. &amp;nbsp;And I don't know
&lt;br&gt;&amp;gt;&amp;gt; from the top of my head. I'd have to look in the sources to see what really
&lt;br&gt;&amp;gt;&amp;gt; happens when you do that.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well it's &amp;quot;sort of&amp;quot; in there, but not really highlighted. If you 
&lt;br&gt;&amp;gt; update every second with a step size of 60, then you can feed in one 
&lt;br&gt;&amp;gt; value of 60 and 59 values of 0 - and get the result of 1/second for 
&lt;br&gt;&amp;gt; the step. Min. Max, etc only come in when consolidating PDPs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's what I've observed anyway.
&lt;/div&gt;&lt;br&gt;Agreed. That's what I've observed, too. Sorry for the somewhat misleading info
&lt;br&gt;in my first reply. I'm using mostly AVERAGE as aggregation function, so I got
&lt;br&gt;confused myself, but aggregation happens at the RRA-entry-level. For PDPs it
&lt;br&gt;seems to be always average.
&lt;br&gt;&lt;br&gt;- Karl
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26664187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26664187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26664113</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T03:40:08Z</published>
	<updated>2009-12-06T03:40:08Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">Alex van den Bogaerdt wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;&amp;gt;if you update more often than required for you step size, the data will be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;aggregated using the aggregation function you've chosen (MIN, MAX,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;AVERAGE etc)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;so either the smallest or the highest or the average of the values
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;will be stored.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;No, the aggregation functions are NOT used for sub-step updates.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;See Alex's tutorial on rates and normalising - it's all explained well
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;there.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &lt;a href=&quot;http://www.vandenbogaerdt.nl/rrdtool/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vandenbogaerdt.nl/rrdtool/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Actually I did not really describe sub-interval updates. &amp;nbsp;And I don't know
&lt;br&gt;&amp;gt;from the top of my head. I'd have to look in the sources to see what really
&lt;br&gt;&amp;gt;happens when you do that.
&lt;/div&gt;&lt;br&gt;Well it's &amp;quot;sort of&amp;quot; in there, but not really highlighted. If you 
&lt;br&gt;update every second with a step size of 60, then you can feed in one 
&lt;br&gt;value of 60 and 59 values of 0 - and get the result of 1/second for 
&lt;br&gt;the step. Min. Max, etc only come in when consolidating PDPs.
&lt;br&gt;&lt;br&gt;That's what I've observed anyway.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26664113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26664113.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26663566</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T02:18:52Z</published>
	<updated>2009-12-06T02:18:52Z</updated>
	<author>
		<name>Alex van den Bogaerdt-2</name>
	</author>
	<content type="html">----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Simon Hobson&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26663566&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26663566&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Sunday, December 06, 2009 10:37 AM
&lt;br&gt;Subject: Re: [rrd-users] Questions of new user
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26663566&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;&amp;gt; 2. Example:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;i have --step 300
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;If i will update often, then 300 sec (for example every 10 seconds)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;what will be? Which data is stored?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;if you update more often than required for you step size, the data will be
&lt;br&gt;&amp;gt;&amp;gt;aggregated using the aggregation function you've chosen (MIN, MAX,
&lt;br&gt;&amp;gt;&amp;gt;AVERAGE etc)
&lt;br&gt;&amp;gt;&amp;gt;so either the smallest or the highest or the average of the values
&lt;br&gt;&amp;gt;&amp;gt;will be stored.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No, the aggregation functions are NOT used for sub-step updates.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See Alex's tutorial on rates and normalising - it's all explained well 
&lt;br&gt;&amp;gt; there.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.vandenbogaerdt.nl/rrdtool/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vandenbogaerdt.nl/rrdtool/&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Actually I did not really describe sub-interval updates. &amp;nbsp;And I don't know 
&lt;br&gt;from the top of my head. I'd have to look in the sources to see what really 
&lt;br&gt;happens when you do that.
&lt;br&gt;&lt;br&gt;I'd probably have step==1, and 300 steps per step in each of 
&lt;br&gt;{MIN,MAX,AVERAGE} RRAs. That results in one value per five minutes, with 
&lt;br&gt;aggregation as described above.
&lt;br&gt;&lt;br&gt;For the OP:
&lt;br&gt;&lt;br&gt;Those tutorials are probably going to help you. Start with &amp;quot;the&amp;quot; tutorial.
&lt;br&gt;&lt;br&gt;Experiment a lot. &amp;nbsp;Create a database, update it, fetch the data and see if 
&lt;br&gt;you can predict what rrdtool is going to show you.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;Alex 
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26663566&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26663566.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26663467</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-06T01:37:24Z</published>
	<updated>2009-12-06T01:37:24Z</updated>
	<author>
		<name>Simon Hobson-2</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26663467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 2. Example:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;i have --step 300
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;If i will update often, then 300 sec (for example every 10 seconds)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;what will be? Which data is stored?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;if you update more often than required for you step size, the data will be
&lt;br&gt;&amp;gt;aggregated using the aggregation function you've chosen (MIN, MAX, 
&lt;br&gt;&amp;gt;AVERAGE etc)
&lt;br&gt;&amp;gt;so either the smallest or the highest or the average of the values 
&lt;br&gt;&amp;gt;will be stored.
&lt;/div&gt;&lt;br&gt;No, the aggregation functions are NOT used for sub-step updates.
&lt;br&gt;&lt;br&gt;See Alex's tutorial on rates and normalising - it's all explained well there.
&lt;br&gt;&lt;a href=&quot;http://www.vandenbogaerdt.nl/rrdtool/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vandenbogaerdt.nl/rrdtool/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Hobson
&lt;br&gt;&lt;br&gt;Visit &lt;a href=&quot;http://www.magpiesnestpublishing.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magpiesnestpublishing.co.uk/&lt;/a&gt;&amp;nbsp;for books by acclaimed
&lt;br&gt;author Gladys Hobson. Novels - poetry - short stories - ideal as
&lt;br&gt;Christmas stocking fillers. Some available as e-books.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26663467&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26663467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26659447</id>
	<title>Re: Questions of new user</title>
	<published>2009-12-05T13:18:09Z</published>
	<updated>2009-12-05T13:18:09Z</updated>
	<author>
		<name>Karl Fischer-3</name>
	</author>
	<content type="html">Pavel Rubtsov schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Im new user of rrdtool, i have many questions (and i search for web,
&lt;br&gt;&amp;gt; but some thin questions is still no ansver...; and sorry for my english... :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. How rrdtool does updating in time interval?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After creating of database and strict by step?
&lt;br&gt;&amp;gt; Or it countdown timer after last adding data?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Example:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i have --step 300
&lt;br&gt;&amp;gt; i update *.rrd base at 16:00:00 (h:m:s)
&lt;br&gt;&amp;gt; i update *.rrd base at 16:02:00
&lt;br&gt;&amp;gt; NOW next step begin in 16:00 or in 16:07?
&lt;/div&gt;&lt;br&gt;Hi Pavel,
&lt;br&gt;&lt;br&gt;rrdtool strictly updates based on (unix) time of epoch (1970-01-01 00:00:00)
&lt;br&gt;modulo your step, so a step 300 means xx:05:00, xx:10:00, xx:15:00 ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 2. Example:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i have --step 300
&lt;br&gt;&amp;gt; If i will update often, then 300 sec (for example every 10 seconds)
&lt;br&gt;&amp;gt; what will be? Which data is stored?
&lt;br&gt;&lt;br&gt;if you update more often than required for you step size, the data will be
&lt;br&gt;aggregated using the aggregation function you've chosen (MIN, MAX, AVERAGE etc)
&lt;br&gt;so either the smallest or the highest or the average of the values will be stored.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 3. I create rrd with:
&lt;br&gt;&amp;gt; --step 60
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; DS:test:GAUGE:120:0:100
&lt;br&gt;&amp;gt; RRA:MIN:0.5:1:30
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i update every 60 sec with values:
&lt;br&gt;&amp;gt; 10, then 20, then 30, etc.
&lt;br&gt;&amp;gt; But when i create graph i see NOT Minimum value, its looks like averaged... why?
&lt;br&gt;&lt;br&gt;see above ...
&lt;br&gt;first, if you don't update on the 'top' of the interval, eg. xx:xx:00 for a 60s,
&lt;br&gt;the data will be interpolated, so for example you updated at
&lt;br&gt;&lt;br&gt;08:22:10 value 10
&lt;br&gt;08:23:10 value 20
&lt;br&gt;&lt;br&gt;then the database will need the value for 08:23:00 which you didn't provide, so
&lt;br&gt;it will be interpolated. At 08:23:00 it was 5/6 on the way from 10 to 20, so it
&lt;br&gt;will write 10 + (20 - 10) * 5 / 6 = 18.333
&lt;br&gt;&lt;br&gt;&lt;br&gt;hth
&lt;br&gt;&lt;br&gt;- Karl
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26659447&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26659447.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26659036</id>
	<title>Questions of new user</title>
	<published>2009-12-05T12:31:00Z</published>
	<updated>2009-12-05T12:31:00Z</updated>
	<author>
		<name>Pavel Rubtsov-3</name>
	</author>
	<content type="html">&lt;br&gt;Hi All!
&lt;br&gt;&lt;br&gt;Im new user of rrdtool, i have many questions (and i search for web, but some thin questions is still no ansver...; and sorry for my english... :)
&lt;br&gt;&lt;br&gt;1. How rrdtool does updating in time interval?
&lt;br&gt;&lt;br&gt;After creating of database and strict by step?
&lt;br&gt;Or it countdown timer after last adding data?
&lt;br&gt;&lt;br&gt;Example:
&lt;br&gt;&lt;br&gt;i have --step 300
&lt;br&gt;i update *.rrd base at 16:00:00 (h:m:s)
&lt;br&gt;i update *.rrd base at 16:02:00
&lt;br&gt;NOW next step begin in 16:00 or in 16:07?
&lt;br&gt;&lt;br&gt;&lt;br&gt;2. Example:
&lt;br&gt;&lt;br&gt;i have --step 300
&lt;br&gt;If i will update often, then 300 sec (for example every 10 seconds) what will be? Which data is stored?
&lt;br&gt;&lt;br&gt;3. I create rrd with:
&lt;br&gt;--step 60
&lt;br&gt;&lt;br&gt;DS:test:GAUGE:120:0:100
&lt;br&gt;RRA:MIN:0.5:1:30
&lt;br&gt;&lt;br&gt;i update every 60 sec with values:
&lt;br&gt;10, then 20, then 30, etc.
&lt;br&gt;But when i create graph i see NOT Minimum value, its looks like averaged... why?
&lt;br&gt;&lt;br&gt;i have rrdtool-1.2.15-cygwin-1.5.20.zip
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;nothing playing
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26659036&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-of-new-user-tp26659036p26659036.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655568</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-05T05:19:36Z</published>
	<updated>2009-12-05T05:19:36Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">2009/12/5 A Darren Dunham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655568&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ddunham@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hopefully that demonstrates the differences pretty well.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Actually ; looking at the graph ; I can't understand how the MAX is
&lt;br&gt;actually calculated.
&lt;br&gt;&lt;br&gt;Looking at:
&lt;br&gt;&lt;a href=&quot;http://htpc.avenard.org/power/screen.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power/screen.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;It shows the maximum as being 2972W ; which is indeed the maximum with
&lt;br&gt;the actual data at the highest resolution.
&lt;br&gt;But it's definitely not the maximum of 5 minutes average as the graph
&lt;br&gt;shows: nothing is over 2200W
&lt;br&gt;&lt;br&gt;That graph is created with :
&lt;br&gt;&lt;br&gt;$ret = exec(&amp;quot;$RRDTOOL graph $name -l 0 \
&lt;br&gt;-t '$title' \
&lt;br&gt;-x $legend \
&lt;br&gt;--step $res --start e-$start --end $timestamp \
&lt;br&gt;-w $width -h $height \
&lt;br&gt;DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds0max=ch2max,MAXIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds0avg=ch2,AVERAGE \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds0min=ch2min,MINIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds0pct=ch2,95,PERCENT \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds1max=totalmax,MAXIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds1avg=total,AVERAGE \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds1min=totalmin,MINIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds1pct=total,95,PERCENT \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds2max=ch1max,MAXIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds2avg=ch1,AVERAGE \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds2min=ch1min,MINIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds2pct=ch1,95,PERCENT \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds3max=solarmax,MAXIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds3avg=solar,AVERAGE \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds3min=solarmin,MINIMUM \
&lt;br&gt;&amp;nbsp; &amp;nbsp; VDEF:ds3pct=solar,95,PERCENT \
&lt;br&gt;&amp;nbsp;COMMENT:' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' \
&lt;br&gt;&amp;nbsp;COMMENT:'Maximum ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; COMMENT:'Average ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; COMMENT:'Minimum ' &amp;nbsp;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; COMMENT:'95th percentile\l' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; LINE1:total#000090:'Total &amp;nbsp; ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds1max:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds1avg:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds1min:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds1pct:' %5.0lf W\l' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; LINE1:ch1#00FF00:'Pool &amp;nbsp; &amp;nbsp;' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds2max:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds2avg:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds2min:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds2pct:' %5.0lf W\l' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; LINE1:solar#FF0000:'Solar &amp;nbsp; ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds3max:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds3avg:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds3min:'%5.0lf W ' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPRINT:ds3pct:' %5.0lf W\l'
&lt;br&gt;&lt;br&gt;where $res , the argument for --step is 300 (5 minutes) and I do use
&lt;br&gt;the reduce=AVERAGE option.
&lt;br&gt;&lt;br&gt;Thanks for your help once again.
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655568&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26655568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655502</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-05T05:01:53Z</published>
	<updated>2009-12-05T05:01:53Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;2009/12/5 A Darren Dunham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655502&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ddunham@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;[snip]
&lt;br&gt;&amp;gt; You can change the RRA's consolidation function at the top easily to see
&lt;br&gt;&amp;gt; how if it were AVERAGE already, there's no differences between the
&lt;br&gt;&amp;gt; second two graphs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hopefully that demonstrates the differences pretty well.
&lt;br&gt;&lt;br&gt;It does ... thank you for enlighting me
&lt;br&gt;&lt;br&gt;As I was thinking more into yesterday ; I too had felt that for
&lt;br&gt;AVERAGE is result would be quite obvious ; but for the MIN and MAX
&lt;br&gt;some issues would arise...
&lt;br&gt;&lt;br&gt;Now I have an extra question on how the RRA/consolidation works...
&lt;br&gt;&lt;br&gt;Say I store 5 years of 5 minutes average ; is there any points of also
&lt;br&gt;storing 5 years of 30 minutes average, 5 years of 2 hours average etc?
&lt;br&gt;&lt;br&gt;I would have assumed that it wouldn't matter ; except when retrieving
&lt;br&gt;the 30 minutes/2 hours average extra processing is required as it
&lt;br&gt;needs to retrieve more values.
&lt;br&gt;&lt;br&gt;Now; if I use reduce=AVERAGE for all my graph like
&lt;br&gt;DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;DEF:totalmin=currentcost.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;DEF:ch2min=currentcost.rrd:ch2:MIN:reduce=AVERAGE \
&lt;br&gt;DEF:solarmin=solarprod.rrd:total:MIN:reduce=AVERAGE
&lt;br&gt;DEF:ch1min=currentcost.rrd:ch1:MIN:reduce=AVERAGE \
&lt;br&gt;DEF:totalmax=currentcost.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;DEF:ch2max=currentcost.rrd:ch2:MAX:reduce=AVERAGE \
&lt;br&gt;DEF:solarmax=solarprod.rrd:total:MAX:reduce=AVERAGE
&lt;br&gt;DEF:ch1max=currentcost.rrd:ch1:MAX:reduce=AVERAGE \
&lt;br&gt;&lt;br&gt;Do I even need to create the RRD with MIN and MAX ? or it can be all
&lt;br&gt;done from the AVERAGE RRD database ?
&lt;br&gt;In my case, I create the RRD with:
&lt;br&gt;100 day of 1 minute average
&lt;br&gt;5 years of 5 minutes average
&lt;br&gt;&lt;br&gt;rrdtool create currentcost.rrd -s 60 \
&lt;br&gt;DS:total:GAUGE:300:0:U \
&lt;br&gt;DS:ch1:GAUGE:300:0:U \
&lt;br&gt;DS:ch2:GAUGE:300:0:U \
&lt;br&gt;DS:ch3:GAUGE:300:0:U \
&lt;br&gt;RRA:AVERAGE:0.5:1:144000 \
&lt;br&gt;RRA:AVERAGE:0.5:5:525600 \
&lt;br&gt;RRA:MIN:0.5:1:144000 \
&lt;br&gt;RRA:MIN:0.5:5:525600 \
&lt;br&gt;RRA:MAX:0.5:1:144000 \
&lt;br&gt;RRA:MAX:0.5:5:525600
&lt;br&gt;&lt;br&gt;Not creating a MIN and MAX one would reduce considerably the size rrd file.
&lt;br&gt;&lt;br&gt;Here is my result so far ... You can click on parts of the graph to
&lt;br&gt;automatically zoom-in for extra details.
&lt;br&gt;&lt;a href=&quot;http://htpc.avenard.org/power&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://htpc.avenard.org/power&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655502&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26655502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26646888</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-04T10:22:40Z</published>
	<updated>2009-12-04T10:22:40Z</updated>
	<author>
		<name>A Darren Dunham</name>
	</author>
	<content type="html">On Fri, Dec 04, 2009 at 06:16:45PM +0000, A Darren Dunham wrote:
&lt;br&gt;&lt;br&gt;[perl program ...]
&lt;br&gt;&amp;gt; # create two graphs, one normal, one at 5 min step.
&lt;br&gt;&amp;gt; my @options = (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--end&amp;quot;, $last,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--start&amp;quot;, &amp;quot;end-2h&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;AREA:total#FF0000FF&amp;quot;);
&lt;br&gt;&amp;gt; my $graph_dir
&lt;br&gt;&amp;gt; RRDs::graph (&amp;quot;$rrd_dir/norm.png&amp;quot;,
&lt;br&gt;[snip...]
&lt;br&gt;&lt;br&gt;Argh.. scrolled back too far in the window and cut&amp;pasted one section
&lt;br&gt;from an older edit.
&lt;br&gt;&lt;br&gt;The &amp;quot;my $graph_dir&amp;quot; line is extraneous and will probably cause an error. &amp;nbsp;It
&lt;br&gt;shouldn't be present. &amp;nbsp;Please delete it before trying to run.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Darren
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646888&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26646888.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26646798</id>
	<title>Re: Simple questions about RRD</title>
	<published>2009-12-04T10:16:45Z</published>
	<updated>2009-12-04T10:16:45Z</updated>
	<author>
		<name>A Darren Dunham</name>
	</author>
	<content type="html">On Fri, Dec 04, 2009 at 11:52:33AM +1100, Jean-Yves Avenard wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I store two years of one minute data (just because I have plenty of disk space)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rrdtool create currentcost.rrd -s 60 \
&lt;br&gt;&amp;gt; DS:total:GAUGE:600:0:U \
&lt;br&gt;&amp;gt; DS:ch1:GAUGE:600:0:U \
&lt;br&gt;&amp;gt; DS:ch2:GAUGE:600:0:U \
&lt;br&gt;&amp;gt; DS:ch3:GAUGE:600:0:U \
&lt;br&gt;&amp;gt; RRA:AVERAGE:0.5:1:1054080 \
&lt;br&gt;&amp;gt; RRA:AVERAGE:0.5:1440:1830 \
&lt;br&gt;&amp;gt; RRA:MIN:0.5:1:527040 \
&lt;br&gt;&amp;gt; RRA:MIN:0.5:1440:1830 \
&lt;br&gt;&amp;gt; RRA:MAX:0.5:1:527040 \
&lt;br&gt;&amp;gt; RRA:MAX:0.5:1440:1830
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I draw my daily graph with
&lt;br&gt;&amp;gt; $ret = exec(&amp;quot;$RRDTOOL graph images/powerday.png -l 0 \
&lt;br&gt;&amp;gt; -t 'POWER - DAILY' \
&lt;br&gt;&amp;gt; -x HOUR:1:HOUR:4:HOUR:2:0:%k \
&lt;br&gt;&amp;gt; --step 60 --end $timestamp -w $DAYWIDTH -h $DAYHEIGHT \
&lt;br&gt;&amp;gt; DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;&amp;gt; DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;&amp;gt; DEF:totalmin=currentcost.rrd:total:MIN DEF:ch2min=currentcost.rrd:ch2:MIN \
&lt;br&gt;&amp;gt; DEF:solarmin=solarprod.rrd:total:MIN DEF:ch1min=currentcost.rrd:ch1:MIN \
&lt;br&gt;&amp;gt; DEF:totalmax=currentcost.rrd:total:MAX DEF:ch2max=currentcost.rrd:ch2:MAX \
&lt;br&gt;&amp;gt; DEF:solarmax=solarprod.rrd:total:MAX DEF:ch1max=currentcost.rrd:ch1:MAX \
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; scale is calculated so no rounding is done ....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But with the way power usage go ; it's a very broken graph... So I
&lt;br&gt;&amp;gt; would like to show 5 minutes average instead for the daily graph...
&lt;br&gt;&amp;gt; does calling rrdgraph with --step 300 is all that is required to get 5
&lt;br&gt;&amp;gt; minutes average ? It doesn't seem to be a 5 minutes average to me
&lt;br&gt;&amp;gt; looking at the generated graph ; still having big spike on the minute
&lt;br&gt;&amp;gt; I turned on my boiler kettle. A 5 minutes average should have removed
&lt;br&gt;&amp;gt; the skipe.
&lt;/div&gt;&lt;br&gt;&amp;gt;From rrd_data:
&lt;br&gt;&amp;nbsp; &amp;nbsp;If consolidation needs to be done, the CF of the RRA specified in the
&lt;br&gt;&amp;nbsp; &amp;nbsp;DEF itself will be used to reduce the data density. This behavior can
&lt;br&gt;&amp;nbsp; &amp;nbsp;be changed using :reduce=&amp;lt;CF&amp;gt;. This optional parameter specifies the
&lt;br&gt;&amp;nbsp; &amp;nbsp;CF to use during the data reduction phase.
&lt;br&gt;&lt;br&gt;So your AVERAGE RRAs will be doing 5 minute averages, but your MIN and
&lt;br&gt;MAX RRAs will not.
&lt;br&gt;&lt;br&gt;&amp;gt; If that's not the way, how do I graph 5 minutes average when my data
&lt;br&gt;&amp;gt; is made of 1 minute recording ?
&lt;br&gt;&lt;br&gt;Specify an explicit reduction CF and step value in your graph DEF.
&lt;br&gt;Here's a perl example. &amp;nbsp;Apologies for using RRDs. &amp;nbsp;It shouldn't be too
&lt;br&gt;hard to translate to using 'rrdtool' directly if you prefer.
&lt;br&gt;&lt;br&gt;use RRDs;
&lt;br&gt;use Time::Local;
&lt;br&gt;my $ts = timelocal(0,0,0,1,0,2008); #1 Jan, 2008, midnight local time
&lt;br&gt;my $cf = &amp;quot;MAX&amp;quot;;
&lt;br&gt;&lt;br&gt;my $rrd_dir = &amp;quot;/tmp&amp;quot;;
&lt;br&gt;&lt;br&gt;my $rrd = &amp;quot;$rrd_dir/avg_test.rrd&amp;quot;;
&lt;br&gt;RRDs::create ($rrd, &amp;quot;--step&amp;quot;, &amp;quot;60&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;--start&amp;quot;, &amp;quot;$ts&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;DS:total:GAUGE:600:0:U&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;RRA:${cf}:0.5:1:5000&amp;quot;);
&lt;br&gt;&lt;br&gt;# put in 1 &amp;quot;high&amp;quot; value and 4 &amp;quot;low&amp;quot; values every 5 min
&lt;br&gt;&lt;br&gt;foreach (0 .. 24) # 24 &amp;nbsp;5 min periods =&amp;gt; 2 hr
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; RRDs::update ($rrd, &amp;quot;${ts}:16&amp;quot;);
&lt;br&gt;&amp;nbsp; $ts += 60;
&lt;br&gt;&amp;nbsp; foreach (0 .. 3)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; RRDs::update ($rrd, &amp;quot;${ts}:1&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ts += 60;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;my $last = RRDs::last($rrd);
&lt;br&gt;# create two graphs, one normal, one at 5 min step.
&lt;br&gt;my @options = (
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--end&amp;quot;, $last,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--start&amp;quot;, &amp;quot;end-2h&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;AREA:total#FF0000FF&amp;quot;);
&lt;br&gt;my $graph_dir
&lt;br&gt;RRDs::graph (&amp;quot;$rrd_dir/norm.png&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:total=$rrd:total:${cf}&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@options);
&lt;br&gt;RRDs::graph (&amp;quot;$rrd_dir/avg.png&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:total=$rrd:total:${cf}&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--step&amp;quot;, &amp;quot;300&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@options);
&lt;br&gt;RRDs::graph (&amp;quot;$rrd_dir/avg2.png&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:total=$rrd:total:${cf}:step=300:reduce=AVERAGE&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@options);
&lt;br&gt;&lt;br&gt;&lt;br&gt;This uses a single &amp;quot;MAX&amp;quot; RRA and does a normal graph (no consolidation,
&lt;br&gt;with spikes), a --step=300 graph (consolidation uses the RRA, so MAX
&lt;br&gt;consolidation), and a graph where the consolidation is specified to be
&lt;br&gt;AVERAGE. &amp;nbsp;
&lt;br&gt;&lt;br&gt;You can change the RRA's consolidation function at the top easily to see
&lt;br&gt;how if it were AVERAGE already, there's no differences between the
&lt;br&gt;second two graphs.
&lt;br&gt;&lt;br&gt;Hopefully that demonstrates the differences pretty well.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Darren
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26646798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645134</id>
	<title>Re: Non Linear X-Axis</title>
	<published>2009-12-04T08:27:51Z</published>
	<updated>2009-12-04T08:27:51Z</updated>
	<author>
		<name>Stuart Poulton-3</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; Without considering the graphing issues, is it possible to store the
&lt;br&gt;&amp;gt; data in an RRD thought ?
&lt;br&gt;&lt;br&gt;Anyone able to help out on this.
&lt;br&gt;&lt;br&gt;I'd like to take a reading every 10 seconds from a temp sensor (got &amp;nbsp;
&lt;br&gt;this bit working)
&lt;br&gt;and store the following
&lt;br&gt;&lt;br&gt;6 x 10 seconds readings
&lt;br&gt;60 x 1 minute averages
&lt;br&gt;24x 1 hour averages
&lt;br&gt;7 x 1 day averages
&lt;br&gt;&lt;br&gt;And then be able to retrieve these values.
&lt;br&gt;&lt;br&gt;How would I go about this in an RRD ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Stuart
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645134&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Non-Linear-X-Axis-tp26485995p26645134.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26636271</id>
	<title>Simple questions about RRD</title>
	<published>2009-12-03T16:52:33Z</published>
	<updated>2009-12-03T16:52:33Z</updated>
	<author>
		<name>Jean-Yves Avenard-2</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;Long time user of RRDtool ; but I haven't got into creating new graph
&lt;br&gt;in a while and I'm a bit confused about one detail...
&lt;br&gt;&lt;br&gt;I'm monitoring the power usage at my house with a new gizmo I installed...
&lt;br&gt;&lt;br&gt;Data is collected by a python script every 6s ; I average the data
&lt;br&gt;over a minute and feed it to a rrd database.
&lt;br&gt;&lt;br&gt;I store two years of one minute data (just because I have plenty of disk space)
&lt;br&gt;&lt;br&gt;rrdtool create currentcost.rrd -s 60 \
&lt;br&gt;DS:total:GAUGE:600:0:U \
&lt;br&gt;DS:ch1:GAUGE:600:0:U \
&lt;br&gt;DS:ch2:GAUGE:600:0:U \
&lt;br&gt;DS:ch3:GAUGE:600:0:U \
&lt;br&gt;RRA:AVERAGE:0.5:1:1054080 \
&lt;br&gt;RRA:AVERAGE:0.5:1440:1830 \
&lt;br&gt;RRA:MIN:0.5:1:527040 \
&lt;br&gt;RRA:MIN:0.5:1440:1830 \
&lt;br&gt;RRA:MAX:0.5:1:527040 \
&lt;br&gt;RRA:MAX:0.5:1440:1830
&lt;br&gt;&lt;br&gt;&lt;br&gt;I draw my daily graph with
&lt;br&gt;$ret = exec(&amp;quot;$RRDTOOL graph images/powerday.png -l 0 \
&lt;br&gt;-t 'POWER - DAILY' \
&lt;br&gt;-x HOUR:1:HOUR:4:HOUR:2:0:%k \
&lt;br&gt;--step 60 --end $timestamp -w $DAYWIDTH -h $DAYHEIGHT \
&lt;br&gt;DEF:total=currentcost.rrd:total:AVERAGE DEF:ch2=currentcost.rrd:ch2:AVERAGE \
&lt;br&gt;DEF:solar=solarprod.rrd:total:AVERAGE DEF:ch1=currentcost.rrd:ch1:AVERAGE \
&lt;br&gt;DEF:totalmin=currentcost.rrd:total:MIN DEF:ch2min=currentcost.rrd:ch2:MIN \
&lt;br&gt;DEF:solarmin=solarprod.rrd:total:MIN DEF:ch1min=currentcost.rrd:ch1:MIN \
&lt;br&gt;DEF:totalmax=currentcost.rrd:total:MAX DEF:ch2max=currentcost.rrd:ch2:MAX \
&lt;br&gt;DEF:solarmax=solarprod.rrd:total:MAX DEF:ch1max=currentcost.rrd:ch1:MAX \
&lt;br&gt;&lt;br&gt;scale is calculated so no rounding is done ....
&lt;br&gt;&lt;br&gt;But with the way power usage go ; it's a very broken graph... So I
&lt;br&gt;would like to show 5 minutes average instead for the daily graph...
&lt;br&gt;does calling rrdgraph with --step 300 is all that is required to get 5
&lt;br&gt;minutes average ? It doesn't seem to be a 5 minutes average to me
&lt;br&gt;looking at the generated graph ; still having big spike on the minute
&lt;br&gt;I turned on my boiler kettle. A 5 minutes average should have removed
&lt;br&gt;the skipe.
&lt;br&gt;&lt;br&gt;If that's not the way, how do I graph 5 minutes average when my data
&lt;br&gt;is made of 1 minute recording ?
&lt;br&gt;Thanks
&lt;br&gt;Jean-Yves
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26636271&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Simple-questions-about-RRD-tp26636271p26636271.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26634685</id>
	<title>Re: rrdcached and commands</title>
	<published>2009-12-03T14:48:02Z</published>
	<updated>2009-12-03T14:48:02Z</updated>
	<author>
		<name>Fernando Nieto</name>
	</author>
	<content type="html">Hi Steve,
&lt;br&gt;&lt;br&gt;As documentation says, QUIT command just &amp;quot;disconnect from rrdcached&amp;quot;,
&lt;br&gt;but it doesn't make the proccess to finish its execution.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Fernando
&lt;br&gt;&lt;br&gt;On Thu, Dec 3, 2009 at 3:31 AM, Stephen S. Disbrow &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634685&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;     I didn't receive a response on a previous inquiry, but I wrote my own
&lt;br&gt;&amp;gt; socket program to send and receive messages from the rrdcached process. When
&lt;br&gt;&amp;gt; I send the &amp;quot;QUIT\n&amp;quot; command I expect the process to exit, but it's not going
&lt;br&gt;&amp;gt; away There is nothing in the queue so I'd expect it to exit.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advanced,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Steve Disbrow
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; rrd-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634685&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634685&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdcached-and-commands-tp26620105p26634685.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26634406</id>
	<title>Re: rrdtool update error</title>
	<published>2009-12-03T14:27:43Z</published>
	<updated>2009-12-03T14:27:43Z</updated>
	<author>
		<name>Stephen S. Disbrow-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3603&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;Hi,&lt;BR&gt;Here's all the info, please let me know if any further information 
is &lt;BR&gt;required. Also I don't think I'm setting any rrdtool specific variables 
in &lt;BR&gt;the environment.&lt;BR&gt;&lt;BR&gt;12/02/2009 10:19:13 AM&lt;BR&gt;The rrdcached process 
is run as the metis user.&lt;BR&gt;all the rrdtooll commands are run as the metis 
user.&lt;BR&gt;The rrdcached startup command 
line&lt;BR&gt;METIS_HOME=&quot;/usr/local/metis&quot;&lt;BR&gt;BASEPATH=${METIS_HOME}/db/rrd&lt;BR&gt;/usr/pkg/bin/rrdcached 
-l unix:/tmp/metis.rrd.sock -w 60 -p &lt;BR&gt;/tmp/metis.rrd.pid&amp;nbsp; -t 5&amp;nbsp; -j 
${BASEPATH}/journal&lt;BR&gt;-b ${BASEPATH} -B&lt;BR&gt;These files are in 
/tmp&lt;BR&gt;-rw-r----- 1 metis metis 6 Dec&amp;nbsp; 1 12:26 metis.rrd.pid&lt;BR&gt;srwxrwx--- 
1 metis metis 0 Dec&amp;nbsp; 1 12:26 metis.rrd.sock&lt;BR&gt;The $BASEPATH path is on an 
NFS file system.&lt;BR&gt;The update command is as 
follows;&lt;BR&gt;/usr/pkg/bin/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
rrdtool update&amp;nbsp; --daemon 
unix:/tmp/metis.rrd.sock&lt;BR&gt;${BASEPATH}/volumes.rrd 
N:$accesses:$reads:$writes&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&lt;BR&gt;The error is;&lt;BR&gt;ERROR: 
rrdcached: Permission denied&lt;BR&gt;The rrd file in question perms are as 
follows;&lt;BR&gt;-rw-rw---- 1 metis metis 438480 Dec&amp;nbsp; 1 13:25 
volumes.rrd&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks in advance,&lt;BR&gt;Stephen Disbrow&lt;BR&gt;&lt;BR&gt;----- 
Original Message ----- &lt;BR&gt;From: &quot;Sebastian Harl&quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634406&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;To: &quot;Stephen S. Disbrow&quot; 
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634406&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Cc: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634406&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Sent: 
Wednesday, December 02, 2009 2:59 AM&lt;BR&gt;Subject: Re: [rrd-users] rrdtool update 
error&lt;BR&gt;Hi Steve,&lt;BR&gt;&lt;BR&gt;On Tue, Dec 01, 2009 at 08:01:59PM -0600, Stephen S. 
Disbrow wrote:&lt;BR&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm getting the following error 
from rrdtool update when using the&lt;BR&gt;&amp;gt; rrdcached process;&lt;BR&gt;&amp;gt; ERROR: 
rrdcached: Permission denied&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; I don't know what permissions it's 
talking about. The rrdfiles have&lt;BR&gt;&amp;gt; the proper permissions. I'm not using 
the -P option for rrdcached&lt;BR&gt;&amp;gt; because I thought without it that&amp;nbsp; all 
permissions will be opened. Any&lt;BR&gt;&amp;gt; ideas as to what to look at?&lt;BR&gt;&lt;BR&gt;I 
suppose, you are connecting to rrdcached through a UNIX socket (see&lt;BR&gt;the -l 
command line option). In that case, the user doing rrdupdate&lt;BR&gt;needs 
(filesystem) write permissions for the appropriate socket file.&lt;BR&gt;&lt;BR&gt;If that 
is not the case, please provide more information about your&lt;BR&gt;setup. What 
rrdcached command line options do you use? Does rrdcached&lt;BR&gt;run as root? Which 
user is doing the rrdupdate? What is the command line&lt;BR&gt;used for that (please 
note that some environment variables might&lt;BR&gt;overwrite some of those options -- 
see the appropriate manpages for&lt;BR&gt;details)? 
...&lt;BR&gt;&lt;BR&gt;HTH,&lt;BR&gt;Sebastian&lt;BR&gt;&lt;BR&gt;-- &lt;BR&gt;Sebastian &quot;tokkee&quot; Harl +++ GnuPG-ID: 
0x8501C7FC +++ &lt;A href=&quot;http://tokkee.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tokkee.org/&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Those 
who would give up Essential Liberty to purchase a little Temporary&lt;BR&gt;Safety, 
deserve neither Liberty nor 
Safety.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Benjamin 
Franklin&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26634406&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-update-error-tp26602420p26634406.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26631340</id>
	<title>rrdtool 1.4.2 binaries for hp-ux 11.23 hppa available</title>
	<published>2009-12-03T11:04:01Z</published>
	<updated>2009-12-03T11:04:01Z</updated>
	<author>
		<name>Stoyan Angelov</name>
	</author>
	<content type="html">hi all,
&lt;br&gt;&lt;br&gt;there are now rrdtool 1.4.2 binaries for hp-ux available for download. 
&lt;br&gt;they are packaged as &amp;quot;depot&amp;quot; for use on hp-ux (pa-risc) machines.
&lt;br&gt;&lt;br&gt;you can find more information at:
&lt;br&gt;&lt;a href=&quot;http://www.filibeto.org/~aduritz/truetrue/rrdtool/1.4.2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.filibeto.org/~aduritz/truetrue/rrdtool/1.4.2/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;&lt;br&gt;Stoyan
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26631340&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.2-binaries-for-hp-ux-11.23-hppa-available-tp26631340p26631340.html" />
</entry>

</feed>
