<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm not sure when it happened, but at some point, upgrading rrdtool
broke some of my scripts -- they silently stopped generating output
PNGs. I've narrowed it down to my use of the command-line option
--logarithmic, which still appears in all documentation and rrdtool
command output:<br>
<br>
<blockquote># rrdtool graph<br>
RRDtool 1.4.7 Copyright 1997-2012 by Tobias Oetiker
<a class="moz-txt-link-rfc2396E" href="mailto:tobi@oetiker.ch"><tobi@oetiker.ch></a><br>
Compiled Aug 2 2012 07:45:32<br>
...<br>
[-h|--height pixels] [-o|--logarithmic]<br>
</blockquote>
<br>
But, see this simple test:<br>
<br>
<blockquote># rrdtool graphv test.png --logarithmic
DEF:ds0=test.rrd:ds0:AVERAGE LINE1:ds0#000000:AVERAGE<br>
<br>
# ls -l test.png<br>
ls: cannot access test.png: No such file or directory<br>
<br>
# rrdtool graphv test.png DEF:ds0=test.rrd:ds0:AVERAGE
LINE1:ds0#000000:AVERAGE<br>
graph_left = 51<br>
graph_top = 22<br>
graph_width = 400<br>
graph_height = 100<br>
image_width = 481<br>
image_height = 162<br>
graph_start = 1353340364<br>
graph_end = 1353426764<br>
value_min = 3.3774000000e+04<br>
value_max = 2.5000000000e+06<br>
<br>
# ls -l test.png<br>
-rw-r--r-- 1 root www 6797 Nov 20 10:52 test.png<br>
</blockquote>
<br>
What happened?<br>
<br>
<pre class="moz-signature" cols="72">--
Dossy Shiobara | "He realized the fastest way to change
<a class="moz-txt-link-abbreviated" href="mailto:dossy@panoptic.com">dossy@panoptic.com</a> | is to laugh at your own folly -- then you
<a class="moz-txt-link-freetext" href="http://panoptic.com/">http://panoptic.com/</a> | can let go and quickly move on." (p. 70)
* WordPress * jQuery * MySQL * Security * Business Continuity *
</pre>
</body>
</html>