<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-792</id>
	<title>Nabble - RRDTool</title>
	<updated>2009-11-07T09:23:13Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/RRDTool-f792.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRDTool-f792.html" />
	<subtitle type="html">RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). It stores the data in a very compact way that will not expand over time, and it can create beautiful graphs. It can be used via simple shell scripts or as a perl module. RRDTool home is &lt;a href=&quot;http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26246912</id>
	<title>Re: Requesting help with glib install</title>
	<published>2009-11-07T09:23:13Z</published>
	<updated>2009-11-07T09:23:13Z</updated>
	<author>
		<name>PAUL WILLIAMSON-6</name>
	</author>
	<content type="html">&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3627&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY style=&quot;MARGIN: 4px 4px 1px&quot;&gt;
&lt;DIV&gt;&amp;gt;&amp;gt;&amp;gt; Marc Powell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246912&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marc@...&lt;/a&gt;&amp;gt; 11/7/2009 9:44 AM &amp;gt;&amp;gt;&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;gt; It looks like it's unable to create the directory '/usr/local/share'.&amp;nbsp; &lt;BR&gt;&amp;gt; Are you doing this as a user who has permissions to do so? &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; Do you have&amp;nbsp;other restrictions such that you couldn't do that &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; (SELinux maybe?)&lt;BR&gt;&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I thought that too.&amp;nbsp; I'm performing the installation as root, &lt;/DIV&gt;
&lt;DIV&gt;and SELinux is disabled.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The directory already exists, but that shouldn't be a big &lt;/DIV&gt;
&lt;DIV&gt;deal because the /usr/local/share directory is pretty &lt;/DIV&gt;
&lt;DIV&gt;common.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;&lt;pre&gt;************************************
This email may contain privileged and/or confidential information that is intended solely for the use of the addressee.  If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission.  If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information.
There are risks associated with the use of electronic transmission.  The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission.
************************************
&lt;/pre&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=26246912&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-help-with-glib-install-tp26245228p26246912.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26245403</id>
	<title>Re: Requesting help with glib install</title>
	<published>2009-11-07T06:44:03Z</published>
	<updated>2009-11-07T06:44:03Z</updated>
	<author>
		<name>Marc Powell</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 7, 2009, at 8:23 AM, PAUL WILLIAMSON wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Trying to install smokepipng, but obviously I need rrdtool
&lt;br&gt;&amp;gt; first. &amp;nbsp;It's been a while since I did an install, and I'm
&lt;br&gt;&amp;gt; running into problems with installing glib. &amp;nbsp;This is the error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Making install in po
&lt;br&gt;&amp;gt; make[1]: Entering directory `/downloads/glib-2.0.7/po'
&lt;br&gt;&amp;gt; if test -r &amp;quot;.././mkinstalldirs&amp;quot;; then \
&lt;br&gt;&amp;gt; &amp;nbsp; .././mkinstalldirs /usr/local/share; \
&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt; /bin/sh: .././mkinstalldirs: Permission denied
&lt;/div&gt;&lt;br&gt;It looks like it's unable to create the directory '/usr/local/share'. &amp;nbsp;
&lt;br&gt;Are you doing this as a user who has permissions to do so? Do you have &amp;nbsp;
&lt;br&gt;other restrictions such that you couldn't do that (SELinux maybe?)
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Marc
&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=26245403&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-help-with-glib-install-tp26245228p26245403.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26245228</id>
	<title>Requesting help with glib install</title>
	<published>2009-11-07T06:23:18Z</published>
	<updated>2009-11-07T06:23:18Z</updated>
	<author>
		<name>PAUL WILLIAMSON-6</name>
	</author>
	<content type="html">&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3627&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY style=&quot;MARGIN: 4px 4px 1px; FONT: 10pt Tahoma&quot;&gt;
&lt;DIV&gt;Trying to install smokepipng, but obviously I need rrdtool &lt;/DIV&gt;
&lt;DIV&gt;first.&amp;nbsp; It's been a while since I did an install, and I'm &lt;/DIV&gt;
&lt;DIV&gt;running into problems with installing glib.&amp;nbsp; This is the error:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Making install in po&lt;BR&gt;make[1]: Entering directory `/downloads/glib-2.0.7/po'&lt;BR&gt;if test -r &quot;.././mkinstalldirs&quot;; then \&lt;BR&gt;&amp;nbsp; .././mkinstalldirs /usr/local/share; \&lt;BR&gt;else \&lt;BR&gt;&amp;nbsp; /bin/sh ../mkinstalldirs /usr/local/share; \&lt;BR&gt;fi&lt;BR&gt;/bin/sh: .././mkinstalldirs: Permission denied&lt;BR&gt;make[1]: *** [install-data-yes] Error 126&lt;BR&gt;make[1]: Leaving directory `/downloads/glib-2.0.7/po'&lt;BR&gt;make: *** [install-recursive] Error 1&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;I've been pulling my hair out for the last few days.&amp;nbsp; I'm &lt;/DIV&gt;
&lt;DIV&gt;hoping someone can help me out.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Running RedHat ES4.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;pre&gt;************************************
This email may contain privileged and/or confidential information that is intended solely for the use of the addressee.  If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission.  If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information.
There are risks associated with the use of electronic transmission.  The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission.
************************************
&lt;/pre&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=26245228&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-help-with-glib-install-tp26245228p26245228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26233210</id>
	<title>Re: patch to do vertical gradients</title>
	<published>2009-11-06T06:49:28Z</published>
	<updated>2009-11-06T06:49:28Z</updated>
	<author>
		<name>Rian Shelley</name>
	</author>
	<content type="html">On Fri, Nov 6, 2009 at 7:20 AM, Mark Mills &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233210&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;extremely@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; If it was used to carry information, one that might help would be scale
&lt;br&gt;&amp;gt; differences. I have had issues in the past where my boss at the time
&lt;br&gt;&amp;gt; freaked out when a graph spiked and we had to point out that the one he
&lt;br&gt;&amp;gt; was looking at had spiked from bits to kbits... not from mbits to gbits.
&lt;br&gt;&amp;gt; ;-) A way to color the scale in the area (logarithmically?) would help
&lt;br&gt;&amp;gt; when scanning graphs quickly. It wouldn't give the same cool fire effect
&lt;br&gt;&amp;gt; but &amp;quot;ripples&amp;quot; in the area paint could effectively replace the need for
&lt;br&gt;&amp;gt; grid lines.
&lt;br&gt;&lt;br&gt;Thats one of the reasons I wrote it. A negative height would be
&lt;br&gt;aligned to the x axis, so that increasing values on the line change to
&lt;br&gt;the next color, ie a gradient from green to red. Of course, to be
&lt;br&gt;really useful, I would need to change it so that the height was
&lt;br&gt;relative to the data set, and not given in pixels. I'll have to see
&lt;br&gt;how to do that. gfx_area_fit maybe?
&lt;br&gt;&lt;br&gt;&amp;gt; I'd also recommend that the default second color be set to the graph
&lt;br&gt;&amp;gt; background color with the transparency set to 0x20 and not be forced to
&lt;br&gt;&amp;gt; #000000. Might as well make it do something cool by default no matter
&lt;br&gt;&amp;gt; what color scheme they use.
&lt;br&gt;&lt;br&gt;Maybe. I figured it didn't matter much what the color was if the alpha
&lt;br&gt;was zero. That way it always appeared to fade into whatever is behind
&lt;br&gt;it, be it the background or another AREA. I'll have to play with it
&lt;br&gt;and see what it looks like.
&lt;br&gt;&lt;br&gt;&amp;gt; Also, I'm jealous of Rian because I've been wanting to write this patch
&lt;br&gt;&amp;gt; for like 5-6 years and never had the time. ;-) It looks even better than
&lt;br&gt;&amp;gt; I hoped. I'm looking forward to this being in the main build.
&lt;br&gt;&lt;br&gt;All the heavy lifting is done by cairo :D. All I did was allow the
&lt;br&gt;source pattern to be a gradient as well as a solid color. I think the
&lt;br&gt;other option is to make the source pattern another image.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;rian
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233210&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---Dev-f794.html&quot; embed=&quot;fixTarget[794]&quot; target=&quot;_top&quot; &gt;RRDTool - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-to-do-vertical-gradients-tp26220087p26233210.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26232868</id>
	<title>Re: patch to do vertical gradients</title>
	<published>2009-11-06T06:20:54Z</published>
	<updated>2009-11-06T06:20:54Z</updated>
	<author>
		<name>Mark Mills</name>
	</author>
	<content type="html">Tobias Oetiker wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; thanks for this ... it looks cool ... quersion though, is there
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; some information carying capability in this feature ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;If it was used to carry information, one that might help would be scale
&lt;br&gt;differences. I have had issues in the past where my boss at the time
&lt;br&gt;freaked out when a graph spiked and we had to point out that the one he
&lt;br&gt;was looking at had spiked from bits to kbits... not from mbits to gbits.
&lt;br&gt;;-) A way to color the scale in the area (logarithmically?) would help
&lt;br&gt;when scanning graphs quickly. It wouldn't give the same cool fire effect
&lt;br&gt;but &amp;quot;ripples&amp;quot; in the area paint could effectively replace the need for
&lt;br&gt;grid lines.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'd also recommend that the default second color be set to the graph
&lt;br&gt;background color with the transparency set to 0x20 and not be forced to
&lt;br&gt;#000000. Might as well make it do something cool by default no matter
&lt;br&gt;what color scheme they use.
&lt;br&gt;&lt;br&gt;Also, I'm jealous of Rian because I've been wanting to write this patch
&lt;br&gt;for like 5-6 years and never had the time. ;-) It looks even better than
&lt;br&gt;I hoped. I'm looking forward to this being in the main build.
&lt;br&gt;&lt;br&gt;--mark
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26232868&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---Dev-f794.html&quot; embed=&quot;fixTarget[794]&quot; target=&quot;_top&quot; &gt;RRDTool - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-to-do-vertical-gradients-tp26220087p26232868.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228518</id>
	<title>Re: rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-06T00:42:23Z</published>
	<updated>2009-11-06T00:42:23Z</updated>
	<author>
		<name>Sebastian Harl</name>
	</author>
	<content type="html">Hi Tobi,
&lt;br&gt;&lt;br&gt;On Thu, Nov 05, 2009 at 11:56:10PM +0100, Tobias Oetiker wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Today Sebastian Harl wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Thu, Nov 05, 2009 at 05:53:20AM +0100, Tobias Oetiker wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Anyone got an idea how much work would be involved to build/patch
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; rrdtool 1.4.x to remove graphing support? Library dependency for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; EL4 is just hell at this point. And as I need librrd, I am not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; sure how far I can work with a static build to work with collectd
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; together.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; you may want to try the appended patch.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +if BUILD_RRDGRAPH
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +RRD_C_FILES += rrd_graph.c	\
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	rrd_graph_helper.c	\
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	rrd_xport.c	\
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	rrd_gfx.c \
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	pngsize.c
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +endif
&lt;br&gt;&amp;gt; &amp;gt; [?]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; NB: RRD_C_FILES is later used to specify the source files for librrd.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; In case this patch is supposed to be included in RRDtool, please note
&lt;br&gt;&amp;gt; &amp;gt; that it provides an easy way to build RRDtool with a different API /
&lt;br&gt;&amp;gt; &amp;gt; ABI. Hence, it requires a different SONAME version (or even better: a
&lt;br&gt;&amp;gt; &amp;gt; different SONAME -- which would be easier to implement as well).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this patch is not the library split or anything like this ... it
&lt;br&gt;&amp;gt; is simply an attempt to help ulf ...
&lt;/div&gt;&lt;/div&gt;That's what I though -- I just wanted to make sure we don't miss this
&lt;br&gt;issue ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; note that there are already similar configure options for libdbi
&lt;br&gt;&amp;gt; which enable/disable functionality without changeing the library
&lt;br&gt;&amp;gt; version ...
&lt;br&gt;&lt;br&gt;Darn, I did not notice that so far :-/
&lt;br&gt;&lt;br&gt;This is not a good thing either (imho). One could argue that taking care
&lt;br&gt;of appropriate SONAME version changes is the responsibility of distrib-
&lt;br&gt;utors. However, this will create problems for users if done differently
&lt;br&gt;on different distributions.
&lt;br&gt;&lt;br&gt;&amp;gt; after doing this initial version, and thinking about it I think
&lt;br&gt;&amp;gt; adding stub versions of the public graph functions which set
&lt;br&gt;&amp;gt; rrd_error when called would be a nicer variant ... leaving the
&lt;br&gt;&amp;gt; library interface in place ...
&lt;br&gt;&lt;br&gt;This would keep the API unchanged but it *does* change the ABI (the
&lt;br&gt;semantic of some functions would change -- dramatically even), thus
&lt;br&gt;still requiring a SONAME version change.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Anyway, rather than including this (imho) somewhat hackish way, I'd
&lt;br&gt;&amp;gt; &amp;gt; rather go for splitting the library as discussed before (librrd /
&lt;br&gt;&amp;gt; &amp;gt; librrdgraph). I'm willing to provide a patch for that targeted at
&lt;br&gt;&amp;gt; &amp;gt; RRDtool 1.5 (it will probably require a SONAME version bump, thus, it
&lt;br&gt;&amp;gt; &amp;gt; should imho not be included in 1.4 -- I'd also provide patches for
&lt;br&gt;&amp;gt; &amp;gt; reverse dependencies known to be affected by that).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; yes, a split of the library for 1.5 would be cool ... I would
&lt;br&gt;&amp;gt; propose the following split:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; librrdclient - access to rrdcached functions - no deps
&lt;/div&gt;&lt;/div&gt;Sure, why not …
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; librrdcore - core rrdtool functions (create/update) - no deps
&lt;br&gt;&lt;br&gt;You've been talking about an API-redesign scheduled for 1.5 -- any
&lt;br&gt;specific plans for that yet?
&lt;br&gt;&lt;br&gt;Also, as of now, this lib would depend on libdbi. If we want to split
&lt;br&gt;that out as well, librrdcore would still depend on that unless
&lt;br&gt;rrd_fetch() would be split into two functions. Another approach would be
&lt;br&gt;to introduce &amp;quot;backend-drivers&amp;quot; (i.e., one handling files, one handling
&lt;br&gt;SQL databases thru dbi, etc.). Those drivers could then be loaded
&lt;br&gt;dynamically by rrd_fetch(). IIrc, somebody has proposed a &amp;quot;virtual file-
&lt;br&gt;system layer&amp;quot; some time ago -- what happened to that?
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; librrdcached - rrdcached &amp;nbsp;- glib
&lt;br&gt;&lt;br&gt;What's that supposed to include and what purpose is it going to serve?
&lt;br&gt;Do you want to make rrd_daemon.c:main available thru the/a library? I
&lt;br&gt;don't see any benefits from that.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; librrdgraph - graphing - cairo pango
&lt;br&gt;&lt;br&gt;That's the most important one ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; librrd - compat layer - librrdclient librrdcore librrdcached librrdgraph
&lt;br&gt;&lt;br&gt;I'm still unsure about details like &amp;quot;does that change the ABI?&amp;quot;, etc.
&lt;br&gt;(see a previous E-mail in a different discussion on that topic) but, I
&lt;br&gt;guess, it might make live a bit easier for users who compile stuff them-
&lt;br&gt;selves (rather than having their distributor take care of that), so
&lt;br&gt;(*shrug*) why not … ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; configure could then automatically disable the bits of rrdtool
&lt;br&gt;&amp;gt; which can not be built due to libraries missing
&lt;br&gt;&lt;br&gt;NB: &amp;quot;bits&amp;quot; as in &amp;quot;single libraries&amp;quot;, rather than features of one library
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sebastian
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Sebastian &amp;quot;tokkee&amp;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; -- Benjamin Franklin
&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=26228518&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;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26228518/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26228518.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26223817</id>
	<title>Re: rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-05T14:56:10Z</published>
	<updated>2009-11-05T14:56:10Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Sebastian,
&lt;br&gt;&lt;br&gt;Today Sebastian Harl wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Nov 05, 2009 at 05:53:20AM +0100, Tobias Oetiker wrote:
&lt;br&gt;&amp;gt; &amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Anyone got an idea how much work would be involved to build/patch
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; rrdtool 1.4.x to remove graphing support? Library dependency for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; EL4 is just hell at this point. And as I need librrd, I am not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; sure how far I can work with a static build to work with collectd
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; together.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; you may want to try the appended patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; +if BUILD_RRDGRAPH
&lt;br&gt;&amp;gt; &amp;gt; +RRD_C_FILES += rrd_graph.c	\
&lt;br&gt;&amp;gt; &amp;gt; +	rrd_graph_helper.c	\
&lt;br&gt;&amp;gt; &amp;gt; +	rrd_xport.c	\
&lt;br&gt;&amp;gt; &amp;gt; +	rrd_gfx.c \
&lt;br&gt;&amp;gt; &amp;gt; +	pngsize.c
&lt;br&gt;&amp;gt; &amp;gt; +endif
&lt;br&gt;&amp;gt; [?]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; NB: RRD_C_FILES is later used to specify the source files for librrd.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In case this patch is supposed to be included in RRDtool, please note
&lt;br&gt;&amp;gt; that it provides an easy way to build RRDtool with a different API /
&lt;br&gt;&amp;gt; ABI. Hence, it requires a different SONAME version (or even better: a
&lt;br&gt;&amp;gt; different SONAME -- which would be easier to implement as well).
&lt;/div&gt;&lt;br&gt;this patch is not the library split or anything like this ... it
&lt;br&gt;is simply an attempt to help ulf ...
&lt;br&gt;&lt;br&gt;note that there are already similar configure options for libdbi
&lt;br&gt;which enable/disable functionality without changeing the library
&lt;br&gt;version ...
&lt;br&gt;&lt;br&gt;after doing this initial version, and thinking about it I think
&lt;br&gt;adding stub versions of the public graph functions which set
&lt;br&gt;rrd_error when called would be a nicer variant ... leaving the
&lt;br&gt;library interface in place ...
&lt;br&gt;&lt;br&gt;&amp;gt; Anyway, rather than including this (imho) somewhat hackish way, I'd
&lt;br&gt;&amp;gt; rather go for splitting the library as discussed before (librrd /
&lt;br&gt;&amp;gt; librrdgraph). I'm willing to provide a patch for that targeted at
&lt;br&gt;&amp;gt; RRDtool 1.5 (it will probably require a SONAME version bump, thus, it
&lt;br&gt;&amp;gt; should imho not be included in 1.4 -- I'd also provide patches for
&lt;br&gt;&amp;gt; reverse dependencies known to be affected by that).
&lt;br&gt;&lt;br&gt;yes, a split of the library for 1.5 would be cool ... I would
&lt;br&gt;propose the following split:
&lt;br&gt;&lt;br&gt;&amp;nbsp; librrdclient - access to rrdcached functions - no deps
&lt;br&gt;&amp;nbsp; librrdcore - core rrdtool functions (create/update) - no deps
&lt;br&gt;&amp;nbsp; librrdcached - rrdcached &amp;nbsp;- glib
&lt;br&gt;&amp;nbsp; librrdgraph - graphing - cairo pango
&lt;br&gt;&lt;br&gt;&amp;nbsp; librrd - compat layer - librrdclient librrdcore librrdcached librrdgraph
&lt;br&gt;&lt;br&gt;configure could then automatically disable the bits of rrdtool
&lt;br&gt;which can not be built due to libraries missing
&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=26223817&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=26223817&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26223817.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26223649</id>
	<title>Re: rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-05T14:44:28Z</published>
	<updated>2009-11-05T14:44:28Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Ulf,
&lt;br&gt;&lt;br&gt;Today Ulf Zimmermann wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: Tobias Oetiker [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26223649&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Sent: Wednesday, November 04, 2009 8:53 PM
&lt;br&gt;&amp;gt; &amp;gt; To: Ulf Zimmermann
&lt;br&gt;&amp;gt; &amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26223649&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: [rrd-users] rrdtool 1.4.x without graphing support?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Ulf,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Anyone got an idea how much work would be involved to build/patch
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; rrdtool 1.4.x to remove graphing support? Library dependency for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; EL4 is just hell at this point. And as I need librrd, I am not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; sure how far I can work with a static build to work with collectd
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; together.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; you may want to try the appended patch.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; cheers
&lt;br&gt;&amp;gt; &amp;gt; tobi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Trying to look at the patch, I got another question. Configure.ac
&lt;br&gt;&amp;gt; is set to check for glib-2.0, by using glib_check_version, which
&lt;br&gt;&amp;gt; wasn't added until glib 2.6. EL4 unfortunatly only has glib
&lt;br&gt;&amp;gt; 2.4.7. Trying to determine what functions from glib 2.x are used.
&lt;br&gt;&amp;gt; Also the glib check is inside of the block of cairo and pango, is
&lt;br&gt;&amp;gt; glib used for graphing too?
&lt;/div&gt;&lt;br&gt;glib is a dependency of pango, it is not used directly by the
&lt;br&gt;graphing code ...
&lt;br&gt;&lt;br&gt;the cached uses it though ...
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ulf.
&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=26223649&amp;i=2&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=26223649&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26223649.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221916</id>
	<title>Re: rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-05T12:43:31Z</published>
	<updated>2009-11-05T12:43:31Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Tobias Oetiker [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221916&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, November 04, 2009 8:53 PM
&lt;br&gt;&amp;gt; To: Ulf Zimmermann
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221916&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [rrd-users] rrdtool 1.4.x without graphing support?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Ulf,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Anyone got an idea how much work would be involved to build/patch
&lt;br&gt;&amp;gt; &amp;gt; rrdtool 1.4.x to remove graphing support? Library dependency for
&lt;br&gt;&amp;gt; &amp;gt; EL4 is just hell at this point. And as I need librrd, I am not
&lt;br&gt;&amp;gt; &amp;gt; sure how far I can work with a static build to work with collectd
&lt;br&gt;&amp;gt; &amp;gt; together.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; you may want to try the appended patch.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; tobi
&lt;/div&gt;&lt;br&gt;Trying to look at the patch, I got another question. Configure.ac is set to check for glib-2.0, by using glib_check_version, which wasn't added until glib 2.6. EL4 unfortunatly only has glib 2.4.7. Trying to determine what functions from glib 2.x are used. Also the glib check is inside of the block of cairo and pango, is glib used for graphing too?
&lt;br&gt;&lt;br&gt;Ulf.
&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=26221916&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26221916.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221443</id>
	<title>Re: patch to do vertical gradients</title>
	<published>2009-11-05T12:10:35Z</published>
	<updated>2009-11-05T12:10:35Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Rian,
&lt;br&gt;&lt;br&gt;Today Rian Shelley wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; This time i remembered to attach the patch :D
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; thanks for this ... it looks cool ... quersion though, is there
&lt;br&gt;&amp;gt; &amp;gt; some information carying capability in this feature ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not really. For the most part, I wanted to add some control over how
&lt;br&gt;&amp;gt; the AREA's were drawn, especially when you have two of them on the
&lt;br&gt;&amp;gt; same graph that keep covering one another, it makes it easier for the
&lt;br&gt;&amp;gt; eye to pick out the two graphs, as opposed to simply using an alpha,
&lt;br&gt;&amp;gt; which gives a solid color that can be mis-interpreted as another
&lt;br&gt;&amp;gt; graph.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I also wanted the ability to make it so that peak values could be
&lt;br&gt;&amp;gt; highlighted in a different color if desired, as in a cpu graph going
&lt;br&gt;&amp;gt; from green through yellow to red.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I haven't thought about making it carry information, although it might
&lt;br&gt;&amp;gt; be neat to show temporal distribution of an average value (ie, turn
&lt;br&gt;&amp;gt; the dataset on its side, and make it represent color instead of
&lt;br&gt;&amp;gt; displacement). I don't really know how to get into that, since all
&lt;br&gt;&amp;gt; I've played with so far is the drawing code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; can you please also add a patch for the documentation ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hopefully the attached patch will suffice.
&lt;/div&gt;&lt;br&gt;great ... thanks very much
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; rian
&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=26221443&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-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221443&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---Dev-f794.html&quot; embed=&quot;fixTarget[794]&quot; target=&quot;_top&quot; &gt;RRDTool - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-to-do-vertical-gradients-tp26220087p26221443.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221020</id>
	<title>Re: patch to do vertical gradients</title>
	<published>2009-11-05T11:33:34Z</published>
	<updated>2009-11-05T11:33:34Z</updated>
	<author>
		<name>Rian Shelley</name>
	</author>
	<content type="html">This time i remembered to attach the patch :D
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; thanks for this ... it looks cool ... quersion though, is there
&lt;br&gt;&amp;gt; some information carying capability in this feature ?
&lt;br&gt;&lt;br&gt;Not really. For the most part, I wanted to add some control over how
&lt;br&gt;the AREA's were drawn, especially when you have two of them on the
&lt;br&gt;same graph that keep covering one another, it makes it easier for the
&lt;br&gt;eye to pick out the two graphs, as opposed to simply using an alpha,
&lt;br&gt;which gives a solid color that can be mis-interpreted as another
&lt;br&gt;graph.
&lt;br&gt;&lt;br&gt;I also wanted the ability to make it so that peak values could be
&lt;br&gt;highlighted in a different color if desired, as in a cpu graph going
&lt;br&gt;from green through yellow to red.
&lt;br&gt;&lt;br&gt;I haven't thought about making it carry information, although it might
&lt;br&gt;be neat to show temporal distribution of an average value (ie, turn
&lt;br&gt;the dataset on its side, and make it represent color instead of
&lt;br&gt;displacement). I don't really know how to get into that, since all
&lt;br&gt;I've played with so far is the drawing code.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; can you please also add a patch for the documentation ?
&lt;br&gt;&lt;br&gt;Hopefully the attached patch will suffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;rian
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[grad_doc.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -crB rrdtool-1.3.8/doc/rrdgraph_graph.pod ../rrdtool-1.3.8/doc/rrdgraph_graph.pod
&lt;br&gt;*** rrdtool-1.3.8/doc/rrdgraph_graph.pod	Sat Feb 21 02:43:58 2009
&lt;br&gt;--- ../rrdtool-1.3.8/doc/rrdgraph_graph.pod	Thu Nov &amp;nbsp;5 12:23:08 2009
&lt;br&gt;***************
&lt;br&gt;*** 262,267 ****
&lt;br&gt;--- 262,275 ----
&lt;br&gt;&amp;nbsp; See B&amp;lt;LINE&amp;gt;, however the area between the x-axis and the line will
&lt;br&gt;&amp;nbsp; be filled.
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;+ =head3 B&amp;lt;GRAD&amp;gt;B&amp;lt;:&amp;gt;I&amp;lt;value&amp;gt;[B&amp;lt;#&amp;gt;I&amp;lt;color1&amp;gt;[B&amp;lt;#&amp;gt;I&amp;lt;color2&amp;gt;B&amp;lt;:&amp;gt;I&amp;lt;height&amp;gt;][B&amp;lt;:&amp;gt;[I&amp;lt;legend&amp;gt;][B&amp;lt;:STACK&amp;gt;]]
&lt;br&gt;+ 
&lt;br&gt;+ Similar to B&amp;lt;AREA&amp;gt;, except the area between the line and the x-axis will contain a gradient from color1 to color2.
&lt;br&gt;+ 
&lt;br&gt;+ The I&amp;lt;height&amp;gt; parameter can create three different behaviors. If I&amp;lt;height&amp;gt; &amp;gt; 0, then the gradient is a fixed height, starting at the line going down. If I&amp;lt;height&amp;gt; &amp;lt; 0, then the gradient starts at fixed height above the x-axis, going down to the x-axis. If I&amp;lt;height&amp;gt; == 0, then the gradient goes from the line to x-axis. 
&lt;br&gt;+ 
&lt;br&gt;+ If not present, I&amp;lt;color2&amp;gt; defaults to #00000000 and I&amp;lt;height&amp;gt; defaults to 50.
&lt;br&gt;+ 
&lt;br&gt;&amp;nbsp; =head3 B&amp;lt;TICK&amp;gt;B&amp;lt;:&amp;gt;I&amp;lt;vname&amp;gt;B&amp;lt;#&amp;gt;I&amp;lt;rrggbb&amp;gt;[I&amp;lt;aa&amp;gt;][B&amp;lt;:&amp;gt;I&amp;lt;fraction&amp;gt;[B&amp;lt;:&amp;gt;I&amp;lt;legend&amp;gt;]]
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; Plot a tick mark (a vertical line) for each value of I&amp;lt;vname&amp;gt; that is
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;rrd-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221020&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---Dev-f794.html&quot; embed=&quot;fixTarget[794]&quot; target=&quot;_top&quot; &gt;RRDTool - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-to-do-vertical-gradients-tp26220087p26221020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221040</id>
	<title>Re: patch to do vertical gradients</title>
	<published>2009-11-05T11:32:20Z</published>
	<updated>2009-11-05T11:32:20Z</updated>
	<author>
		<name>Rian Shelley</name>
	</author>
	<content type="html">&amp;gt; thanks for this ... it looks cool ... quersion though, is there
&lt;br&gt;&amp;gt; some information carying capability in this feature ?
&lt;br&gt;&lt;br&gt;Not really. For the most part, I wanted to add some control over how
&lt;br&gt;the AREA's were drawn, especially when you have two of them on the
&lt;br&gt;same graph that keep covering one another, it makes it easier for the
&lt;br&gt;eye to pick out the two graphs, as opposed to simply using an alpha,
&lt;br&gt;which gives a solid color that can be mis-interpreted as another
&lt;br&gt;graph.
&lt;br&gt;&lt;br&gt;I also wanted the ability to make it so that peak values could be
&lt;br&gt;highlighted in a different color if desired, as in a cpu graph going
&lt;br&gt;from green through yellow to red.
&lt;br&gt;&lt;br&gt;I haven't thought about making it carry information, although it might
&lt;br&gt;be neat to show temporal distribution of an average value (ie, turn
&lt;br&gt;the dataset on its side, and make it represent color instead of
&lt;br&gt;displacement). I don't really know how to get into that, since all
&lt;br&gt;I've played with so far is the drawing code.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; can you please also add a patch for the documentation ?
&lt;br&gt;&lt;br&gt;Hopefully the attached patch will suffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;rian
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;rrd-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221040&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---Dev-f794.html&quot; embed=&quot;fixTarget[794]&quot; target=&quot;_top&quot; &gt;RRDTool - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-to-do-vertical-gradients-tp26220087p26221040.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220087</id>
	<title>patch to do vertical gradients</title>
	<published>2009-11-05T10:08:39Z</published>
	<updated>2009-11-05T10:08:39Z</updated>
	<author>
		<name>Rian Shelley</name>
	</author>
	<content type="html">Somebody on the irc channel suggested that I post this patch here. The
&lt;br&gt;patch is against rrdtool 1.3.8.
&lt;br&gt;&lt;br&gt;This adds the GRAD element, which acts more or less like an AREA,
&lt;br&gt;except you can specify a second color and a height which is used to
&lt;br&gt;create a gradient from one color to the next.
&lt;br&gt;&lt;br&gt;I also attached an example graph that uses this patch. The gradients
&lt;br&gt;in it are generated with these commands:
&lt;br&gt;&lt;br&gt;GRAD:ips#4444ff:half\\ firewall\\ states
&lt;br&gt;GRAD:Bin#00cc00#0099441f:0:incoming\\ bandwidth
&lt;br&gt;&lt;br&gt;The syntax is
&lt;br&gt;vname-or-value[#color[#color:gradientheight][:legend]][:STACK]
&lt;br&gt;&lt;br&gt;if the second color is missing, it is assumed to be #00000000 and the
&lt;br&gt;gradientheight defaults to 50
&lt;br&gt;&lt;br&gt;gradientheight can actually produce 3 kinds of results depending on its value:
&lt;br&gt;gradientheight &amp;gt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; generates a fixed-height gradient from the data point down. (fire style)
&lt;br&gt;gradientheight &amp;lt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; generates a fixed-height gradient from the 0 line to the data
&lt;br&gt;point. (fixed style)
&lt;br&gt;gradientheight == 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; generates a gradient that is stretched from the data point to the 0 line.
&lt;br&gt;&amp;nbsp; &amp;nbsp; this is what the example image is using.
&lt;br&gt;&lt;br&gt;I would appreciate any comments or suggestions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;rian
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[grad.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -crB rrdtool-1.3.8/src/rrd_gfx.c ../rrdtool-1.3.8/src/rrd_gfx.c
&lt;br&gt;*** rrdtool-1.3.8/src/rrd_gfx.c	Tue May 19 07:45:05 2009
&lt;br&gt;--- ../rrdtool-1.3.8/src/rrd_gfx.c	Thu Nov &amp;nbsp;5 10:17:01 2009
&lt;br&gt;***************
&lt;br&gt;*** 105,110 ****
&lt;br&gt;--- 106,147 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cairo_line_to(cr, x, y);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;+ /* add a point to a line or to an area */
&lt;br&gt;+ void gfx_add_rect_fadey(
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; image_desc_t *im,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; double x1,double y1,
&lt;br&gt;+ 	double x2,double y2,
&lt;br&gt;+ 	double py,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; gfx_color_t color1,
&lt;br&gt;+ 	gfx_color_t color2,
&lt;br&gt;+ 	double height)
&lt;br&gt;+ {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; cairo_t &amp;nbsp;*cr = im-&amp;gt;cr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; 
&lt;br&gt;+ 	cairo_new_path(cr);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; gfx_area_fit(im, &amp;x1, &amp;y1);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; gfx_area_fit(im, &amp;x2, &amp;y2);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; cairo_line_to(cr, x1, y1);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; cairo_line_to(cr, x1, y2);
&lt;br&gt;+ 	cairo_line_to(cr, x2, y2);
&lt;br&gt;+ 	cairo_line_to(cr, x2, y1);
&lt;br&gt;+ 	cairo_close_path(cr);
&lt;br&gt;+ 	cairo_pattern_t* p;
&lt;br&gt;+ 	if (height &amp;lt; 0) {
&lt;br&gt;+ 		p = cairo_pattern_create_linear(x1,y1,x2,y1+height);
&lt;br&gt;+ 	} else if (height &amp;gt; 0) {
&lt;br&gt;+ 		p = cairo_pattern_create_linear(x1,(y2+py)/2+height,x2,(y2+py)/2);
&lt;br&gt;+ 	} else {
&lt;br&gt;+ 		p = cairo_pattern_create_linear(x1,y1,x2,(y2+py)/2);
&lt;br&gt;+ 	}
&lt;br&gt;+ 	//cairo_pattern_t* p = cairo_pattern_create_linear(x1,py+50,x2,py);
&lt;br&gt;+ 	cairo_pattern_add_color_stop_rgba(p, 1, color1.red,color1.green,color1.blue,color1.alpha);
&lt;br&gt;+ 	cairo_pattern_add_color_stop_rgba(p, 0, color2.red,color2.green,color2.blue,color2.alpha);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; cairo_set_source(cr, p);
&lt;br&gt;+ 	cairo_pattern_destroy(p);
&lt;br&gt;+ 	cairo_fill(cr);
&lt;br&gt;+ }
&lt;br&gt;+ 
&lt;br&gt;&amp;nbsp; void gfx_close_path(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; image_desc_t *im)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;diff -crB rrdtool-1.3.8/src/rrd_graph.c ../rrdtool-1.3.8/src/rrd_graph.c
&lt;br&gt;*** rrdtool-1.3.8/src/rrd_graph.c	Tue May 19 07:45:05 2009
&lt;br&gt;--- ../rrdtool-1.3.8/src/rrd_graph.c	Thu Nov &amp;nbsp;5 10:19:45 2009
&lt;br&gt;***************
&lt;br&gt;*** 227,232 ****
&lt;br&gt;--- 227,233 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; conv_if(VRULE, GF_VRULE);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; conv_if(LINE, GF_LINE);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; conv_if(AREA, GF_AREA);
&lt;br&gt;+ 	conv_if(GRAD, GF_GRAD);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; conv_if(STACK, GF_STACK);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; conv_if(TICK, GF_TICK);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; conv_if(TEXTALIGN, GF_TEXTALIGN);
&lt;br&gt;***************
&lt;br&gt;*** 1176,1182 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* memory for the processed data */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (i = 0; i &amp;lt; im-&amp;gt;gdes_c; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((im-&amp;gt;gdes[i].gf == GF_LINE) ||
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (im-&amp;gt;gdes[i].gf == GF_AREA) || (im-&amp;gt;gdes[i].gf == GF_TICK)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((im-&amp;gt;gdes[i].p_data = (rrd_value_t*)(malloc((im-&amp;gt;xsize + 1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* sizeof(rrd_value_t)))) == NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;malloc data_proc&amp;quot;);
&lt;br&gt;--- 1177,1185 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* memory for the processed data */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (i = 0; i &amp;lt; im-&amp;gt;gdes_c; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((im-&amp;gt;gdes[i].gf == GF_LINE) ||
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (im-&amp;gt;gdes[i].gf == GF_AREA) || 
&lt;br&gt;! 			(im-&amp;gt;gdes[i].gf == GF_GRAD) ||
&lt;br&gt;! 			(im-&amp;gt;gdes[i].gf == GF_TICK)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((im-&amp;gt;gdes[i].p_data = (rrd_value_t*)(malloc((im-&amp;gt;xsize + 1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* sizeof(rrd_value_t)))) == NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;malloc data_proc&amp;quot;);
&lt;br&gt;***************
&lt;br&gt;*** 1197,1202 ****
&lt;br&gt;--- 1200,1206 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (im-&amp;gt;gdes[ii].gf) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_LINE:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_AREA:
&lt;br&gt;+ 			case GF_GRAD:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_TICK:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!im-&amp;gt;gdes[ii].stack)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paintval = 0.0;
&lt;br&gt;***************
&lt;br&gt;*** 1576,1581 ****
&lt;br&gt;--- 1580,1586 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_LINE:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_AREA:
&lt;br&gt;+ 		case GF_GRAD:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_TICK:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; graphelement = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;***************
&lt;br&gt;*** 3208,3213 ****
&lt;br&gt;--- 3213,3219 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_LINE:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_AREA:
&lt;br&gt;+ 		case GF_GRAD:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* fix data points at oo and -oo */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (ii = 0; ii &amp;lt; im-&amp;gt;xsize; ii++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (isinf(im-&amp;gt;gdes[i].p_data[ii])) {
&lt;br&gt;***************
&lt;br&gt;*** 3306,3311 ****
&lt;br&gt;--- 3312,3319 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cairo_stroke(im-&amp;gt;cr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cairo_restore(im-&amp;gt;cr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;+ 					double lastx=0;
&lt;br&gt;+ 					double lasty=0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI = -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double &amp;nbsp; *foreY =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (double *) malloc(sizeof(double) * im-&amp;gt;xsize * 2);
&lt;br&gt;***************
&lt;br&gt;*** 3336,3347 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[cntI + 1], 4)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cntI++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gfx_new_area(im,
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;backX[0], backY[0],
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreX[0], foreY[0],
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreX[cntI],
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreY[cntI], im-&amp;gt;gdes[i].col);
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (cntI &amp;lt; idxI) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastI = cntI;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cntI++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (cntI &amp;lt; idxI
&lt;br&gt;--- 3344,3360 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[cntI + 1], 4)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cntI++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! 							if (im-&amp;gt;gdes[i].gf != GF_GRAD) {
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	gfx_new_area(im,
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; backX[0], backY[0],
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreX[0], foreY[0],
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreX[cntI],
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreY[cntI], im-&amp;gt;gdes[i].col);
&lt;br&gt;! 							} else {
&lt;br&gt;! 								lastx = foreX[cntI];
&lt;br&gt;! 								lasty = foreY[cntI];
&lt;br&gt;! 							}
&lt;br&gt;! 							while (cntI &amp;lt; idxI) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastI = cntI;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cntI++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (cntI &amp;lt; idxI
&lt;br&gt;***************
&lt;br&gt;*** 3357,3365 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + 1], 4)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cntI++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gfx_add_point(im, foreX[cntI], foreY[cntI]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gfx_add_point(im, backX[idxI], backY[idxI]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (idxI &amp;gt; 1) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastI = idxI;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI--;
&lt;br&gt;--- 3370,3401 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + 1], 4)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cntI++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! 								if (im-&amp;gt;gdes[i].gf != GF_GRAD) {
&lt;br&gt;! 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gfx_add_point(im, foreX[cntI], foreY[cntI]);
&lt;br&gt;! 								} else {
&lt;br&gt;! 									gfx_add_rect_fadey(im, 
&lt;br&gt;! 										lastx, foreY[0],
&lt;br&gt;! 										foreX[cntI], foreY[cntI], lasty, 
&lt;br&gt;! 										im-&amp;gt;gdes[i].col,
&lt;br&gt;! 										im-&amp;gt;gdes[i].col2,
&lt;br&gt;! 										im-&amp;gt;gdes[i].gradheight
&lt;br&gt;! 										);
&lt;br&gt;! 									lastx = foreX[cntI];
&lt;br&gt;! 									lasty = foreY[cntI];
&lt;br&gt;! 								}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! 							if (im-&amp;gt;gdes[i].gf != GF_GRAD) {
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	gfx_add_point(im, backX[idxI], backY[idxI]);
&lt;br&gt;! 							} else {
&lt;br&gt;! 								gfx_add_rect_fadey(im,
&lt;br&gt;! 									lastx, foreY[0],
&lt;br&gt;! 									backX[idxI], backY[idxI], lasty,
&lt;br&gt;! 									im-&amp;gt;gdes[i].col,
&lt;br&gt;! 									im-&amp;gt;gdes[i].col2,
&lt;br&gt;! 									im-&amp;gt;gdes[i].gradheight);
&lt;br&gt;! 								lastx = backX[idxI];
&lt;br&gt;! 								lasty = backY[idxI];
&lt;br&gt;! 							}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (idxI &amp;gt; 1) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastI = idxI;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI--;
&lt;br&gt;***************
&lt;br&gt;*** 3376,3386 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - 1], 4)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI--;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gfx_add_point(im, backX[idxI], backY[idxI]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI = -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; drawem = 0;
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gfx_close_path(im);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (drawem != 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; drawem = 0;
&lt;br&gt;--- 3412,3434 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - 1], 4)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI--;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! 								if (im-&amp;gt;gdes[i].gf != GF_GRAD) {
&lt;br&gt;! 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gfx_add_point(im, backX[idxI], backY[idxI]);
&lt;br&gt;! 								} else {
&lt;br&gt;! 									gfx_add_rect_fadey(im,
&lt;br&gt;! 										lastx, foreY[0],
&lt;br&gt;! 										backX[idxI], backY[idxI], lasty,
&lt;br&gt;! 										im-&amp;gt;gdes[i].col,
&lt;br&gt;! 										im-&amp;gt;gdes[i].col2,
&lt;br&gt;! 										im-&amp;gt;gdes[i].gradheight);
&lt;br&gt;! 									lastx = backX[idxI];
&lt;br&gt;! 									lasty = backY[idxI];
&lt;br&gt;! 								}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idxI = -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; drawem = 0;
&lt;br&gt;! 							if (im-&amp;gt;gdes[i].gf != GF_GRAD) 
&lt;br&gt;! 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gfx_close_path(im);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (drawem != 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; drawem = 0;
&lt;br&gt;***************
&lt;br&gt;*** 3574,3579 ****
&lt;br&gt;--- 3622,3632 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col.green = 0.0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col.blue = 0.0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col.alpha = 0.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col2.red = 0.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col2.green = 0.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col2.blue = 0.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].col2.alpha = 0.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].gradheight = 50.0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].legend[0] = '\0';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].format[0] = '\0';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; im-&amp;gt;gdes[im-&amp;gt;gdes_c - 1].strftm = 0;
&lt;br&gt;diff -crB rrdtool-1.3.8/src/rrd_graph.h ../rrdtool-1.3.8/src/rrd_graph.h
&lt;br&gt;*** rrdtool-1.3.8/src/rrd_graph.h	Fri Dec 26 01:05:03 2008
&lt;br&gt;--- ../rrdtool-1.3.8/src/rrd_graph.h	Thu Nov &amp;nbsp;5 10:36:52 2009
&lt;br&gt;***************
&lt;br&gt;*** 51,57 ****
&lt;br&gt;&amp;nbsp; #define GRIDWIDTH &amp;nbsp;0.4
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; enum gf_en { GF_PRINT = 0, GF_GPRINT, GF_COMMENT, GF_HRULE, GF_VRULE, GF_LINE,
&lt;br&gt;! &amp;nbsp; &amp;nbsp; GF_AREA, GF_STACK, GF_TICK, GF_TEXTALIGN,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; GF_DEF, GF_CDEF, GF_VDEF, GF_SHIFT,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; GF_XPORT
&lt;br&gt;&amp;nbsp; };
&lt;br&gt;--- 51,57 ----
&lt;br&gt;&amp;nbsp; #define GRIDWIDTH &amp;nbsp;0.4
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; enum gf_en { GF_PRINT = 0, GF_GPRINT, GF_COMMENT, GF_HRULE, GF_VRULE, GF_LINE,
&lt;br&gt;! &amp;nbsp; &amp;nbsp; GF_AREA,GF_GRAD, GF_STACK, GF_TICK, GF_TEXTALIGN,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; GF_DEF, GF_CDEF, GF_VDEF, GF_SHIFT,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; GF_XPORT
&lt;br&gt;&amp;nbsp; };
&lt;br&gt;***************
&lt;br&gt;*** 156,162 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; long &amp;nbsp; &amp;nbsp; &amp;nbsp;ds; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* data source number */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; enum cf_en cf; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* consolidation function */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; enum cf_en cf_reduce; &amp;nbsp; /* consolidation function for reduce_data() */
&lt;br&gt;! &amp;nbsp; &amp;nbsp; struct gfx_color_t col; /* graph color */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; char &amp;nbsp; &amp;nbsp; &amp;nbsp;format[FMT_LEG_LEN + 5]; &amp;nbsp;/* format for PRINT AND GPRINT */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; char &amp;nbsp; &amp;nbsp; &amp;nbsp;legend[FMT_LEG_LEN + 5]; &amp;nbsp;/* legend */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; strftm; &amp;nbsp; /* should the VDEF legend be formated with strftime */
&lt;br&gt;--- 156,163 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; long &amp;nbsp; &amp;nbsp; &amp;nbsp;ds; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* data source number */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; enum cf_en cf; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* consolidation function */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; enum cf_en cf_reduce; &amp;nbsp; /* consolidation function for reduce_data() */
&lt;br&gt;! &amp;nbsp; &amp;nbsp; struct gfx_color_t col, col2; /* graph color */
&lt;br&gt;! 	double &amp;nbsp; &amp;nbsp;gradheight;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; char &amp;nbsp; &amp;nbsp; &amp;nbsp;format[FMT_LEG_LEN + 5]; &amp;nbsp;/* format for PRINT AND GPRINT */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; char &amp;nbsp; &amp;nbsp; &amp;nbsp;legend[FMT_LEG_LEN + 5]; &amp;nbsp;/* legend */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; strftm; &amp;nbsp; /* should the VDEF legend be formated with strftime */
&lt;br&gt;***************
&lt;br&gt;*** 424,429 ****
&lt;br&gt;--- 425,449 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; double x,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; double y);
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;+ /* create a rect that has a gradient from color1 to color2 in height pixels 
&lt;br&gt;+ &amp;nbsp;* height &amp;gt; 0:
&lt;br&gt;+ &amp;nbsp;* 		gradient starts at top and goes down a fixed number of pixels (fire style)
&lt;br&gt;+ &amp;nbsp;* height &amp;lt; 0:
&lt;br&gt;+ &amp;nbsp;* 		gradient starts at bottom and goes up a fixed number of pixels (constant style)
&lt;br&gt;+ &amp;nbsp;* height == 0:
&lt;br&gt;+ &amp;nbsp;* 		gradient is stretched between two points
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+ void gfx_add_rect_fadey(
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; image_desc_t *im,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; double x1,double y1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; double x2,double y2,
&lt;br&gt;+ 	double py,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; gfx_color_t color1,
&lt;br&gt;+ 	gfx_color_t color2,
&lt;br&gt;+ 	double height);
&lt;br&gt;+ 				
&lt;br&gt;+ 
&lt;br&gt;+ 
&lt;br&gt;&amp;nbsp; /* close current path so it ends at the same point as it started */
&lt;br&gt;&amp;nbsp; void &amp;nbsp; &amp;nbsp; &amp;nbsp;gfx_close_path(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; image_desc_t *im);
&lt;br&gt;diff -crB rrdtool-1.3.8/src/rrd_graph_helper.c ../rrdtool-1.3.8/src/rrd_graph_helper.c
&lt;br&gt;*** rrdtool-1.3.8/src/rrd_graph_helper.c	Tue May 19 07:45:05 2009
&lt;br&gt;--- ../rrdtool-1.3.8/src/rrd_graph_helper.c	Thu Nov &amp;nbsp;5 10:38:27 2009
&lt;br&gt;***************
&lt;br&gt;*** 532,538 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; graph_desc_t *const gdp,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; image_desc_t *const im)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;! &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; i, j, k;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; colorfound = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; char &amp;nbsp; &amp;nbsp; &amp;nbsp;tmpstr[MAX_VNAME_LEN + 10]; &amp;nbsp; /* vname#RRGGBBAA\0 */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; static int spacecnt = 0;
&lt;br&gt;--- 532,538 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; graph_desc_t *const gdp,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; image_desc_t *const im)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;! &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; i, j, k, j2;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int &amp;nbsp; &amp;nbsp; &amp;nbsp; colorfound = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; char &amp;nbsp; &amp;nbsp; &amp;nbsp;tmpstr[MAX_VNAME_LEN + 10]; &amp;nbsp; /* vname#RRGGBBAA\0 */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; static int spacecnt = 0;
&lt;br&gt;***************
&lt;br&gt;*** 567,576 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;Cannot parse line '%s'&amp;quot;, line);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! 
&lt;br&gt;! &amp;nbsp; &amp;nbsp; j = i;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while (j &amp;gt; 0 &amp;&amp; tmpstr[j] != '#')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; j--;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (j) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tmpstr[j] = '\0';
&lt;br&gt;--- 567,588 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;Cannot parse line '%s'&amp;quot;, line);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;! &amp;nbsp; &amp;nbsp; 
&lt;br&gt;! 	j = i;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while (j &amp;gt; 0 &amp;&amp; tmpstr[j] != '#')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; j--;
&lt;br&gt;+ 	//see if there is a second color
&lt;br&gt;+ 	j2 = j-1;
&lt;br&gt;+ 	while (j2 &amp;gt; 0 &amp;&amp; tmpstr[j2] != '#')
&lt;br&gt;+ 		j2--;
&lt;br&gt;+ 	if (j &amp;&amp; j2) { &amp;nbsp; //yes, swap j and j2, so that j is first color, j2 is second
&lt;br&gt;+ 		int tmp = j;
&lt;br&gt;+ 		j = j2;
&lt;br&gt;+ 		j2 = tmp;
&lt;br&gt;+ 		tmpstr[j2] = '\0';
&lt;br&gt;+ 	} else {
&lt;br&gt;+ 		j2 = 0;
&lt;br&gt;+ 	}
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (j) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tmpstr[j] = '\0';
&lt;br&gt;***************
&lt;br&gt;*** 578,585 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* We now have:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* tmpstr[0] &amp;nbsp; &amp;nbsp;containing vname
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* tmpstr[j] &amp;nbsp; &amp;nbsp;if j!=0 then containing color
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp;* i &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;size of vname + color
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* j &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if j!=0 then size of vname
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* Number or vname ?
&lt;br&gt;--- 590,599 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* We now have:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* tmpstr[0] &amp;nbsp; &amp;nbsp;containing vname
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* tmpstr[j] &amp;nbsp; &amp;nbsp;if j!=0 then containing color
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp;* tmpstr[j2] &amp;nbsp; if j2!=0 then containing second color
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp;* i &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;size of vname 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* j &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if j!=0 then size of vname
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;* j2			if j2!=0 then size of vname + first color
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* Number or vname ?
&lt;br&gt;***************
&lt;br&gt;*** 644,649 ****
&lt;br&gt;--- 658,690 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dprintf(&amp;quot;- parsed color %0.0f,%0.0f,%0.0f,%0.0f\n&amp;quot;, gdp-&amp;gt;col.red,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gdp-&amp;gt;col.green, gdp-&amp;gt;col.blue, gdp-&amp;gt;col.alpha);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; colorfound = 1;
&lt;br&gt;+ 		if (j2) { //second color?
&lt;br&gt;+ 			j2++;
&lt;br&gt;+ 			dprintf(&amp;quot;- examining second color '%s'\n&amp;quot;, &amp;tmpstr[j2]);
&lt;br&gt;+ 			//TODO: maybe rrd_parse_color should take a pointer to gdp-&amp;gt;col instead of gdp
&lt;br&gt;+ 			struct gfx_color_t firstcol = gdp-&amp;gt;col;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	if (rrd_parse_color(&amp;tmpstr[j2], gdp)) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	rrd_set_error(&amp;quot;Could not parse color in '%s'&amp;quot;, &amp;tmpstr[j2]);
&lt;br&gt;+ 	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return 1;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	dprintf(&amp;quot;- parsed color %0.0f,%0.0f,%0.0f,%0.0f\n&amp;quot;, gdp-&amp;gt;col.red,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;gdp-&amp;gt;col.green, gdp-&amp;gt;col.blue, gdp-&amp;gt;col.alpha);
&lt;br&gt;+ 			gdp-&amp;gt;col2 = gdp-&amp;gt;col;
&lt;br&gt;+ 			gdp-&amp;gt;col = firstcol;
&lt;br&gt;+ 			//we now have a mandatory grid height
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; 		(*eaten) += i;
&lt;br&gt;+ 			if (line[*eaten] != '\0') {
&lt;br&gt;+ 				(*eaten)++;
&lt;br&gt;+ 			}
&lt;br&gt;+ 			dprintf(&amp;quot;- examining gradient height\n&amp;quot;);
&lt;br&gt;+ 			i = scan_for_col(&amp;line[*eaten], MAX_VNAME_LEN + 9, tmpstr);
&lt;br&gt;+ 			sscanf(tmpstr, &amp;quot;%lf%n&amp;quot;, &amp;gdp-&amp;gt;gradheight, &amp;j);
&lt;br&gt;+ 			if (i != j) {
&lt;br&gt;+ 				rrd_set_error(&amp;quot;Could not parse gradient height in '%s'&amp;quot;, tmpstr);
&lt;br&gt;+ 				return 1;
&lt;br&gt;+ 			}
&lt;br&gt;+ 			dprintf(&amp;quot;- parsed gradientheight %0.0f\n&amp;quot;, gdp-&amp;gt;gradheight);
&lt;br&gt;+ 		}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dprintf(&amp;quot;- no color present in '%s'\n&amp;quot;, tmpstr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;***************
&lt;br&gt;*** 1113,1118 ****
&lt;br&gt;--- 1154,1160 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_HRULE: /* value#color[:legend] */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_LINE: &amp;nbsp;/* vname-or-value[#color[:legend]][:STACK] */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_AREA: &amp;nbsp;/* vname-or-value[#color[:legend]][:STACK] */
&lt;br&gt;+ 		case GF_GRAD: &amp;nbsp;/* vname-or-value[#color[:legend][#color[:gradientheight]]][:STACK] */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_TICK: &amp;nbsp;/* vname#color[:num[:legend]] */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (rrd_parse_PVHLAST(argv[i], &amp;eaten, gdp, im))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;***************
&lt;br&gt;*** 1122,1128 ****
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_STACK: /* vname-or-value[#color[:legend]] */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (rrd_parse_PVHLAST(argv[i], &amp;eaten, gdp, im))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (last_gf == GF_LINE || last_gf == GF_AREA) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gdp-&amp;gt;gf = last_gf;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gdp-&amp;gt;linewidth = last_linewidth;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;--- 1164,1170 ----
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case GF_STACK: /* vname-or-value[#color[:legend]] */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (rrd_parse_PVHLAST(argv[i], &amp;eaten, gdp, im))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (last_gf == GF_LINE || last_gf == GF_AREA || last_gf == GF_GRAD) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gdp-&amp;gt;gf = last_gf;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gdp-&amp;gt;linewidth = last_linewidth;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;rrd-developers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-developers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;samplegradientgraph.png&lt;/strong&gt; (98K) &lt;a href=&quot;http://old.nabble.com/attachment/26220087/0/samplegradientgraph.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---Dev-f794.html&quot; embed=&quot;fixTarget[794]&quot; target=&quot;_top&quot; &gt;RRDTool - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-to-do-vertical-gradients-tp26220087p26220087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26218923</id>
	<title>Re: rrdresize on munin-created rrd files</title>
	<published>2009-11-05T09:28:04Z</published>
	<updated>2009-11-05T09:28:04Z</updated>
	<author>
		<name>Reinhard Scheck</name>
	</author>
	<content type="html">You may want to have a look at 
&lt;br&gt;&lt;a href=&quot;http://docs.cacti.net/manual:087:8_rrdtool#rrdtool&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.cacti.net/manual:087:8_rrdtool#rrdtool&lt;/a&gt;&amp;nbsp;in general and for the 
&lt;br&gt;resizing task at 
&lt;br&gt;&lt;a href=&quot;http://docs.cacti.net/manual:087:8_rrdtool.04_resize#resize_rrd_files&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.cacti.net/manual:087:8_rrdtool.04_resize#resize_rrd_files&lt;/a&gt;&lt;br&gt;&lt;br&gt;As you may have deduced from the url, this was done for the cacti world but 
&lt;br&gt;should apply to other rrdtool based projects as well.
&lt;br&gt;Reinhard
&lt;br&gt;&lt;br&gt;Am 05.11.2009 13:38, Jacob Alexandersson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your reply! &amp;nbsp;I'll look at writing up a script that will
&lt;br&gt;&amp;gt; convert all my munin-created files accordingly.
&lt;br&gt;&amp;gt; :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jacob.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Nov 5, 2009 at 1:30 PM, Tobias Oetiker&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218923&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;&amp;gt; &amp;nbsp;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Today Tobias Oetiker wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I would structure the RRD as follows:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; RRA 90 Days at 1 step AVERAGE
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; RRA 90 Days at 6 step AVERAGE
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; RRA 90 Days at 6 step MAX
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; RRA 90 Days at 6 step MIN
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; the reason for keeping the lower resolution arround is that it will
&lt;br&gt;&amp;gt;&amp;gt; accelerate graphing since rrd graph does not have to consolidate
&lt;br&gt;&amp;gt;&amp;gt; every time you draw a low resolution graph ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; obviously you may want additional RRAs at even lower resolutions
&lt;br&gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; cheers
&lt;br&gt;&amp;gt;&amp;gt; tobi
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; using MIN and MAX at 1 step makes little sense
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cheers
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; tobi
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; What I am looking for is to store &amp;quot;fully accurate&amp;quot; data for a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; much longer time than the (munin) default of 48 hours.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; //J
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ---------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
&lt;br&gt;&amp;gt;&amp;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=26218923&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&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=26218923&amp;i=2&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;/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=26218923&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdresize-on-munin-created-rrd-files-tp26211192p26218923.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213775</id>
	<title>Re: rrdresize on munin-created rrd files</title>
	<published>2009-11-05T04:38:56Z</published>
	<updated>2009-11-05T04:38:56Z</updated>
	<author>
		<name>Jacob Alexandersson</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;Thank you for your reply!  I&amp;#39;ll look at writing up a script that will convert all my munin-created files accordingly.&lt;br&gt;:-)&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;br&gt;Jacob.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 5, 2009 at 1:30 PM, Tobias Oetiker &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26213775&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;Today Tobias Oetiker wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I would structure the RRD as follows:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; RRA 90 Days at 1 step AVERAGE&lt;br&gt;
&amp;gt; RRA 90 Days at 6 step AVERAGE&lt;br&gt;
&amp;gt; RRA 90 Days at 6 step MAX&lt;br&gt;
&amp;gt; RRA 90 Days at 6 step MIN&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;the reason for keeping the lower resolution arround is that it will&lt;br&gt;
accelerate graphing since rrd graph does not have to consolidate&lt;br&gt;
every time you draw a low resolution graph ...&lt;br&gt;
&lt;br&gt;
obviously you may want additional RRAs at even lower resolutions&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
cheers&lt;br&gt;
tobi&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; using MIN and MAX at 1 step makes little sense&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; cheers&lt;br&gt;
&amp;gt; tobi&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; What I am looking for is to store &amp;quot;fully accurate&amp;quot; data for a&lt;br&gt;
&amp;gt; &amp;gt; much longer time than the (munin) default of 48 hours.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; //J&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; ---------------&lt;br&gt;
&amp;gt; &amp;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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://it.oetiker.ch&lt;/a&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26213775&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;________________________________________&lt;br&gt;Jacob Alexandersson, Aligerum AB&lt;br&gt;Strandbergsgatan 61&lt;br&gt;SE-112 51 Stockholm&lt;br&gt;Phone: +468-555 36 266&lt;br&gt;Mobile: +4676-146 33 10&lt;br&gt;

&lt;a href=&quot;http://aligerum.se&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;aligerum.se&lt;/a&gt; | &lt;a href=&quot;http://aligerum.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;aligerum.com&lt;/a&gt; | &lt;a href=&quot;http://aligerum.it&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;aligerum.it&lt;/a&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=26213775&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdresize-on-munin-created-rrd-files-tp26211192p26213775.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213684</id>
	<title>Re: rrdresize on munin-created rrd files</title>
	<published>2009-11-05T04:30:46Z</published>
	<updated>2009-11-05T04:30:46Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Today Tobias Oetiker wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would structure the RRD as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; RRA 90 Days at 1 step AVERAGE
&lt;br&gt;&amp;gt; RRA 90 Days at 6 step AVERAGE
&lt;br&gt;&amp;gt; RRA 90 Days at 6 step MAX
&lt;br&gt;&amp;gt; RRA 90 Days at 6 step MIN
&lt;br&gt;&lt;br&gt;the reason for keeping the lower resolution arround is that it will
&lt;br&gt;accelerate graphing since rrd graph does not have to consolidate
&lt;br&gt;every time you draw a low resolution graph ...
&lt;br&gt;&lt;br&gt;obviously you may want additional RRAs at even lower resolutions
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; using MIN and MAX at 1 step makes little sense
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; tobi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What I am looking for is to store &amp;quot;fully accurate&amp;quot; data for a
&lt;br&gt;&amp;gt; &amp;gt; much longer time than the (munin) default of 48 hours.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; //J
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ---------------
&lt;br&gt;&amp;gt; &amp;gt;
&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=26213684&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=26213684&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdresize-on-munin-created-rrd-files-tp26211192p26213684.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213662</id>
	<title>Re: rrdresize on munin-created rrd files</title>
	<published>2009-11-05T04:29:24Z</published>
	<updated>2009-11-05T04:29:24Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Jacob,
&lt;br&gt;&lt;br&gt;Today Jacob Alexandersson wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I posted the message below on the munin userlist a couple of days back but I
&lt;br&gt;&amp;gt; haven't gotten any response. Hopefully someone can help out here?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; //Jacob.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been digging around a bit on how munin creates its rrd
&lt;br&gt;&amp;gt; files. I don't claim to understand much on the inner workings on
&lt;br&gt;&amp;gt; rrd, but this is what I've managed to dig up:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;From my understanding, &amp;quot;rrdtool info &amp;lt;filename&amp;gt;&amp;quot; tells me that the first
&lt;br&gt;&amp;gt; three rra's save one pdp per row, meaning that they don't average
&lt;br&gt;&amp;gt; out anything. We have 576 rows, where the &amp;quot;step&amp;quot; is 300 seconds
&lt;br&gt;&amp;gt; which works out to be 48 hours.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So we have 48 hours of fully accurate data stored (nothing averaged out).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want &amp;quot;fully accurate&amp;quot; data to be stored much longer. Say 90 days.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 90 days = 7776000 seconds. /300 gives me 25920 rows. So I need to
&lt;br&gt;&amp;gt; add 25344 rows to each rra. This can be achieved by:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ rrdtool resize filename.rrd 0 GROW 25344
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...where &amp;quot;0&amp;quot; points out the first rra.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I could do this for the first three rra's, but what about the
&lt;br&gt;&amp;gt; other ones? There is a set of rra's that store data for 9 days
&lt;br&gt;&amp;gt; over 30min averages if my calculations are correct. This clearly
&lt;br&gt;&amp;gt; falls within the span of my 90 days above. Will these rra's ever
&lt;br&gt;&amp;gt; be used? Or should I modify these accordingly to something
&lt;br&gt;&amp;gt; appropriate after my change above?
&lt;/div&gt;&lt;br&gt;when rrd fetch (via rrd graph) pulls data from an rrd file it will
&lt;br&gt;pull the data that BEST matches the resolution required to draw the
&lt;br&gt;graph. This means given a weekly graph it would probably pull the
&lt;br&gt;data from that 9 day RRA ... OTOH if you drew a graph over two
&lt;br&gt;weeks it might fall back to your new 90 days RRA since this
&lt;br&gt;provides better coverage.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I guess what I'm really asking is:
&lt;br&gt;&amp;gt; Is this the right way of going about this?
&lt;br&gt;&lt;br&gt;I would structure the RRD as follows:
&lt;br&gt;&lt;br&gt;RRA 90 Days at 1 step AVERAGE
&lt;br&gt;RRA 90 Days at 6 step AVERAGE
&lt;br&gt;RRA 90 Days at 6 step MAX
&lt;br&gt;RRA 90 Days at 6 step MIN
&lt;br&gt;&lt;br&gt;using MIN and MAX at 1 step makes little sense
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I am looking for is to store &amp;quot;fully accurate&amp;quot; data for a
&lt;br&gt;&amp;gt; much longer time than the (munin) default of 48 hours.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; //J
&lt;br&gt;&amp;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=26213662&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=26213662&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdresize-on-munin-created-rrd-files-tp26211192p26213662.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211192</id>
	<title>rrdresize on munin-created rrd files</title>
	<published>2009-11-05T00:57:02Z</published>
	<updated>2009-11-05T00:57:02Z</updated>
	<author>
		<name>Jacob Alexandersson</name>
	</author>
	<content type="html">Hello all,&lt;br&gt;&lt;br&gt;I posted the message below on the munin userlist a couple of days back but I haven&amp;#39;t gotten any response. Hopefully someone can help out here?&lt;br&gt;&lt;br&gt;//Jacob.&lt;br&gt;&lt;br&gt;--------------&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
Hello all,&lt;br&gt;&lt;br&gt;I&amp;#39;ve been digging around a bit on how munin creates its rrd files. I don&amp;#39;t claim to&lt;br&gt;understand much on the inner workings on rrd, but this is what I&amp;#39;ve managed to dig up:&lt;br&gt;&lt;br&gt;From my understanding, &amp;quot;rrdtool info &amp;lt;filename&amp;gt;&amp;quot; tells me that the first three rra&amp;#39;s&lt;br&gt;

save one pdp per row, meaning that they don&amp;#39;t average out anything. We have 576 rows,&lt;br&gt;where the &amp;quot;step&amp;quot; is 300 seconds which works out to be 48 hours.&lt;br&gt;&lt;br&gt;So we have 48 hours of fully accurate data stored (nothing averaged out).&lt;br&gt;

&lt;br&gt;I want &amp;quot;fully accurate&amp;quot; data to be stored much longer. Say 90 days.&lt;br&gt;&lt;br&gt;90 days = 7776000 seconds. /300 gives me 25920 rows. So I need to add 25344 rows to each rra.&lt;br&gt;This can be achieved by:&lt;br&gt;&lt;br&gt;$ rrdtool resize filename.rrd 0 GROW 25344&lt;br&gt;

&lt;br&gt;...where &amp;quot;0&amp;quot; points out the first rra.&lt;br&gt;&lt;br&gt;I could do this for the first three rra&amp;#39;s, but what about the other ones?&lt;br&gt;There is a set of rra&amp;#39;s that store data for 9 days over 30min averages if my calculations are&lt;br&gt;

correct. This clearly falls within the span of my 90 days above. Will these rra&amp;#39;s ever be used?&lt;br&gt;Or should I modify these accordingly to something appropriate after my change above?&lt;br&gt;&lt;br&gt;I guess what I&amp;#39;m really asking is:&lt;br&gt;

Is this the right way of going about this?&lt;br&gt;&lt;br&gt;What I am looking for is to store &amp;quot;fully accurate&amp;quot; data for a much longer time than the (munin)&lt;br&gt;default of 48 hours.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;//J&lt;br&gt;
&lt;/font&gt;&lt;/div&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=26211192&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdresize-on-munin-created-rrd-files-tp26211192p26211192.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26210552</id>
	<title>Re: rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-04T23:58:33Z</published>
	<updated>2009-11-04T23:58:33Z</updated>
	<author>
		<name>Sebastian Harl</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Thu, Nov 05, 2009 at 05:53:20AM +0100, Tobias Oetiker wrote:
&lt;br&gt;&amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; &amp;gt; Anyone got an idea how much work would be involved to build/patch
&lt;br&gt;&amp;gt; &amp;gt; rrdtool 1.4.x to remove graphing support? Library dependency for
&lt;br&gt;&amp;gt; &amp;gt; EL4 is just hell at this point. And as I need librrd, I am not
&lt;br&gt;&amp;gt; &amp;gt; sure how far I can work with a static build to work with collectd
&lt;br&gt;&amp;gt; &amp;gt; together.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; you may want to try the appended patch.
&lt;br&gt;&lt;br&gt;&amp;gt; +if BUILD_RRDGRAPH
&lt;br&gt;&amp;gt; +RRD_C_FILES += rrd_graph.c	\
&lt;br&gt;&amp;gt; +	rrd_graph_helper.c	\
&lt;br&gt;&amp;gt; +	rrd_xport.c	\
&lt;br&gt;&amp;gt; +	rrd_gfx.c \
&lt;br&gt;&amp;gt; +	pngsize.c
&lt;br&gt;&amp;gt; +endif
&lt;br&gt;[…]
&lt;br&gt;&lt;br&gt;NB: RRD_C_FILES is later used to specify the source files for librrd.
&lt;br&gt;&lt;br&gt;In case this patch is supposed to be included in RRDtool, please note
&lt;br&gt;that it provides an easy way to build RRDtool with a different API /
&lt;br&gt;ABI. Hence, it requires a different SONAME version (or even better: a
&lt;br&gt;different SONAME -- which would be easier to implement as well).
&lt;br&gt;&lt;br&gt;Anyway, rather than including this (imho) somewhat hackish way, I'd
&lt;br&gt;rather go for splitting the library as discussed before (librrd /
&lt;br&gt;librrdgraph). I'm willing to provide a patch for that targeted at
&lt;br&gt;RRDtool 1.5 (it will probably require a SONAME version bump, thus, it
&lt;br&gt;should imho not be included in 1.4 -- I'd also provide patches for
&lt;br&gt;reverse dependencies known to be affected by that).
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sebastian
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Sebastian &amp;quot;tokkee&amp;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; -- Benjamin Franklin
&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=26210552&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;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26210552/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26210552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26210038</id>
	<title>Re: Invalid UTF-8 string#</title>
	<published>2009-11-04T22:56:53Z</published>
	<updated>2009-11-04T22:56:53Z</updated>
	<author>
		<name>Stefan M. Brandl</name>
	</author>
	<content type="html">On Wed, Nov 04, 2009 at 05:21:08AM +0100, Tobias Oetiker wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Stefan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yesterday Stefan M. Brandl wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;gt; just upgrade from rrdtool 1.3.8 to 1.3.9
&lt;br&gt;&amp;gt; &amp;gt; and I get
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; (process:30282): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; when I do a rrdtool graph ...
&lt;br&gt;&amp;gt; &amp;gt; And have a ° (degree) sign in the GPRINT line.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this is the kind of error you would get if you were running wit a
&lt;br&gt;&amp;gt; locale setting suggesting utf8 encoding and then inputing data
&lt;br&gt;&amp;gt; encoded with latin1 for example.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Ups, you are right.
&lt;br&gt;Setting the &amp;quot;correct&amp;quot; locale did the job.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&amp;nbsp;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=26210038&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-string-tp26178695p26210038.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26209267</id>
	<title>Re: rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-04T20:53:20Z</published>
	<updated>2009-11-04T20:53:20Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Ulf,
&lt;br&gt;&lt;br&gt;Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Anyone got an idea how much work would be involved to build/patch
&lt;br&gt;&amp;gt; rrdtool 1.4.x to remove graphing support? Library dependency for
&lt;br&gt;&amp;gt; EL4 is just hell at this point. And as I need librrd, I am not
&lt;br&gt;&amp;gt; sure how far I can work with a static build to work with collectd
&lt;br&gt;&amp;gt; together.
&lt;br&gt;&lt;br&gt;you may want to try the appended patch.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ulf.
&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=26209267&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;Index: src/rrd_tool.c
&lt;br&gt;===================================================================
&lt;br&gt;--- src/rrd_tool.c	(revision 1966)
&lt;br&gt;+++ src/rrd_tool.c	(working copy)
&lt;br&gt;@@ -693,6 +693,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free(data);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (strcmp(&amp;quot;xport&amp;quot;, argv[1]) == 0) {
&lt;br&gt;+#ifdef HAVE_RRD_GRAPH
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int &amp;nbsp; &amp;nbsp; &amp;nbsp; xxsize;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;unsigned long int j = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;time_t &amp;nbsp; &amp;nbsp;start, end, ti;
&lt;br&gt;@@ -766,7 +767,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot;&amp;lt;/%s&amp;gt;\n&amp;quot;, ROOT_TAG);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free(vtag);
&lt;br&gt;+#else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;the instance of rrdtool has been compiled without graphcs&amp;quot;);
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (strcmp(&amp;quot;graph&amp;quot;, argv[1]) == 0) {
&lt;br&gt;+#ifdef HAVE_RRD_GRAPH
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char &amp;nbsp; &amp;nbsp;**calcpr;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#ifdef notused /*XXX*/
&lt;br&gt;@@ -799,8 +804,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free(calcpr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-
&lt;br&gt;+#else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;the instance of rrdtool has been compiled without graphcs&amp;quot;);
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (strcmp(&amp;quot;graphv&amp;quot;, argv[1]) == 0) {
&lt;br&gt;+#ifdef HAVE_RRD_GRAPH
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rrd_info_t *grinfo = NULL; &amp;nbsp;/* 1 to distinguish it from the NULL that rrd_graph sends in */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grinfo = rrd_graph_v(argc - 1, &amp;argv[1]);
&lt;br&gt;@@ -808,7 +816,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rrd_info_print(grinfo);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rrd_info_free(grinfo);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-
&lt;br&gt;+#else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; rrd_set_error(&amp;quot;the instance of rrdtool has been compiled without graphcs&amp;quot;);
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (strcmp(&amp;quot;tune&amp;quot;, argv[1]) == 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rrd_tune(argc - 1, &amp;argv[1]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else if (strcmp(&amp;quot;flushcached&amp;quot;, argv[1]) == 0)
&lt;br&gt;Index: src/Makefile.am
&lt;br&gt;===================================================================
&lt;br&gt;--- src/Makefile.am	(revision 1966)
&lt;br&gt;+++ src/Makefile.am	(working copy)
&lt;br&gt;@@ -29,27 +29,30 @@
&lt;br&gt;&amp;nbsp;	rrd_nan_inf.c	\
&lt;br&gt;&amp;nbsp;	rrd_rpncalc.c	\
&lt;br&gt;&amp;nbsp;	rrd_utils.c	\
&lt;br&gt;-	rrd_update.c
&lt;br&gt;+	rrd_update.c &amp;nbsp; &amp;nbsp;\
&lt;br&gt;+	hash_32.c	
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;RRD_C_FILES =		\
&lt;br&gt;-	hash_32.c	\
&lt;br&gt;-	pngsize.c	\
&lt;br&gt;&amp;nbsp;	rrd_create.c	\
&lt;br&gt;-	rrd_graph.c	\
&lt;br&gt;-	rrd_graph_helper.c	\
&lt;br&gt;&amp;nbsp;	rrd_version.c	\
&lt;br&gt;&amp;nbsp;	rrd_last.c	\
&lt;br&gt;&amp;nbsp;	rrd_lastupdate.c	\
&lt;br&gt;&amp;nbsp;	rrd_first.c	\
&lt;br&gt;&amp;nbsp;	rrd_restore.c	\
&lt;br&gt;-	rrd_xport.c	\
&lt;br&gt;-	rrd_gfx.c \
&lt;br&gt;&amp;nbsp;	rrd_dump.c	\
&lt;br&gt;&amp;nbsp;	rrd_flushcached.c \
&lt;br&gt;&amp;nbsp;	rrd_fetch.c	\
&lt;br&gt;&amp;nbsp;	rrd_resize.c \
&lt;br&gt;&amp;nbsp;	rrd_tune.c
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+if BUILD_RRDGRAPH
&lt;br&gt;+RRD_C_FILES += rrd_graph.c	\
&lt;br&gt;+	rrd_graph_helper.c	\
&lt;br&gt;+	rrd_xport.c	\
&lt;br&gt;+	rrd_gfx.c \
&lt;br&gt;+	pngsize.c
&lt;br&gt;+endif
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;noinst_HEADERS = \
&lt;br&gt;&amp;nbsp;	unused.h \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gettext.h \
&lt;br&gt;Index: configure.ac
&lt;br&gt;===================================================================
&lt;br&gt;--- configure.ac	(revision 1966)
&lt;br&gt;+++ configure.ac	(working copy)
&lt;br&gt;@@ -102,6 +102,13 @@
&lt;br&gt;&amp;nbsp;AC_ARG_ENABLE(rrdcgi,AS_HELP_STRING([--disable-rrdcgi],[disable building of rrdcgi]),
&lt;br&gt;&amp;nbsp;[],[enable_rrdcgi=yes])
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+AC_ARG_ENABLE(rrd_graph,AS_HELP_STRING([--disable-rrd_graph],[disable all rrd_graph functions]),
&lt;br&gt;+[enable_rrdcgi=no],[enable_rrd_graph=yes])
&lt;br&gt;+
&lt;br&gt;+if test $enable_rrd_graph != no; then
&lt;br&gt;+ AC_DEFINE([HAVE_RRD_GRAPH], [], [is rrd_graph supported by this install])
&lt;br&gt;+fi
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;dnl Check if we run on a system that has fonts
&lt;br&gt;&amp;nbsp;AC_ARG_WITH(rrd-default-font,
&lt;br&gt;&amp;nbsp;[ &amp;nbsp;--with-rrd-default-font=[OPTIONS] &amp;nbsp;set the full path to your default font.],
&lt;br&gt;@@ -510,19 +517,21 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;AM_CONDITIONAL(BUILD_RRDCGI,[test $enable_rrdcgi != no])
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+AM_CONDITIONAL(BUILD_RRDGRAPH,[test $enable_rrd_graph != no])
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;CORE_LIBS=&amp;quot;$LIBS&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-dnl EX_CHECK_ALL(z, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;zlibVersion, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zlib.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zlib, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.2.3, &amp;nbsp;&lt;a href=&quot;http://www.gzip.org/zlib/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gzip.org/zlib/&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;-dnl EX_CHECK_ALL(png, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;png_access_version_number, png.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libpng, &amp;nbsp; &amp;nbsp; &amp;nbsp;1.2.10, &amp;nbsp;&lt;a href=&quot;http://prdownloads.sourceforge.net/libpng/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://prdownloads.sourceforge.net/libpng/&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;-dnl EX_CHECK_ALL(freetype, &amp;nbsp; FT_Init_FreeType, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ft2build.h,		freetype2, &amp;nbsp; 2.1.10, &amp;nbsp;&lt;a href=&quot;http://prdownloads.sourceforge.net/freetype/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://prdownloads.sourceforge.net/freetype/&lt;/a&gt;, /usr/include/freetype2)
&lt;br&gt;-dnl EX_CHECK_ALL(fontconfig, FcInit, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fontconfig.h,		fontconfig, &amp;nbsp;2.3.1, &amp;nbsp;&lt;a href=&quot;http://fontconfig.org/release/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fontconfig.org/release/&lt;/a&gt;, /usr/include)
&lt;br&gt;+if test $enable_rrd_graph != no; then
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(cairo, &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_font_options_create, &amp;nbsp; &amp;nbsp; cairo.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo-png, &amp;nbsp; 1.4.6, &amp;nbsp;&lt;a href=&quot;http://cairographics.org/releases/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cairographics.org/releases/&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(cairo, &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_svg_surface_create, &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo-svg.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo-svg, &amp;nbsp; 1.4.6, &amp;nbsp;&lt;a href=&quot;http://cairographics.org/releases/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cairographics.org/releases/&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(cairo, &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_pdf_surface_create, &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo-pdf.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo-pdf, &amp;nbsp; 1.4.6, &amp;nbsp;&lt;a href=&quot;http://cairographics.org/releases/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cairographics.org/releases/&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(cairo, &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_ps_surface_create, &amp;nbsp; &amp;nbsp; &amp;nbsp; cairo-ps.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cairo-ps, &amp;nbsp; &amp;nbsp;1.4.6, &amp;nbsp;&lt;a href=&quot;http://cairographics.org/releases/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cairographics.org/releases/&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;+fi
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(glib-2.0, &amp;nbsp; glib_check_version, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;glib.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; glib-2.0, &amp;nbsp; &amp;nbsp;2.12.12, ftp://ftp.gtk.org/pub/glib/2.12/, &amp;quot;&amp;quot;)
&lt;br&gt;+if test $enable_rrd_graph != no; then
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(pango-1.0, &amp;nbsp;pango_cairo_context_set_font_options, &amp;nbsp;pango/pango.h, &amp;nbsp;pangocairo, &amp;nbsp;1.17, &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/pango/1.17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnome.org/pub/GNOME/sources/pango/1.17&lt;/a&gt;, &amp;quot;&amp;quot;)
&lt;br&gt;+fi
&lt;br&gt;&amp;nbsp;EX_CHECK_ALL(xml2, &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlParseFile, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libxml/parser.h, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libxml-2.0, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.6.31, &amp;nbsp;&lt;a href=&quot;http://xmlsoft.org/downloads.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/downloads.html&lt;/a&gt;, /usr/include/libxml2)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;if test &amp;quot;$EX_CHECK_ALL_ERR&amp;quot; = &amp;quot;YES&amp;quot;; then
&lt;br&gt;@@ -932,6 +941,7 @@
&lt;br&gt;&amp;nbsp;echo
&lt;br&gt;&amp;nbsp;echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;With MMAP IO: $enable_mmap&amp;quot;
&lt;br&gt;&amp;nbsp;echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;Build rrd_getopt: $build_getopt&amp;quot;
&lt;br&gt;+echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; Build rrd_graph: $enable_rrd_graph&amp;quot;
&lt;br&gt;&amp;nbsp;echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; Static programs: $staticprogs&amp;quot;
&lt;br&gt;&amp;nbsp;echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Perl Modules: $COMP_PERL&amp;quot;
&lt;br&gt;&amp;nbsp;echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Perl Binary: $PERL&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=26209267&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26209267.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207938</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-04T17:50:39Z</published>
	<updated>2009-11-04T17:50:39Z</updated>
	<author>
		<name>William R. Lorenz</name>
	</author>
	<content type="html">Hi Ulf,
&lt;br&gt;&lt;br&gt;I'm going to trim some of the reply and top-post, for brevity ...
&lt;br&gt;&lt;br&gt;Are you able to get the rrdtool 1.4.1 fully working from source compile?
&lt;br&gt;&lt;br&gt;If so, is there any helpful info you could share RE the packages and/or 
&lt;br&gt;independent sources you had to install due to pre-existing EL4 versions?
&lt;br&gt;&lt;br&gt;Does it even work from a source compile on a stock EL4 + evolution28 box?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;William R. Lorenz
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, 4 Nov 2009, Ulf Zimmermann wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Using them I continued on trying to build rrdtool. Next stopper was 
&lt;br&gt;&amp;gt; rrd_restore.c wanting to use xmlTextReaderGetParserLineNumber when 
&lt;br&gt;&amp;gt; printing out errors about importing. This function was defined in 
&lt;br&gt;&amp;gt; libxml2 2.6.17, EL4 only has 2.6.16. Got around it by just doing
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;[...]
&lt;br&gt;&lt;br&gt;&amp;gt; Continuing on the next hurdle was dejavu-lgc-fonts, which is available 
&lt;br&gt;&amp;gt; on EL5, is noarch but requires fontconfig &amp;gt;= 2.3, I rebuild it for now 
&lt;br&gt;&amp;gt; setting fontconfig requirement to just &amp;gt;= 2.2.
&lt;br&gt;&lt;br&gt;&amp;gt; Now the rpm refuses still to install because of it is looking for 
&lt;br&gt;&amp;gt; libpangocairo-1.0.so.0, which is in /usr/evolution28/lib, but the 
&lt;br&gt;&amp;gt; evolution28 rpms don't add any ld.conf file to point there, so I am 
&lt;br&gt;&amp;gt; still trying to figure out how to teach rpmbuild/rpm to look there for 
&lt;br&gt;&amp;gt; the libs for installing and running. As compiled it does:
&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=26207938&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26207938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207871</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-04T17:39:23Z</published>
	<updated>2009-11-04T17:39:23Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: William R. Lorenz [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26207871&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wrl@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, November 04, 2009 4:50 PM
&lt;br&gt;&amp;gt; To: Ulf Zimmermann
&lt;br&gt;&amp;gt; Cc: 'Tobias Oetiker'; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26207871&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Ulf,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, 4 Nov 2009, Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Ok, I got a working configure now on EL4, I will see to modify the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; .spec file in a few minutes to see if I can build a rpm from it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Now running into actual compile problems with libxml2. Rrdtool 1.4.1
&lt;br&gt;&amp;gt; &amp;gt; code wants xmlTextReaderGetParserLineNumber, which was added to
&lt;br&gt;&amp;gt; libxml2
&lt;br&gt;&amp;gt; &amp;gt; 2.6.17 and EL4 only has 2.6.16, sigh.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Welcome to my RPM building world. &amp;nbsp;That's why I didn't make EL4 RPMs.
&lt;br&gt;&amp;gt; ;-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; evolution28-cairo-1.2.4-6.el4.i386.rpm
&lt;br&gt;&amp;gt; &amp;gt; evolution28-cairo-devel-1.2.4-6.el4.i386.rpm
&lt;br&gt;&amp;gt; &amp;gt; evolution28-glib2-2.12.3-6.el4.i386.rpm
&lt;br&gt;&amp;gt; &amp;gt; evolution28-glib2-devel-2.12.3-6.el4.i386.rpm
&lt;br&gt;&amp;gt; &amp;gt; evolution28-pango-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&amp;gt; &amp;gt; evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Where did you find these evolution28 packages? &amp;nbsp;I may try to take a
&lt;br&gt;&amp;gt; peek
&lt;br&gt;&amp;gt; and see if I can't make something work with these and some other
&lt;br&gt;&amp;gt; packages.
&lt;br&gt;&amp;gt; Is there a particular site with the SRPMS for these so I can
&lt;br&gt;&amp;gt; deconstruct?
&lt;/div&gt;&lt;br&gt;They are part of RH EL4 Updates, also available via CentOS. They provided an Evolution 2.8 package, which needs these updated libraries.
&lt;br&gt;&lt;br&gt;Using them I continued on trying to build rrdtool. Next stopper was rrd_restore.c wanting to use xmlTextReaderGetParserLineNumber when printing out errors about importing. This function was defined in libxml2 2.6.17, EL4 only has 2.6.16. Got around it by just doing
&lt;br&gt;&lt;br&gt;#define xmlTextReaderGetParserLineNumber(xmlTextReaderPtr) 0
&lt;br&gt;&lt;br&gt;Which just means any error will show line 0, instead of the real line when there is an import.
&lt;br&gt;&lt;br&gt;Continuing on the next hurdle was dejavu-lgc-fonts, which is available on EL5, is noarch but requires fontconfig &amp;gt;= 2.3, I rebuild it for now setting fontconfig requirement to just &amp;gt;= 2.2.
&lt;br&gt;&lt;br&gt;Now the rpm refuses still to install because of it is looking for libpangocairo-1.0.so.0, which is in /usr/evolution28/lib, but the evolution28 rpms don't add any ld.conf file to point there, so I am still trying to figure out how to teach rpmbuild/rpm to look there for the libs for installing and running. As compiled it does:
&lt;br&gt;&lt;br&gt;el4build ulf rpmbuild/SPECS &amp;gt; ldd /usr/bin/rrdtool 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; librrd.so.4 =&amp;gt; /usr/lib/librrd.so.4 (0x00c7a000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libxml2.so.2 =&amp;gt; /usr/lib/libxml2.so.2 (0x008f2000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpthread.so.0 =&amp;gt; /lib/tls/libpthread.so.0 (0x004b4000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libm.so.6 =&amp;gt; /lib/tls/libm.so.6 (0x00295000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpangocairo-1.0.so.0 =&amp;gt; not found
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpango-1.0.so.0 =&amp;gt; /usr/lib/libpango-1.0.so.0 (0x0013e000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libcairo.so.2 =&amp;gt; /usr/lib/libcairo.so.2 (0x00821000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libgobject-2.0.so.0 =&amp;gt; /usr/lib/libgobject-2.0.so.0 (0x0089d000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libgmodule-2.0.so.0 =&amp;gt; /usr/lib/libgmodule-2.0.so.0 (0x00886000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x00111000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libglib-2.0.so.0 =&amp;gt; /usr/lib/libglib-2.0.so.0 (0x00174000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libfreetype.so.6 =&amp;gt; /usr/lib/libfreetype.so.6 (0x00a3d000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libz.so.1 =&amp;gt; /usr/lib/libz.so.1 (0x0088b000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libfontconfig.so.1 =&amp;gt; /usr/lib/libfontconfig.so.1 (0x00d6e000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpng12.so.0 =&amp;gt; /usr/lib/libpng12.so.0 (0x00676000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libXrender.so.1 =&amp;gt; /usr/X11R6/lib/libXrender.so.1 (0x00adc000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libX11.so.6 =&amp;gt; /usr/X11R6/lib/libX11.so.6 (0x004c8000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libXext.so.6 =&amp;gt; /usr/X11R6/lib/libXext.so.6 (0x005a9000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libc.so.6 =&amp;gt; /lib/tls/libc.so.6 (0x002b8000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /lib/ld-linux.so.2 (0x00127000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libpangocairo-1.0.so.0 =&amp;gt; not found
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libdirectfb-1.2.so.0 =&amp;gt; /usr/lib/libdirectfb-1.2.so.0 (0x00f6d000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libfusion-1.2.so.0 =&amp;gt; /usr/lib/libfusion-1.2.so.0 (0x00498000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libdirect-1.2.so.0 =&amp;gt; /usr/lib/libdirect-1.2.so.0 (0x001ef000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libSM.so.6 =&amp;gt; /usr/X11R6/lib/libSM.so.6 (0x006c3000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libICE.so.6 =&amp;gt; /usr/X11R6/lib/libICE.so.6 (0x00202000)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libexpat.so.0 =&amp;gt; /usr/lib/libexpat.so.0 (0x0021a000)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; William R. Lorenz
&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=26207871&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26207871.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207428</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-04T16:50:29Z</published>
	<updated>2009-11-04T16:50:29Z</updated>
	<author>
		<name>William R. Lorenz</name>
	</author>
	<content type="html">Hi Ulf,
&lt;br&gt;&lt;br&gt;On Wed, 4 Nov 2009, Ulf Zimmermann wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Ok, I got a working configure now on EL4, I will see to modify the 
&lt;br&gt;&amp;gt;&amp;gt; .spec file in a few minutes to see if I can build a rpm from it.
&lt;br&gt;&lt;br&gt;&amp;gt; Now running into actual compile problems with libxml2. Rrdtool 1.4.1 
&lt;br&gt;&amp;gt; code wants xmlTextReaderGetParserLineNumber, which was added to libxml2 
&lt;br&gt;&amp;gt; 2.6.17 and EL4 only has 2.6.16, sigh.
&lt;br&gt;&lt;br&gt;Welcome to my RPM building world. &amp;nbsp;That's why I didn't make EL4 RPMs. ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; evolution28-cairo-1.2.4-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-cairo-devel-1.2.4-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-glib2-2.12.3-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-glib2-devel-2.12.3-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-pango-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&amp;gt; evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&lt;br&gt;Where did you find these evolution28 packages? &amp;nbsp;I may try to take a peek 
&lt;br&gt;and see if I can't make something work with these and some other packages. 
&lt;br&gt;Is there a particular site with the SRPMS for these so I can deconstruct?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;William R. Lorenz
&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=26207428&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26207428.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206499</id>
	<title>rrdtool 1.4.x without graphing support?</title>
	<published>2009-11-04T15:22:42Z</published>
	<updated>2009-11-04T15:22:42Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;Anyone got an idea how much work would be involved to
build/patch rrdtool 1.4.x to remove graphing support? Library dependency for
EL4 is just hell at this point. And as I need librrd, I am not sure how far I
can work with a static build to work with collectd together.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Ulf.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&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=26206499&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rrdtool-1.4.x-without-graphing-support--tp26206499p26206499.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26205653</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-04T14:19:13Z</published>
	<updated>2009-11-04T14:19:13Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Ulf Zimmermann
&lt;br&gt;&amp;gt; Sent: Tuesday, November 03, 2009 11:25 AM
&lt;br&gt;&amp;gt; To: Ulf Zimmermann; 'Tobias Oetiker'
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26205653&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ok, I got a working configure now on EL4, I will see to modify the
&lt;br&gt;&amp;gt; .spec file in a few minutes to see if I can build a rpm from it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is what I have done:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Install from RHEL 4 Updates:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; evolution28-cairo-1.2.4-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-cairo-devel-1.2.4-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-glib2-2.12.3-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-glib2-devel-2.12.3-6.el4.i386.rpm
&lt;br&gt;&amp;gt; evolution28-pango-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&amp;gt; evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Set LDFLAGS:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; setenv LDFLAGS -L/usr/evolution28/lib
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Set PKG_CONFIG_PATH:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; setenv PKG_CONFIG_PATH
&lt;br&gt;&amp;gt; /usr/evolution28/lib/pkgconfig:/usr/lib/pkgconfig
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Run configure:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ./configure
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This results in an ok run as far I can tell.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ulf.
&lt;/div&gt;&lt;br&gt;Now running into actual compile problems with libxml2. Rrdtool 1.4.1 code wants xmlTextReaderGetParserLineNumber, which was added to libxml2 2.6.17 and EL4 only has 2.6.16, sigh.
&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=26205653&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26205653.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26204421</id>
	<title>Re: RRD Newbee needs help with RRD Perl script</title>
	<published>2009-11-04T12:51:55Z</published>
	<updated>2009-11-04T12:51:55Z</updated>
	<author>
		<name>Joe Loiacono</name>
	</author>
	<content type="html">
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Here are some instructions I use for
fixing the RRDs location problem (which I think is what you're experiencing).
&gt;From FlowViewer FAQ:&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;a href=http://ensight.eos.nasa.gov/FlowViewer/faq.html#16 target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;http://ensight.eos.nasa.gov/FlowViewer/faq.html#16&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;If the FlowTracker Group
page appears but there is no sample graph at the top, or you&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;receive an &amp;quot;Internal
Server Error&amp;quot; (most likely Perl compilation problem, it could be that&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;you haven't correctly installed
RRDs.pm. A quick way to check for this is to issue a&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;'perl -c FlowTracker_Group.cgi'
from a command line. If there is a RRDs.pm location problem&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;the script will not compile.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;This problem can be tricky
and I will try to make it easier in the next version. In the meantime&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;the easiest way to fix
this is:&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1. Do a 'perl -V'
from a command line, and look at the @INC array&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@INC:&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/usr/lib/perl5/5.8.5/i386-linux-thread-multi&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/usr/lib/perl5/5.8.5&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(
... more )&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Identify the
most likely directory into which to put a copy of RRDs.pm&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;probably:
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3. Copy RRDs.pm
into that directory&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from:
/usr/local/rrdtool-1.2.26/lib/perl/5.8.5/i386-linux-thread-multi/RRDs.pm&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to:
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/RRDs.pm&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 4. Copy the RRDs
and RRDp 'auto' subdirectories and their contents into the Perl 'auto'
subdirectory&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from:
/usr/local/rrdtool-1.2.26/lib/perl/5.8.5/i386-linux-thread-multi/auto/RRDp&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to:
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/RRDp&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from:
/usr/local/rrdtool-1.2.26/lib/perl/5.8.5/i386-linux-thread-multi/auto/RRDs&lt;/font&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to:
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/RRDs&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&amp;nbsp; &amp;nbsp;Note: the above can be
accomplished using links instead of copying.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&lt;br&gt;
Joe&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;table width=100%&gt;
&lt;tr valign=top&gt;
&lt;td&gt;&lt;font size=1 color=#5f5f5f face=&quot;sans-serif&quot;&gt;From:&lt;/font&gt;
&lt;td&gt;&lt;font size=1 face=&quot;sans-serif&quot;&gt;Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;&lt;/font&gt;
&lt;tr valign=top&gt;
&lt;td&gt;&lt;font size=1 color=#5f5f5f face=&quot;sans-serif&quot;&gt;To:&lt;/font&gt;
&lt;td&gt;&lt;font size=1 face=&quot;sans-serif&quot;&gt;Koaps &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koaps@...&lt;/a&gt;&amp;gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&lt;/font&gt;
&lt;tr valign=top&gt;
&lt;td&gt;&lt;font size=1 color=#5f5f5f face=&quot;sans-serif&quot;&gt;Date:&lt;/font&gt;
&lt;td&gt;&lt;font size=1 face=&quot;sans-serif&quot;&gt;11/04/2009 01:52 PM&lt;/font&gt;
&lt;tr valign=top&gt;
&lt;td&gt;&lt;font size=1 color=#5f5f5f face=&quot;sans-serif&quot;&gt;Subject:&lt;/font&gt;
&lt;td&gt;&lt;font size=1 face=&quot;sans-serif&quot;&gt;Re: [rrd-users] RRD Newbee needs help
with RRD Perl script&lt;/font&gt;&lt;/table&gt;
&lt;br&gt;
&lt;hr noshade&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=3 face=&quot;Roman&quot;&gt;Chris, Thank you for the feedback. I tried
rewriting something with RRDs but no success, something must be missing
from the installation (I think!).&lt;/font&gt;
&lt;br&gt;&lt;font size=3 face=&quot;Roman&quot;&gt;&amp;nbsp;&lt;/font&gt;
&lt;p&gt;&lt;font size=2 face=&quot;Roman&quot;&gt;Can't locate loadable object for module RRDs
in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.&lt;/font&gt;
&lt;p&gt;&lt;font size=2 face=&quot;Roman&quot;&gt;.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/ve&lt;/font&gt;
&lt;p&gt;&lt;font size=2 face=&quot;Roman&quot;&gt;dor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl .) at ./temp-one.cgi line 27&lt;/font&gt;
&lt;p&gt;&lt;font size=2 face=&quot;Roman&quot;&gt;Compilation failed in require at ./temp-one.cgi
line 27.&lt;/font&gt;
&lt;p&gt;&lt;font size=3 face=&quot;Roman&quot;&gt;&amp;nbsp;&lt;/font&gt;
&lt;p&gt;&lt;font size=3 face=&quot;Roman&quot;&gt;Mark&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;hr&gt;&lt;font size=2 face=&quot;Tahoma&quot;&gt;&lt;b&gt;From:&lt;/b&gt; Koaps &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koaps@...&lt;/a&gt;&amp;gt;&lt;b&gt;&lt;br&gt;
To:&lt;/b&gt; Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;&lt;b&gt;&lt;br&gt;
Sent:&lt;/b&gt; Tue, November 3, 2009 8:42:04 PM&lt;b&gt;&lt;br&gt;
Subject:&lt;/b&gt; Re: [rrd-users] RRD Newbee needs help with RRD Perl script&lt;/font&gt;&lt;font size=2 face=&quot;Arial&quot;&gt;&lt;br&gt;
&lt;br&gt;
I have no idea about RRDp but I have used RRDs with no issues in perl scripts.&lt;br&gt;
&lt;br&gt;
The graph subroutine I used looked like this:&lt;br&gt;
&lt;br&gt;
# &amp;nbsp; &amp;nbsp;print &amp;quot;Creating graph\n&amp;quot;;&lt;br&gt;
 &amp;nbsp; &amp;nbsp;RRDs::graph (&amp;quot;$png_path/$k.png&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--title=$TITLE
$k&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--vertical-label=$VLABEL&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$BACK&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$SHADEA&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$SHADEB&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$FONT&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$CANVAS&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$GRID&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$MGRID&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$FRAME&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--color=$ARROW&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;--base=$BASE&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:avg=$rrd_path/$k.rrd:$ds:AVERAGE&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:pred=$rrd_path/$k.rrd:$ds:HWPREDICT&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:dev=$rrd_path/$k.rrd:$ds:DEVPREDICT&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;DEF:fail=$rrd_path/$k.rrd:$ds:FAILURES&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;COMMENT: &amp;nbsp; &amp;nbsp;\\n&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;CDEF:mbs=avg,1048576,/&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;LINE2:$AVG_LINE:Average MB/s&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;GPRINT:mbs:AVERAGE:\\: %5.2lf&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;GPRINT:mbs:LAST: &amp;nbsp; &amp;nbsp;Last\\:
%5.2lf\\n&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;TICK:$TICK:1.0:Failures&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;CDEF:upper=pred,dev,2,*,+&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;CDEF:lower=pred,dev,2,*,-&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;LINE1:$UPPER_LINE:Upper Bound&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;LINE1:$LOWER_LINE:Lower Bound&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;\\n&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;COMMENT:$date&amp;quot;,&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$err=RRDs::error;&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($err) {print &amp;quot;problem generating the
graph: $err\n&amp;quot;;}&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
with variables defined like this:&lt;br&gt;
NOTE: $k for me was pulled from a reference I generated, you should be
able to set it to your RRD without any issues.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
#--------------#&lt;br&gt;
# RRDTool vars #&lt;br&gt;
#--------------#&lt;br&gt;
my $png_path = &amp;quot;/var/www/html/&amp;quot;;&lt;br&gt;
my $TITLE = &amp;nbsp;&amp;quot;IO Test:&amp;quot;;&lt;br&gt;
my $VLABEL = &amp;quot;Bytes per second (B/s)&amp;quot;;&lt;br&gt;
my $BACK = &amp;quot;BACK#000000&amp;quot;;&lt;br&gt;
my $SHADEA = &amp;quot;SHADEA#FFFFFF&amp;quot;;&lt;br&gt;
my $SHADEB = &amp;quot;SHADEB#FFFFFF&amp;quot;;&lt;br&gt;
my $FONT = &amp;quot;FONT#DDDDDD&amp;quot;;&lt;br&gt;
my $CANVAS = &amp;quot;CANVAS#202020&amp;quot;;&lt;br&gt;
my $GRID = &amp;quot;GRID#666666&amp;quot;;&lt;br&gt;
my $MGRID = &amp;quot;MGRID#AAAAAA&amp;quot;;&lt;br&gt;
my $FRAME = &amp;quot;FRAME#202020&amp;quot;;&lt;br&gt;
my $ARROW = &amp;quot;ARROW#FFFFFF&amp;quot;;&lt;br&gt;
my $BASE = 1024;&lt;br&gt;
my $AVG_LINE = &amp;quot;AVG#0000FF&amp;quot;;&lt;br&gt;
my $TICK = &amp;quot;FAIL#FFFFA0&amp;quot;;&lt;br&gt;
my $UPPER_LINE = &amp;quot;UPPER#ff0000&amp;quot;;&lt;br&gt;
my $LOWER_LINE = &amp;quot;LOWER#ff0000&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-Chris&lt;br&gt;
&lt;br&gt;
--- On Tue, 11/3/09, Mark Woodruff &amp;lt;&lt;/font&gt;&lt;a href=mailto:n3hf@yahoo.com target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 color=blue face=&quot;Arial&quot;&gt;&lt;u&gt;n3hf@...&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;Arial&quot;&gt;&amp;gt;
wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: Mark Woodruff &amp;lt;&lt;/font&gt;&lt;a href=mailto:n3hf@yahoo.com target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=2 color=blue face=&quot;Arial&quot;&gt;&lt;u&gt;n3hf@...&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;Arial&quot;&gt;&amp;gt;&lt;br&gt;
&amp;gt; Subject: [rrd-users] RRD Newbee needs help with RRD Perl script&lt;br&gt;
&amp;gt; To: &lt;/font&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&lt;font size=2 face=&quot;Arial&quot;&gt;&lt;br&gt;
&amp;gt; Date: Tuesday, November 3, 2009, 5:03 PM&lt;br&gt;
&amp;gt; Recently installed Version 1.3.8&lt;br&gt;
&amp;gt; and have been trying to make a Perl script wrritten by Brian&lt;br&gt;
&amp;gt; Lane (Digitemp) from what I have been able to determine the&lt;br&gt;
&amp;gt; scripts hangs up on the line containing:&lt;br&gt;
&amp;gt; &amp;nbsp;&lt;br&gt;
&amp;gt; &amp;nbsp;$answer=RRDp::read;&lt;br&gt;
&amp;gt; &amp;nbsp;&lt;br&gt;
&amp;gt; # Output a HTML header for the PNG&lt;br&gt;
&amp;gt; image to follow&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; print $cgi-&amp;gt;header('image/png');&lt;br&gt;
&amp;gt; # Generate the graph&lt;br&gt;
&amp;gt; RRDp::cmd &amp;quot;graphv - --imgformat PNG&amp;quot;,&lt;br&gt;
&amp;gt; &amp;quot;--start '$starttime' --end&lt;br&gt;
&amp;gt; '$endtime'&amp;quot;,&lt;br&gt;
&amp;gt; &amp;quot;--width $width --height $height&amp;quot;,&lt;br&gt;
&amp;gt; &amp;quot;DEF:temp_c=$rrd:$var:AVERAGE&amp;quot;,&lt;br&gt;
&amp;gt; &amp;quot;CDEF:temp_f=temp_c,9,*,5,/,32,+&amp;quot;,&lt;br&gt;
&amp;gt; &amp;quot;LINE1:temp_f$color:'$label'&amp;quot;;&lt;br&gt;
&amp;gt; $answer=RRDp::read;&lt;br&gt;
&amp;gt; print $$answer;&lt;br&gt;
&amp;gt; RRDp::end;&lt;br&gt;
&amp;gt; &amp;nbsp;&lt;br&gt;
&amp;gt; After reading rrd tutiorial I wrote a&lt;br&gt;
&amp;gt; shorten bash script which works fine which tells me my&lt;br&gt;
&amp;gt; RRD datafile is fine. Is there a bug and/or do I have&lt;br&gt;
&amp;gt; installation issue?? &lt;br&gt;
&amp;gt; &amp;nbsp;&lt;br&gt;
&amp;gt; Mark&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br&gt;
&amp;gt; -----Inline Attachment Follows-----&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;/font&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26204421&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&lt;font size=2 face=&quot;Arial&quot;&gt;&lt;br&gt;
&amp;gt; &lt;/font&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=_blank rel=&quot;nofollow&quot;&gt;&lt;font size=2 color=blue face=&quot;Arial&quot;&gt;&lt;u&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size=2 face=&quot;Arial&quot;&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&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=26204421&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;&lt;a href=&quot;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;tt&gt;&lt;font size=2&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/font&gt;&lt;/tt&gt;&lt;/a&gt;&lt;tt&gt;&lt;font size=2&gt;&lt;br&gt;
&lt;/font&gt;&lt;/tt&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=26204421&amp;i=8&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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRD-Newbee-needs-help-with-RRD-Perl-script-tp26189521p26204421.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26203850</id>
	<title>Re: RRD Newbee needs help with RRD Perl script</title>
	<published>2009-11-04T12:13:39Z</published>
	<updated>2009-11-04T12:13:39Z</updated>
	<author>
		<name>Koaps</name>
	</author>
	<content type="html">Hi Mark,
&lt;br&gt;&lt;br&gt;You're missing the module, did you build rrdtool from source or use a RPM/YUM?
&lt;br&gt;&lt;br&gt;To check you can do:
&lt;br&gt;&lt;br&gt;updatedb
&lt;br&gt;locate RRDs
&lt;br&gt;&lt;br&gt;If the perl module is installed you should get something like:
&lt;br&gt;&lt;br&gt;/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/RRDs.pm
&lt;br&gt;&lt;br&gt;If you find the module but it's not in a perl ISA path you will need to add a line like this to tell perl where the module is:
&lt;br&gt;&lt;br&gt;use lib qw( /path/to/RRDs );
&lt;br&gt;&lt;br&gt;&lt;br&gt;I tend to build rrdtool from source per the rrdbuild:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you are on centos, you can yum install perl-rrdtool and that should get you want you need.
&lt;br&gt;&lt;br&gt;-Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- On Wed, 11/4/09, Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [rrd-users] RRD Newbee needs help with RRD Perl script
&lt;br&gt;&amp;gt; To: &amp;quot;Koaps&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koaps@...&lt;/a&gt;&amp;gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Date: Wednesday, November 4, 2009, 10:52 AM
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Chris, Thank you for the feedback. I tried rewriting
&lt;br&gt;&amp;gt; something with RRDs but no success, something must be
&lt;br&gt;&amp;gt; missing from the installation (I think!).
&lt;br&gt;&amp;gt;  
&lt;br&gt;&amp;gt; Can't locate loadable object for module RRDs in @INC
&lt;br&gt;&amp;gt; (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi
&lt;br&gt;&amp;gt; /usr/lib/perl5/5.
&lt;br&gt;&amp;gt; .5
&lt;br&gt;&amp;gt; /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
&lt;br&gt;&amp;gt; /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
&lt;br&gt;&amp;gt; /usr/lib/perl5/ve
&lt;br&gt;&amp;gt; dor_perl/5.8.5/i386-linux-thread-multi
&lt;br&gt;&amp;gt; /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
&lt;br&gt;&amp;gt; .) at ./temp-one.cgi line 27
&lt;br&gt;&amp;gt; Compilation failed in require at ./temp-one.cgi line
&lt;br&gt;&amp;gt; 27.
&lt;br&gt;&amp;gt;  
&lt;br&gt;&amp;gt; Mark
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; From: Koaps
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koaps@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Mark
&lt;br&gt;&amp;gt; Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Tue,
&lt;br&gt;&amp;gt; November 3, 2009 8:42:04 PM
&lt;br&gt;&amp;gt; Subject: Re:
&lt;br&gt;&amp;gt; [rrd-users] RRD Newbee needs help with RRD Perl script
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have no idea about RRDp but I have used RRDs with no
&lt;br&gt;&amp;gt; issues in perl scripts.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The graph subroutine I used looked like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #    print &amp;quot;Creating
&lt;br&gt;&amp;gt; graph\n&amp;quot;;
&lt;br&gt;&amp;gt;     RRDs::graph
&lt;br&gt;&amp;gt; (&amp;quot;$png_path/$k.png&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;     &amp;quot;--title=$TITLE $k&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;     &amp;quot;--vertical-label=$VLABEL&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$BACK&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$SHADEA&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;quot;--color=$SHADEB&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$FONT&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$CANVAS&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$GRID&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$MGRID&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$FRAME&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;--color=$ARROW&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;     &amp;quot;--base=$BASE&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;    
&lt;br&gt;&amp;gt; &amp;quot;DEF:avg=$rrd_path/$k.rrd:$ds:AVERAGE&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;    
&lt;br&gt;&amp;gt; &amp;quot;DEF:pred=$rrd_path/$k.rrd:$ds:HWPREDICT&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;    
&lt;br&gt;&amp;gt; &amp;quot;DEF:dev=$rrd_path/$k.rrd:$ds:DEVPREDICT&amp;quot;,
&lt;br&gt;&amp;gt;            
&lt;br&gt;&amp;gt;    
&lt;br&gt;&amp;gt; &amp;quot;DEF:fail=$rrd_path/$k.rrd:$ds:FAILURES&amp;quot;,
&lt;br&gt;&amp;gt;         &amp;quot;COMMENT: 
&lt;br&gt;&amp;gt;   \\n&amp;quot;,
&lt;br&gt;&amp;gt;    
&lt;br&gt;&amp;gt; &amp;nbsp;    &amp;quot;CDEF:mbs=avg,1048576,/&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;LINE2:$AVG_LINE:Average MB/s&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;GPRINT:mbs:AVERAGE:\\: %5.2lf&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;GPRINT:mbs:LAST:    Last\\:
&lt;br&gt;&amp;gt; %5.2lf\\n&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;TICK:$TICK:1.0:Failures&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;CDEF:upper=pred,dev,2,*,+&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;CDEF:lower=pred,dev,2,*,-&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;LINE1:$UPPER_LINE:Upper Bound&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;LINE1:$LOWER_LINE:Lower Bound&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;\\n&amp;quot;,
&lt;br&gt;&amp;gt;        
&lt;br&gt;&amp;gt; &amp;quot;COMMENT:$date&amp;quot;,
&lt;br&gt;&amp;gt;             );
&lt;br&gt;&amp;gt;         $err=RRDs::error;
&lt;br&gt;&amp;gt;         if ($err) {print
&lt;br&gt;&amp;gt; &amp;quot;problem generating the graph: $err\n&amp;quot;;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; with
&lt;br&gt;&amp;gt; &amp;nbsp;variables defined like this:
&lt;br&gt;&amp;gt; NOTE: $k for me was pulled from a reference I generated,
&lt;br&gt;&amp;gt; you should be able to set it to your RRD without any
&lt;br&gt;&amp;gt; issues.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #--------------#
&lt;br&gt;&amp;gt; # RRDTool vars #
&lt;br&gt;&amp;gt; #--------------#
&lt;br&gt;&amp;gt; my $png_path = &amp;quot;/var/www/html/&amp;quot;;
&lt;br&gt;&amp;gt; my $TITLE =  &amp;quot;IO Test:&amp;quot;;
&lt;br&gt;&amp;gt; my $VLABEL = &amp;quot;Bytes per second (B/s)&amp;quot;;
&lt;br&gt;&amp;gt; my $BACK = &amp;quot;BACK#000000&amp;quot;;
&lt;br&gt;&amp;gt; my $SHADEA = &amp;quot;SHADEA#FFFFFF&amp;quot;;
&lt;br&gt;&amp;gt; my $SHADEB = &amp;quot;SHADEB#FFFFFF&amp;quot;;
&lt;br&gt;&amp;gt; my $FONT = &amp;quot;FONT#DDDDDD&amp;quot;;
&lt;br&gt;&amp;gt; my $CANVAS = &amp;quot;CANVAS#202020&amp;quot;;
&lt;br&gt;&amp;gt; my $GRID = &amp;quot;GRID#666666&amp;quot;;
&lt;br&gt;&amp;gt; my $MGRID = &amp;quot;MGRID#AAAAAA&amp;quot;;
&lt;br&gt;&amp;gt; my $FRAME = &amp;quot;FRAME#202020&amp;quot;;
&lt;br&gt;&amp;gt; my $ARROW = &amp;quot;ARROW#FFFFFF&amp;quot;;
&lt;br&gt;&amp;gt; my $BASE = 1024;
&lt;br&gt;&amp;gt; my $AVG_LINE = &amp;quot;AVG#0000FF&amp;quot;;
&lt;br&gt;&amp;gt; my $TICK = &amp;quot;FAIL#FFFFA0&amp;quot;;
&lt;br&gt;&amp;gt; my $UPPER_LINE = &amp;quot;UPPER#ff0000&amp;quot;;
&lt;br&gt;&amp;gt; my $LOWER_LINE = &amp;quot;LOWER#ff0000&amp;quot;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -Chris
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- On Tue, 11/3/09, Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; From: Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: [rrd-users] RRD Newbee needs help with RRD
&lt;br&gt;&amp;gt; Perl script
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Date: Tuesday, November 3, 2009, 5:03 PM
&lt;br&gt;&amp;gt; &amp;gt; Recently installed Version 1.3.8
&lt;br&gt;&amp;gt; &amp;gt; and have been trying to make a Perl script wrritten by
&lt;br&gt;&amp;gt; Brian
&lt;br&gt;&amp;gt; &amp;gt; Lane (Digitemp) from what I have been able to
&lt;br&gt;&amp;gt; determine the
&lt;br&gt;&amp;gt; &amp;gt; scripts hangs up on the line containing:
&lt;br&gt;&amp;gt; &amp;gt;  
&lt;br&gt;&amp;gt; &amp;gt;  $answer=RRDp::read;
&lt;br&gt;&amp;gt; &amp;gt;  
&lt;br&gt;&amp;gt; &amp;gt; # Output a HTML header for the PNG
&lt;br&gt;&amp;gt; &amp;gt; image to follow
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; print $cgi-&amp;gt;header('image/png');
&lt;br&gt;&amp;gt; &amp;gt; # Generate the graph
&lt;br&gt;&amp;gt; &amp;gt; RRDp::cmd &amp;quot;graphv - --imgformat PNG&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;--start '$starttime' --end
&lt;br&gt;&amp;gt; &amp;gt; '$endtime'&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;--width $width --height $height&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;quot;DEF:temp_c=$rrd:$var:AVERAGE&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;CDEF:temp_f=temp_c,9,*,5,/,32,+&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;LINE1:temp_f$color:'$label'&amp;quot;;
&lt;br&gt;&amp;gt; &amp;gt; $answer=RRDp::read;
&lt;br&gt;&amp;gt; &amp;gt; print $$answer;
&lt;br&gt;&amp;gt; &amp;gt; RRDp::end;
&lt;br&gt;&amp;gt; &amp;gt;  
&lt;br&gt;&amp;gt; &amp;gt; After reading rrd tutiorial I wrote a
&lt;br&gt;&amp;gt; &amp;gt; shorten bash script which works fine which tells
&lt;br&gt;&amp;gt; me my
&lt;br&gt;&amp;gt; &amp;gt; RRD datafile is fine. Is there a bug and/or do I have
&lt;br&gt;&amp;gt; &amp;gt; installation issue?? 
&lt;br&gt;&amp;gt; &amp;gt;  
&lt;br&gt;&amp;gt; &amp;gt; Mark
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;      
&lt;br&gt;&amp;gt; &amp;gt; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; rrd-users mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26203850&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;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; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&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=26203850&amp;i=10&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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRD-Newbee-needs-help-with-RRD-Perl-script-tp26189521p26203850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26202437</id>
	<title>Re: RRD Newbee needs help with RRD Perl script</title>
	<published>2009-11-04T10:52:37Z</published>
	<updated>2009-11-04T10:52:37Z</updated>
	<author>
		<name>Mark Woodruff-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman, new york, times, serif;font-size:12pt&quot;&gt;&lt;DIV&gt;
&lt;DIV&gt;Chris, Thank you for the feedback. I tried rewriting something with RRDs but no success, something must be missing from the installation (I think!).&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;FONT size=2&gt;
&lt;P&gt;Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.&lt;/P&gt;
&lt;P&gt;.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/ve&lt;/P&gt;
&lt;P&gt;dor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at ./temp-one.cgi line 27&lt;/P&gt;
&lt;P&gt;Compilation failed in require at ./temp-one.cgi line 27.&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;BR&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Koaps &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26202437&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koaps@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26202437&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Tue, November 3, 2009 8:42:04 PM&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [rrd-users] RRD Newbee needs help with RRD Perl script&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;I have no idea about RRDp but I have used RRDs with no issues in perl scripts.&lt;BR&gt;&lt;BR&gt;The graph subroutine I used looked like this:&lt;BR&gt;&lt;BR&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; print &quot;Creating graph\n&quot;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RRDs::graph (&quot;$png_path/$k.png&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--title=$TITLE $k&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--vertical-label=$VLABEL&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$BACK&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$SHADEA&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;
 &quot;--color=$SHADEB&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$FONT&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$CANVAS&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$GRID&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$MGRID&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$FRAME&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--color=$ARROW&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;--base=$BASE&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;DEF:avg=$rrd_path/$k.rrd:$ds:AVERAGE&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;DEF:pred=$rrd_path/$k.rrd:$ds:HWPREDICT&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;DEF:dev=$rrd_path/$k.rrd:$ds:DEVPREDICT&quot;,&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;DEF:fail=$rrd_path/$k.rrd:$ds:FAILURES&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;COMMENT:&amp;nbsp; &amp;nbsp; \\n&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;CDEF:mbs=avg,1048576,/&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;LINE2:$AVG_LINE:Average MB/s&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;GPRINT:mbs:AVERAGE:\\: %5.2lf&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;GPRINT:mbs:LAST:&amp;nbsp; &amp;nbsp; Last\\: %5.2lf\\n&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;TICK:$TICK:1.0:Failures&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;CDEF:upper=pred,dev,2,*,+&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;CDEF:lower=pred,dev,2,*,-&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;LINE1:$UPPER_LINE:Upper Bound&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;LINE1:$LOWER_LINE:Lower Bound&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;\\n&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;COMMENT:$date&quot;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $err=RRDs::error;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if ($err) {print &quot;problem generating the graph: $err\n&quot;;}&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;with
 variables defined like this:&lt;BR&gt;NOTE: $k for me was pulled from a reference I generated, you should be able to set it to your RRD without any issues.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;#--------------#&lt;BR&gt;# RRDTool vars #&lt;BR&gt;#--------------#&lt;BR&gt;my $png_path = &quot;/var/www/html/&quot;;&lt;BR&gt;my $TITLE =&amp;nbsp; &quot;IO Test:&quot;;&lt;BR&gt;my $VLABEL = &quot;Bytes per second (B/s)&quot;;&lt;BR&gt;my $BACK = &quot;BACK#000000&quot;;&lt;BR&gt;my $SHADEA = &quot;SHADEA#FFFFFF&quot;;&lt;BR&gt;my $SHADEB = &quot;SHADEB#FFFFFF&quot;;&lt;BR&gt;my $FONT = &quot;FONT#DDDDDD&quot;;&lt;BR&gt;my $CANVAS = &quot;CANVAS#202020&quot;;&lt;BR&gt;my $GRID = &quot;GRID#666666&quot;;&lt;BR&gt;my $MGRID = &quot;MGRID#AAAAAA&quot;;&lt;BR&gt;my $FRAME = &quot;FRAME#202020&quot;;&lt;BR&gt;my $ARROW = &quot;ARROW#FFFFFF&quot;;&lt;BR&gt;my $BASE = 1024;&lt;BR&gt;my $AVG_LINE = &quot;AVG#0000FF&quot;;&lt;BR&gt;my $TICK = &quot;FAIL#FFFFA0&quot;;&lt;BR&gt;my $UPPER_LINE = &quot;UPPER#ff0000&quot;;&lt;BR&gt;my $LOWER_LINE = &quot;LOWER#ff0000&quot;;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;-Chris&lt;BR&gt;&lt;BR&gt;--- On Tue, 11/3/09, Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26202437&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt; wrote:&lt;BR&gt;&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; From: Mark Woodruff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26202437&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n3hf@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&amp;gt; Subject: [rrd-users] RRD Newbee needs help with RRD Perl script&lt;BR&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26202437&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;&lt;BR&gt;&amp;gt; Date: Tuesday, November 3, 2009, 5:03 PM&lt;BR&gt;&amp;gt; Recently installed Version 1.3.8&lt;BR&gt;&amp;gt; and have been trying to make a Perl script wrritten by Brian&lt;BR&gt;&amp;gt; Lane (Digitemp) from what I have been able to determine the&lt;BR&gt;&amp;gt; scripts hangs up on the line containing:&lt;BR&gt;&amp;gt; &amp;nbsp;&lt;BR&gt;&amp;gt; &amp;nbsp;$answer=RRDp::read;&lt;BR&gt;&amp;gt; &amp;nbsp;&lt;BR&gt;&amp;gt; # Output a HTML header for the PNG&lt;BR&gt;&amp;gt; image to follow&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; print $cgi-&amp;gt;header('image/png');&lt;BR&gt;&amp;gt; # Generate the graph&lt;BR&gt;&amp;gt; RRDp::cmd &quot;graphv - --imgformat PNG&quot;,&lt;BR&gt;&amp;gt; &quot;--start '$starttime' --end&lt;BR&gt;&amp;gt; '$endtime'&quot;,&lt;BR&gt;&amp;gt; &quot;--width $width --height $height&quot;,&lt;BR&gt;&amp;gt;
 &quot;DEF:temp_c=$rrd:$var:AVERAGE&quot;,&lt;BR&gt;&amp;gt; &quot;CDEF:temp_f=temp_c,9,*,5,/,32,+&quot;,&lt;BR&gt;&amp;gt; &quot;LINE1:temp_f$color:'$label'&quot;;&lt;BR&gt;&amp;gt; $answer=RRDp::read;&lt;BR&gt;&amp;gt; print $$answer;&lt;BR&gt;&amp;gt; RRDp::end;&lt;BR&gt;&amp;gt; &amp;nbsp;&lt;BR&gt;&amp;gt; After reading&amp;nbsp;rrd tutiorial I wrote a&lt;BR&gt;&amp;gt; shorten&amp;nbsp;bash script which works fine which tells me my&lt;BR&gt;&amp;gt; RRD datafile is fine. Is there a bug and/or do I have&lt;BR&gt;&amp;gt; installation issue??&amp;nbsp;&lt;BR&gt;&amp;gt; &amp;nbsp;&lt;BR&gt;&amp;gt; Mark&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;BR&gt;&amp;gt; -----Inline Attachment Follows-----&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=26202437&amp;i=5&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=_blank rel=&quot;nofollow&quot;&gt;https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users&lt;/A&gt;&lt;BR&gt;&amp;gt; &lt;/div&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br&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=26202437&amp;i=6&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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRD-Newbee-needs-help-with-RRD-Perl-script-tp26189521p26202437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26190813</id>
	<title>Re: Invalid UTF-8 string</title>
	<published>2009-11-03T20:21:08Z</published>
	<updated>2009-11-03T20:21:08Z</updated>
	<author>
		<name>Tobias Oetiker-3</name>
	</author>
	<content type="html">Hi Stefan,
&lt;br&gt;&lt;br&gt;Yesterday Stefan M. Brandl wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; just upgrade from rrdtool 1.3.8 to 1.3.9
&lt;br&gt;&amp;gt; and I get
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (process:30282): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; when I do a rrdtool graph ...
&lt;br&gt;&amp;gt; And have a ° (degree) sign in the GPRINT line.
&lt;br&gt;&lt;br&gt;&lt;br&gt;this is the kind of error you would get if you were running wit a
&lt;br&gt;locale setting suggesting utf8 encoding and then inputing data
&lt;br&gt;encoded with latin1 for example.
&lt;br&gt;&lt;br&gt;if you are using rrdtool from language bindings, make sure you call
&lt;br&gt;setlocale and are not just setting the environment variable inside
&lt;br&gt;you code.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;tobi
&lt;br&gt;&lt;br&gt;&amp;gt; Stefan
&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=26190813&amp;i=0&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;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=26190813&amp;i=1&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;rrd-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26190813&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-string-tp26178695p26190813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26189521</id>
	<title>RRD Newbee needs help with RRD Perl script</title>
	<published>2009-11-03T17:03:23Z</published>
	<updated>2009-11-03T17:03:23Z</updated>
	<author>
		<name>Mark Woodruff-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman, new york, times, serif;font-size:12pt&quot;&gt;&lt;DIV&gt;Recently installed Version 1.3.8 and have been trying to make a Perl script wrritten by Brian Lane (Digitemp) from what I have been able to determine the scripts hangs up on the line containing:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;$answer=RRDp::read;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2&gt;# Output a HTML header for the PNG image to follow&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;print $cgi-&amp;gt;header('image/png');&lt;/P&gt;
&lt;P&gt;# Generate the graph&lt;/P&gt;
&lt;P&gt;RRDp::cmd &quot;graphv - --imgformat PNG&quot;,&lt;/P&gt;
&lt;P&gt;&quot;--start '$starttime' --end '$endtime'&quot;,&lt;/P&gt;
&lt;P&gt;&quot;--width $width --height $height&quot;,&lt;/P&gt;
&lt;P&gt;&quot;DEF:temp_c=$rrd:$var:AVERAGE&quot;,&lt;/P&gt;
&lt;P&gt;&quot;CDEF:temp_f=temp_c,9,*,5,/,32,+&quot;,&lt;/P&gt;
&lt;P&gt;&quot;LINE1:temp_f$color:'$label'&quot;;&lt;/P&gt;
&lt;P&gt;$answer=RRDp::read;&lt;/P&gt;
&lt;P&gt;print $$answer;&lt;/P&gt;
&lt;P&gt;RRDp::end;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;After reading&amp;nbsp;rrd tutiorial I wrote a shorten&amp;nbsp;bash script which works fine which tells me my RRD datafile is fine. Is there a bug and/or do I have installation issue??&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;!-- cg29.c2.mail.re1.yahoo.com compressed/chunked Tue Nov  3 16:03:15 PST 2009 --&gt;&lt;/div&gt;&lt;br&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=26189521&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RRD-Newbee-needs-help-with-RRD-Perl-script-tp26189521p26189521.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26185189</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-03T11:24:47Z</published>
	<updated>2009-11-03T11:24:47Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">Ok, I got a working configure now on EL4, I will see to modify the .spec file in a few minutes to see if I can build a rpm from it.
&lt;br&gt;&lt;br&gt;Here is what I have done:
&lt;br&gt;&lt;br&gt;Install from RHEL 4 Updates:
&lt;br&gt;&lt;br&gt;evolution28-cairo-1.2.4-6.el4.i386.rpm
&lt;br&gt;evolution28-cairo-devel-1.2.4-6.el4.i386.rpm
&lt;br&gt;evolution28-glib2-2.12.3-6.el4.i386.rpm
&lt;br&gt;evolution28-glib2-devel-2.12.3-6.el4.i386.rpm
&lt;br&gt;evolution28-pango-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm
&lt;br&gt;&lt;br&gt;Set LDFLAGS:
&lt;br&gt;&lt;br&gt;setenv LDFLAGS -L/usr/evolution28/lib
&lt;br&gt;&lt;br&gt;Set PKG_CONFIG_PATH:
&lt;br&gt;&lt;br&gt;setenv PKG_CONFIG_PATH /usr/evolution28/lib/pkgconfig:/usr/lib/pkgconfig
&lt;br&gt;&lt;br&gt;Run configure:
&lt;br&gt;&lt;br&gt;./configure
&lt;br&gt;&lt;br&gt;This results in an ok run as far I can tell.
&lt;br&gt;&lt;br&gt;Ulf.
&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=26185189&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26185189.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26178695</id>
	<title>Invalid UTF-8 string</title>
	<published>2009-11-03T04:07:35Z</published>
	<updated>2009-11-03T04:07:35Z</updated>
	<author>
		<name>Stefan M. Brandl</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;just upgrade from rrdtool 1.3.8 to 1.3.9
&lt;br&gt;and I get
&lt;br&gt;&lt;br&gt;(process:30282): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
&lt;br&gt;&lt;br&gt;when I do a rrdtool graph ...
&lt;br&gt;And have a ° (degree) sign in the GPRINT line.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&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=26178695&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Invalid-UTF-8-string-tp26178695p26178695.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26174253</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-02T18:50:30Z</published>
	<updated>2009-11-02T18:50:30Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Tobias Oetiker [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174253&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 6:47 PM
&lt;br&gt;&amp;gt; To: Ulf Zimmermann
&lt;br&gt;&amp;gt; Cc: William R. Lorenz; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174253&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just wondering,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I wished it were so easy ... I got about 250 or so EL4 machines
&lt;br&gt;&amp;gt; &amp;gt; and upgrading them aint gonna happen any time soon.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I was mainly looking at rrdtool 1.4.1 because of rrdcached to be
&lt;br&gt;&amp;gt; &amp;gt; used in conjunction with collectd. Currently we have a large
&lt;br&gt;&amp;gt; &amp;gt; number of virtual machines and running collectd inside of those,
&lt;br&gt;&amp;gt; &amp;gt; each has about 75KB/sec writing due to writing to rrd files.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; have you tried compiling everything according to the build
&lt;br&gt;&amp;gt; instructions ? of you creaded a tar file for a setup that installs
&lt;br&gt;&amp;gt; into /opt, that should not be all that bad.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; tobi
&lt;/div&gt;&lt;br&gt;Trying to build a rpm, because of rolling it out to a number of machines. I need to look at
&lt;br&gt;collectd what it actually needs for rrdcached. Already running into another problem at manual
&lt;br&gt;running configure, which checks glib2 by looking for glib_check_version, which wasn't introduced
&lt;br&gt;until glib 2.6 and EL4 has only 2.4.x.
&lt;br&gt;&lt;br&gt;Would love to upgrade all to EL5, but as said before, it will take a long time and I am trying to
&lt;br&gt;remove the need to write to local files.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hope this helps,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; William R. Lorenz
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; rrd-users mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174253&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;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; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
&lt;br&gt;&amp;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=26174253&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900
&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=26174253&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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26174253.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26174222</id>
	<title>Re: Trying to build rrdtool 1.4.1 on RedHat EL4</title>
	<published>2009-11-02T18:47:18Z</published>
	<updated>2009-11-02T18:47:18Z</updated>
	<author>
		<name>Ulf Zimmermann-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Tobias Oetiker [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174222&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Monday, November 02, 2009 6:45 PM
&lt;br&gt;&amp;gt; To: Ulf Zimmermann
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174222&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rrd-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Ulf,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the spec file has not been updated recently ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; you should not need intltool at all and for pango a lower version
&lt;br&gt;&amp;gt; might do as well ... the problem with pango is that the library is
&lt;br&gt;&amp;gt; under heavy development and apart form new featueres there are also
&lt;br&gt;&amp;gt; important bugfixes going in ... if I remember corectly there were
&lt;br&gt;&amp;gt; several memory management issues which were resolved over time (not
&lt;br&gt;&amp;gt; sure which version). In essence the newer the better, but you
&lt;br&gt;&amp;gt; should be able use older versions to, I am not using any
&lt;br&gt;&amp;gt; particularly fancy features of pango ...
&lt;/div&gt;&lt;br&gt;I will set the spec file to the lower versions I got and test around with it. I don't actually need the graphing functions for the EL4 systems, just librrd to write to files or rrdcached to send data to a central collecting server. That server is running FreeBSD and had no problems compiling 1.4.1. Any test I have done there so far look good.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; tobi
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yesterday Ulf Zimmermann wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I am looking at building RRDtool 1.4.1 for our EL4 environment.
&lt;br&gt;&amp;gt; Looking the spec file which was included in the source tar of 1.4.1, it
&lt;br&gt;&amp;gt; has certain requirements:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Pango &amp;gt;= 1.14
&lt;br&gt;&amp;gt; &amp;gt; Intltool &amp;gt;= 0.35.0
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Both these are not provided by RedHat in a recent enough version, nor
&lt;br&gt;&amp;gt; are they available in for example rpmforge. Can anyone point me to the
&lt;br&gt;&amp;gt; exact reasons for requiring the above versions? Would it be possible to
&lt;br&gt;&amp;gt; change the .spec to the lower version, which could cause consequences.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Ulf.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
&lt;br&gt;&amp;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=26174222&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobi@...&lt;/a&gt; ++41 62 775 9902 / sb: -9900
&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=26174222&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/RRDTool---User-f796.html&quot; embed=&quot;fixTarget[796]&quot; target=&quot;_top&quot; &gt;RRDTool - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-build-rrdtool-1.4.1-on-RedHat-EL4-tp26171404p26174222.html" />
</entry>

</feed>
