[SOLVED] Exported Graphs don't have legends, titles, etc...

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
sammyc53
Posts: 13
Joined: Fri Mar 21, 2008 1:55 pm

[SOLVED] Exported Graphs don't have legends, titles, etc...

Post by sammyc53 »

It seems to be missing the legend, and the title.

It does this for all my thold alerts and graph exports.

8.7b with latest this and latest that. Just built the cacti install the other day.

Any idea? Thanks in advance! Everything else seems to be working great!
Attachments
graph_97_5.png
graph_97_5.png (16.25 KiB) Viewed 3222 times
Test.JPG
Test.JPG (18.37 KiB) Viewed 3250 times
Last edited by sammyc53 on Sun Mar 23, 2008 4:43 am, edited 1 time in total.
noflies
Cacti User
Posts: 83
Joined: Sun Dec 18, 2005 9:30 am

Post by noflies »

This is usually indicative of a font problem. Reset or verify your font path is correct in Cacti's settings.
sammyc53
Posts: 13
Joined: Fri Mar 21, 2008 1:55 pm

Post by sammyc53 »

Thanks for responding. That does make sense....

So, I went and hard coded the normally blank default font field to:

/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Roman.ttf
(And cacti does say 'Dir Ok')

And it didn't really help at all.

So I did a little digging on the forums for 'Fonts', and found that some versions of RRDTOOL has some issues with fonts?!?

So, how do I find which version of RRDTOOL i have, and is it advisable to upgrade/downgrade?

Thanks in advance, Sam
sammyc53
Posts: 13
Joined: Fri Mar 21, 2008 1:55 pm

Post by sammyc53 »

Oh, and you have to set it on the that other page... GOT IT!

Working great now, thanks! I owe you a beer.

-Sam
jdictionary
Posts: 4
Joined: Fri Mar 28, 2008 10:00 am
Location: Atlanta, GA

Post by jdictionary »

sammyc53 wrote:Oh, and you have to set it on the that other page... GOT IT!

Working great now, thanks! I owe you a beer.

-Sam
Hi Sam,

I'm having the same problem. Can you please specify which other page you are referring to? Thanks very much.

Rick
jdictionary
Posts: 4
Joined: Fri Mar 28, 2008 10:00 am
Location: Atlanta, GA

Post by jdictionary »

Nevermind, thank you. I found it. In case others are wondering, here is how you get to the text entry box that controls the Thold graph font:

1) Login to cacti as admin
2) Click the "Settings" link under the "Configuration" heading in the left nav bar.
3) Click the "Paths" tab in the top of the main page.
4) The setting description is "RRDTool Default Font Path". Put the full path to your font there (in my case, I am using the MS Windows Lucida Console path so I have /home/webmaster/.fonts/lucon.ttf).
5) Then click "Save" in the bottom right of the page and you should get a refreshed page with "[OK: FILE FOUND]" displaying under the font entry text box.

Hope this helps. I had moved the fonts to a different location and forgot to update this. After making the change, fonts are showing up in my Thold alert graphs.

Rick
sammyc53
Posts: 13
Joined: Fri Mar 21, 2008 1:55 pm

Post by sammyc53 »

Actually, the 2nd 'other' location I had to set it was on the 'Visual' tab under settings. There was 4 places I specified the font.

My graphs did not work by solely specifiying a font on the 'Paths' tab.

FYI, I used: DejaVuSansMono-Roman.ttf
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests