Missing labels on some graphs

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

Moderators: Developers, Moderators

Post Reply
Codespeare
Posts: 4
Joined: Wed Mar 08, 2006 2:02 pm

Missing labels on some graphs

Post by Codespeare »

Operating System: Win2k
Webserver: Apache 2.0.55
Cacti: 0.8.6h w/patches
Cactid: 0.8.6g
MySQL: 5.0.18-nt
PHP: 4.4.2
RRDTool: 1.2.12-cygwin
Net-SNMP: 5.0.3.1
Cygwin: Not installed separately - whatever is included with the apps that need it

The subject pretty much says it all.. Some of the graphs are missing labeling, but otherwise everything is working properly. I tried searching, but didn't find anything of relavence. Help?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

If some graphs have text while others do not, then you're experiencing a common rrdtool 1.2 bug.
Codespeare
Posts: 4
Joined: Wed Mar 08, 2006 2:02 pm

Post by Codespeare »

Am I correct in assuming the only way to fix it is to downgrade to 1.0.*? Does anyone know where the problem stems from? e.g. Is it doccumented anywhere, such that I could download the source and try to fix it?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The source code is available from http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/

Some of the early rrdtool 1.2 versions didn't have this bug... but they have a lot of others. So the tradeoff is up to you. If you go back to rrdtool 1.0.x, thats fine too, you just loose all the neat features that came with 1.2

I believe the problem more frequently when the cpu on the system is taxes while creating the graphs. For example on my old-ass cacti server which is a P3 450, I almost always see graphs which are missing their text. On the otherhand, when testing stuff out on my P3 3ghz, I rarely see text missing. I haven't bothered to look into the source code to figure it out. IF you do, let Tobi know the fix!
EC
Posts: 5
Joined: Mon Mar 06, 2006 8:26 pm
Contact:

Post by EC »

Hm. So far, every graph I've managed to generate is missing the text. On two systems, at that (one p4 1.5 and a Xeon 4 CPU server). I thought it was something I've been doing wrong...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

If every graph is missing text, then you haven't specified a rrdtool font in setttings.
EC
Posts: 5
Joined: Mon Mar 06, 2006 8:26 pm
Contact:

Post by EC »

It's the simple things...thanks for the tip.
Codespeare
Posts: 4
Joined: Wed Mar 08, 2006 2:02 pm

Post by Codespeare »

I dont know if this is a coincidence, or the answer, or something I was doing wrong.. But I went Console -> Settings -> Visual -> Default RRDtool 1.2 Fonts; I then pasted in the same font from Paths -> RRDTool Default Font Path; Since then, I have not generated any label-less graphs. Whatever it is, I'm happy :D
larioul
Posts: 3
Joined: Mon Feb 06, 2006 9:02 am

Fonts disappear

Post by larioul »

cacti 0.8.6h
EasyPHP 1.8 (PHP 5)
rrdtools 1.2
php.cmd (not cactid)

My graph fonts disappear one time by day :(
When I restart my easyPHP they comme back !

Any idéa ?
Codespeare
Posts: 4
Joined: Wed Mar 08, 2006 2:02 pm

Post by Codespeare »

I'm by no means an expert, but I've found Cacti to be very choosy as far as what it will and will not work with. I would highly recommend installing the components (Apache, PHP, etc) separately, instead of as part of a package (EasyPHP).
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Codespeare wrote:I would highly recommend installing the components (Apache, PHP, etc) separately, instead of as part of a package (EasyPHP).
I second that.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests