"RRDTool Default Font Path"
Moderators: Developers, Moderators
"RRDTool Default Font Path"
What is "RRDTool Default Font Path"?
Would be great if anyone could explain what this "RRDTool Default Font" is for
Would be great if anyone could explain what this "RRDTool Default Font" is for
Re: "RRDTool Default Font Path"
With rrdtool version 1.2 and above you can select a TrueType Font that will be used to generate the graphs.panden wrote:What is "RRDTool Default Font Path"?
Would be great if anyone could explain what this "RRDTool Default Font" is for
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).
- TheWitness
- Developer
- Posts: 17004
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
More is on the way as well. I will put something in the Official Patches when it's ready.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
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/webto ... ph.en.html
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/webto ... ph.en.html
Thanks in advance for your answer.[-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.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- TheWitness
- Developer
- Posts: 17004
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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/
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 dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
We are thinking late summer...
I will be having more time to work on it now...
I will be having more time to work on it now...
[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]
[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]
error with config_settings.php
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 !!
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 !!
- TheWitness
- Developer
- Posts: 17004
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest