how to change the direction of picture creating

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dk250
Posts: 10
Joined: Tue Dec 20, 2005 11:33 pm
Location: CN.SH

how to change the direction of picture creating

Post by dk250 »

when creat the picture,always from right side to left side.how to make it creat picture from left to right.

thanks a lot
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I don't believe that option is possible with rrdtool.
dk250
Posts: 10
Joined: Tue Dec 20, 2005 11:33 pm
Location: CN.SH

Post by dk250 »

but, mrtg can change the direction.

mrtg can.why rrdtool cant?

and why the author made the two in different direction?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well doing a quick search through the rrdtool manual, I didn't see that option. Furthermore, that option is not present in Cacti.
dk250
Posts: 10
Joined: Tue Dec 20, 2005 11:33 pm
Location: CN.SH

Post by dk250 »

hi~ thx
dk250
Posts: 10
Joined: Tue Dec 20, 2005 11:33 pm
Location: CN.SH

Post by dk250 »

how to do it~~ my god! i think it should change some PHP-config,who konw where and how~~ PLS.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

dk250 wrote:how to do it~~ my god! i think it should change some PHP-config,who konw where and how~~ PLS.
What?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
dk250
Posts: 10
Joined: Tue Dec 20, 2005 11:33 pm
Location: CN.SH

Post by dk250 »

when creat the picture,always from right side to left side.how to make it creat picture from left to right.
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Cacti does not have the equivalent of the MRTG '--growright' command, which is not an RRDTool command, so it is not just a 'tweak' to a setting.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
dk250
Posts: 10
Joined: Tue Dec 20, 2005 11:33 pm
Location: CN.SH

Post by dk250 »

Linegod wrote:Cacti does not have the equivalent of the MRTG '--growright' command, which is not an RRDTool command, so it is not just a 'tweak' to a setting.

in my mind, cacti use rrdtool to make graphe. anyone who know what command such like the MRTG '--growright'.

when i see the Properties of the graphe:


/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ZFS-SHANGHAI-TEST - ONLINE-PLAYERS" \
--rigid \
--base=1000 \
--height=175 \
--width=650 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="PLAYERS" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/zfsshanghaitest_user_70.rrd":user:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/zfsshanghaitest_user_73.rrd":user:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti/rra/zfsshanghaitest_user_74.rrd":user:AVERAGE \
CDEF:cdefbf=TIME,1135644503,GT,a,a,UN,0,a,IF,IF,TIME,1135644503,GT,b,b,UN,0,b,IF,IF,TIME,1135644503,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#FF0000:"TEST-1" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf" \
GPRINT:a:MIN:"MINI\:%8.0lf\n" \
STACK:b#F5F800:"TEST-2" \
GPRINT:b:LAST:"CURRENT\:%8.0lf" \
GPRINT:b:AVERAGE:"AVERAGE\:%8.0lf" \
GPRINT:b:MAX:"MAX\:%8.0lf" \
GPRINT:b:MIN:"MINI\:%8.0lf\n" \
STACK:c#FF6044:"TEST-3" \
GPRINT:c:LAST:"current\:%8.0lf" \
GPRINT:c:AVERAGE:"average\:%8.0lf" \
GPRINT:c:MAX:"Max\:%8.0lf" \
GPRINT:c:MIN:"MINI\:%8.0lf\n" \
LINE2:cdefbf#4444FF:"TOTAL\:" \
GPRINT:cdefbf:LAST:"CURRENT\:%8.0lf" \
GPRINT:cdefbf:AVERAGE:"AVERAGE\:%8.0lf" \
GPRINT:cdefbf:MAX:"MAX\:%8.0lf" \
GPRINT:cdefbf:MIN:"MINI\:%8.0lf"





is there a parameter can be added to change direction? thanks a lot~


ps: because of different time zone ,a post always need to wait one night...

merry x'mas everyone
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Linegod wrote:Cacti does not have the equivalent of the MRTG '--growright' command, which is not an RRDTool command, so it is not just a 'tweak' to a setting.
That is the answer.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests