[rrd-users] Please, help with coding days of the week

Arthur Yuldashev arthur at mail.rb.ru
Tue Nov 7 10:19:45 MET 2006


Hi! I have some strange problem:)
I created picture in png format with the help of rrdtool. It was got 
from rrd generated by ganglia package.
I examined which command was executed by ganglia php frontend and tried 
to repeat this action.
So I wrote a small script:
#/bin/bash
/usr/bin/rrdtool graph - --start 1162218733 --end 1162823533 --width 300 
--height 75 --lower-limit 0 --rigid \
--title 'Intel64 Load last week' --vertical-label 'Load/Procs'  \
DEF:'load_one'='/var/lib/ganglia/rrds/Intel64/__SummaryInfo__/load_one.rrd':'sum':AVERAGE 
\
DEF:'proc_run'='/var/lib/ganglia/rrds/Intel64/__SummaryInfo__/proc_run.rrd':'sum':AVERAGE 
\
DEF:'cpu_num'='/var/lib/ganglia/rrds/Intel64/__SummaryInfo__/cpu_num.rrd':'sum':AVERAGE 
\
DEF:'num_nodes'='/var/lib/ganglia/rrds/Intel64/__SummaryInfo__/cpu_num.rrd':'num':AVERAGE 
\
AREA:'load_one'\#CCCCCC:'1-min Load' LINE2:'num_nodes'\#00FF00:'Nodes' \
LINE2:'cpu_num'\#FF0000:'CPUs' LINE2:'proc_run'\#0000FF:'Running 
Processes' > T.png

But it is something strange, because all is good except of coding days 
of the week, legend, labels are written with normal letters but words 
corresponding to Mon, Wed etc are bad.
I attached to files to the letter: O.png - generated by ganglia with 
normal letters and
                                             T.png - generated by my 
script.
Help me, please, with this strange trouble!


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 12k (13124 bytes)
-- URL : http://lists.ee.ethz.ch/p/03-O.png


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 12k (12796 bytes)
-- URL : http://lists.ee.ethz.ch/p/03-T.png


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list