Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Adjust x-axis numbers format

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
galco



Joined: 03 Aug 2007
Posts: 13
Location: Barcelona, Catalunya

PostPosted: Mon Sep 17, 2007 8:18 am    Post subject: Adjust x-axis numbers format Reply with quote

When cacti graphs a rra file, x-axis appears too much condensed (figura1.png). I would like to display a x-axis as (figura2.png). To get figura2.png I executed:

/usr/bin/rrdtool graph figura2.png --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 --vertical-label="processes in the run queue" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:9: --font UNIT:8: DEF:a="localhost_load_1min_5.rrd":load_1min:AVERAGE DEF:b="localhost_load_1min_5.rrd":load_5min:AVERAGE DEF:c="localhost_load_1min_5.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1189758288,GT,a,a,UN,0,a,IF,IF,TIME,1189758288,GT,b,b,UN,0,b,IF,IF,TIME,1189758288,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" AREA:b#EA8F00:"5 Minute Average":STACK GPRINT:b:LAST:" Current\:%8.2lf\n" AREA:c#FF0000:"15 Minute Average":STACK GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"" --x-grid MINUTE:30:HOUR:2:HOUR:2:0:%Hh

I read that the best option is to use autoconfiguration and I agree with it but when it displays a x-axis with hours, I don't like it. I don't want to pass space between the lines, only time format.



figura1.png
 Description:
 Filesize:  29.68 KB
 Viewed:  1158 Time(s)

figura1.png



figura2.png
 Description:
 Filesize:  29.65 KB
 Viewed:  1161 Time(s)

figura2.png


Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 6769
Location: WA, USA

PostPosted: Mon Sep 17, 2007 9:44 am    Post subject: Reply with quote

Ah, I like that . Should be fairly easy to implement too (in theory).

Create a feature/bug report at bugs.cacti.net
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Mon Sep 17, 2007 2:33 pm    Post subject: Reply with quote

(for Tony)
Please follow instructions at http://www.cacti.net/bugs.php
(you owe me sth, Tony, for sure)
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Mon Sep 17, 2007 3:38 pm    Post subject: Reply with quote

Gandolf,

This seems simple enough to incorporate into Beta3. Do you not agree?

TheWitness
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5443
Location: Wisconsin, USA

PostPosted: Mon Sep 17, 2007 4:06 pm    Post subject: Reply with quote

No new features in 0.8.7....

Send an email, we will vote.. Otherwise, 0.8.8 will have it.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Mon Sep 17, 2007 5:50 pm    Post subject: Reply with quote

Famous last words right

I'll send it now.

Larry
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group