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

This is a discussion on [rrd-users] Please, help with coding days of the week within the RRD Users forums, part of the Networking and Network Related category; Hi! I have some strange problem:) I created picture in png format with the help of rrdtool. It was got ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-07-2006
Arthur Yuldashev
 
Posts: n/a
Default [rrd-users] Please, help with coding days of the week

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@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:39 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0