File sixe = 35,000 kb.
Beginning of the outpout looks just like your example.
After running rrdtool...: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library 673x199
Thanks,
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
henrik at hswn.dk (Henrik Stoerner) 12/29/2005 04:30 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Thu, Dec 29, 2005 at 03:46:37PM -0500, Michael Frey wrote:
After deleting the lines as suggested, and adding the <89>PNG, the image
in the viewer is still a black screen.
If I delete the <89>PNG, the file size is zero bytes.
OK, that *is* very small.
What does the RRD files look like ? Those in the ~hobbit/data/rrd/HOSTNAME/ directory - they should be at least some 18-19 KB in size or larger.
If you run "rrdtool dump ~hobbit/data/rrd/HOSTNAME/tcp.conn.rrd", the beginning of the output should look like this:
-------- start rrdtool dump output -------- <!-- Round Robin Database Dump --> <rrd> <version> 0003 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1135891575 </lastupdate> <!-- 2005-12-29 22:26:15 CET -->
<ds>
<name> sec </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 2.2500000000e-03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<!-- Round Robin Archives --> <rra> -------- end of rrdtool dump output --------
You can try generating the graph image for one of the TCP "conn" graphs by running
rrdtool graph x.png
--title "localhost TCP Connection Times Last 48 Hours"
-w576 -h120 -v Seconds -a PNG -s "e-48h" \
"DEF:p0=/usr/local/hobbit/data/rrd/adminfunct.nro.glic.com/tcp.conn.rrd:sec:AVERAGE"
"LINE2:p0#0000FF:conn"
(replace the "/home/hobbit..." filename with the filename of your tcp.conn.rrd file).
If you run this, what happens ? The output should be "673x199" (which is the size of the generated PNG image), and the PNG image is in the x.png file.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.