No text on graphs

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
AK-Whitehawk
Posts: 14
Joined: Wed Jun 08, 2005 2:35 pm

No text on graphs

Post by AK-Whitehawk »

Cacti install on Windows XP Home. Everything is working fine except no text on the graphs. I have installed rrdtool 1.2.9 from the cacti site but still no luck. I have also tried pointing the rrdtool path to a couple different files as well as just the directory (c:/rrdtools) with no success.

I have searched through the forums but have been unable to find a solution. Many moons have passed and I am starting to go a bit fruity, any ideas would be much appreciated.

thanks

cacti0.8.6d
AK-Whitehawk
Posts: 14
Joined: Wed Jun 08, 2005 2:35 pm

Post by AK-Whitehawk »

Going through everything again I found the following line in rrd.php

/* set the rrdtool default font */
if (read_config_option("path_rrdtool_default_font")) {
putenv("RRD_DEFAULT_FONT=" . read_config_option("path_rrdtool_default_font"));

I found this mentioned in another post but I am wondering what value I can add to it?

thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Go to the web interface and look in settings....
[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]
AK-Whitehawk
Posts: 14
Joined: Wed Jun 08, 2005 2:35 pm

Post by AK-Whitehawk »

In Settings atm I have c:/rrdtool/cygfreetype-6.dll listed for RRDtool default font path. I have also tried just c:/rrdtool in this box and still don't see anything. I am starting to wonder if I have RRD installed correctly. My rrdtools folder has the following files in it.

cygart_lgpl_2-2.dll
cygfreetype-6.dll
cygpng12.dll
cygwin1.dll
cygz.dll
rrdtool.exe

I noticed that the original download of 1.2.6 has a ton of files/folders that 1.2.9 does not have. Should I have copied the files included in 1.2.9 into the 1.2.6 files?

Also in Settings >> Visual, I noticed text boxes where I could specify fonts for title, legend, etc. but I don't know what value to type in that box.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, you need those files and the font path would point to something like "c:/windows/fonts/arialn.ttf" or something like it.

The files required are:
cygart_lgpl_2-2.dll
cygfreetype-6.dll
cygpng12.dll
cygwin1.dll
cygz.dll

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?
AK-Whitehawk
Posts: 14
Joined: Wed Jun 08, 2005 2:35 pm

Post by AK-Whitehawk »

That worked like a charm, thanks much!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Don't forget to apply the rrdtool 1.2 patch http://www.cacti.net/download_patches.php
floatter
Posts: 25
Joined: Tue Jun 07, 2005 11:33 am

Post by floatter »

How apply this patch under windows ?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

floatter wrote:How apply this patch under windows ?
Download the files from http://www.cacti.net/downloads/patches/ ... re-patched, and overwite the original files (after a backup :D )
[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]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

floatter wrote:How apply this patch under windows ?
Or have cygwin installed, where the instructions on that page work just fine.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests