Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Sat Aug 23, 2014 12:18 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: "RRDTool Default Font Path"
PostPosted: Tue May 10, 2005 3:38 pm 
Offline

Joined: Mon Sep 13, 2004 10:58 am
Posts: 7
What is "RRDTool Default Font Path"?
Would be great if anyone could explain what this "RRDTool Default Font" is for :lol:


Top
 Profile  
 
 Post subject: Re: "RRDTool Default Font Path"
PostPosted: Tue May 10, 2005 3:43 pm 
Offline

Joined: Mon May 02, 2005 3:33 pm
Posts: 46
Location: New York, NY
panden wrote:
What is "RRDTool Default Font Path"?
Would be great if anyone could explain what this "RRDTool Default Font" is for :lol:


With rrdtool version 1.2 and above you can select a TrueType Font that will be used to generate the graphs.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 3:44 pm 
Offline
Cacti User

Joined: Sun Apr 10, 2005 11:26 pm
Posts: 60
Location: west coast
This is a relatively recent feature of RRDTool 1.2.x which has partial support in Cacti. It allows you to specify a TTF (True-Type Font) to be used in the drawing of your graphs where other fonts have not been specified (legend font, title font, et al). In general you'll want to use a mono spaced font so that auto-padding still works correctly (variable width fonts will throw off auto-padding).


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 4:35 pm 
Offline

Joined: Mon Sep 13, 2004 10:58 am
Posts: 7
Sounds good. :)

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 8:01 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
More is on the way as well. I will put something in the Official Patches when it's ready.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 11, 2005 2:07 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi Larry

do you plan to include the font smoothing strength modification I posted here : http://forums.cacti.net/viewtopic.php?t=7520 ?

Also, I think it would be a good idea to let the slope mode as an option, here's what the rrdgraph man page tells about it : http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdgraph.en.html

Quote:
[-E|--slope-mode]

RRDtool graphs are composed of stair case curves by default. This is in line with the way RRDtool calculates its data. Some people favor a more 'organic' look for their graphs even though it is not all that true.

Thanks in advance for your answer.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 11, 2005 3:28 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
There are two files in CVS "BRANCH_0_8_6" that you should be interested in. They are:

lib\rrd.php
include\config_settings.php

If you download these two, you will have the slope mode and much more font control. I am contemplating one more change, and that will be it for 0.8.6.

Then the focus will be completely on 0.9, which is going to be a VERY exciting release.

TheWitness

CVS if Located Here: http://cvs.cacti.net/cgi-bin/viewcvs.cgi/

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 11, 2005 10:42 am 
Offline

Joined: Mon Sep 13, 2004 10:58 am
Posts: 7
Sounds great TheWitness. Any ETA for 0.9?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 11, 2005 12:21 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5904
Location: Michigan, USA
We are thinking late summer...

I will be having more time to work on it now... :)

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: error with config_settings.php
PostPosted: Wed May 18, 2005 8:11 pm 
Offline

Joined: Wed May 18, 2005 7:58 pm
Posts: 9
Location: Mexico
Hi,

just applied the mentioned patch to get Slope Mode Control, rrd.php works fine, but config_settings.php produces the following errors:

Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 25

Warning: main(CACTI_BASE_PATH/include/graph/graph_arrays.php) [function.main]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 25

Warning: main() [function.include]: Failed opening 'CACTI_BASE_PATH/include/graph/graph_arrays.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 25

Notice: Use of undefined constant CACTI_BASE_PATH - assumed 'CACTI_BASE_PATH' in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 26

Warning: main(CACTI_BASE_PATH/include/config_arrays.php) [function.main]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 26

Warning: main() [function.include]: Failed opening 'CACTI_BASE_PATH/include/config_arrays.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 26

Fatal error: Call to undefined function _() in /usr/local/apache2/htdocs/cacti/include/config_settings.php on line 30



I copied back my previous config_settings script on the cacti path and the errors went away. I kept the rrd.php file and got smoother graphs, which was my initial intention so I'm happy with the results.

So I suppose the downside is I'm not getting the new control parameters present on the latest config_settings script on CVS and rrd.php is just adjusting the graphs without even asking me for that option, Ok.

Do I have have any option for making the config_settings script work as intenteded ?

Thanks very much.

P.S. Great job. Excellent software !!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2005 4:11 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Please apply the patches at the following location: http://www.cacti.net/downloads/patches/ ... re-patched The files you applied are for the next release of Cacti.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group